Opened 16 years ago

Closed 16 years ago

Last modified 2 years ago

#1874 closed defect (fixed)

ALL: Build fails on non-i386 archs if nasm is installed

Reported by: SF/toreanderson Owned by: sev-
Priority: high Component: Ports
Keywords: Cc:
Game:

Description

I suspect the build process is somewhat broken for non-i386 archs where nasm is installed. At least, the automatic .deb build for ia64 bombed out with this message:

/usr/bin/ld: common/libcommon.a(hq2x_i386.o): Relocations in generic ELF (EM: 3) common/libcommon.a: could not read symbols: File in wrong format

It's fairly easy to work around, I'll just add a Build-Conflict for nasm on all other architectures than i386. But I think it is really something the configure script should be clever enough to handle properly on its own - so if it's easy to fix it would've been nice to have it included in 0.7.1.

Tore

Ticket imported from: #1097022. Ticket imported from: bugs/1874.

Change History (6)

comment:1 by fingolfin, 16 years ago

Owner: set to sev-
Priority: normalhigh
Summary: Build fails on non-i386 archs if nasm is installedALL: Build fails on non-i386 archs if nasm is installed

comment:2 by fingolfin, 16 years ago

Eugene, I think the nasm stuff was yours?

I guess a proper fix would be to verify that the arch is IA32, somehow?

Tore, what does "./config.guess" output on a typical IA64 system?

comment:3 by sev-, 16 years ago

Resolution: fixed
Status: newclosed

comment:4 by sev-, 16 years ago

Fix is in CVS. Though, still we should switch all our nasm-related code to nasm. I mean scale2x.cpp and MT-32 emulator. Just for the sake of consistency.

comment:5 by fingolfin, 16 years ago

Please backport the fix to the 0.7.x branch, too, so we can include it in 0.7.1

comment:6 by digitall, 2 years ago

Component: Ports
Note: See TracTickets for help on using tickets.