Date: Mon, 31 Jan 2005 09:21:25 +0000 From: Alex Trull <alex@trull.org> To: Christer.Solskogen@telenor.com Cc: scummvm-devel@lists.sourceforge.net Subject: Re: FreeBSD Port: scummvm-0.7.0 (Intern) Message-ID: <20050131092125.GN837@moonbase.turandot.net> In-Reply-To: <08D2DB09963FCE4CB20E0DBC54B606FE375AA1@TNS-FBU-2E-014.corp.telenor.no> References: <08D2DB09963FCE4CB20E0DBC54B606FE375AA1@TNS-FBU-2E-014.corp.telenor.no>
next in thread | previous in thread | raw e-mail | index | archive | help
* Christer.Solskogen@telenor.com <Christer.Solskogen@telenor.com> [2005-01-28 16:17:29 +0100]: > Scummvm (fresh cvsup) fail with this: > > > c++ backends/sdl/events.o backends/sdl/graphics.o backends/sdl/sdl.o base/libbase.a scumm/libscumm.a simon/libsimon.a sky/libsky.a sword1/libsword1.a sword2/libsword2.a queen/libqueen.a gui/libgui.a graphics/libgraphics.a sound/libsound.a backends/libbackends.a common/libcommon.a backends/midi/mt32/libmt32.a -L/usr/local/lib -L/usr/local/lib -lvorbisfile -lvorbis -logg -L/usr/local/lib -lmad -L/usr/lib -lz -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -pthread -o scummvm > /usr/bin/ld: warning: i386 architecture of input file `common/libcommon.a(hq2x_i386.o)' is incompatible with i386:x86-64 output > /usr/bin/ld: warning: i386 architecture of input file `common/libcommon.a(hq3x_i386.o)' is incompatible with i386:x86-64 output > /usr/bin/ld: BFD 2.15 [FreeBSD] 2004-05-23 internal error, aborting at /usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/reloc.c line 4274 in bfd_generic_get_relocated_section_contents > > /usr/bin/ld: Please report this bug. > > gmake: *** [scummvm] Error 1 > *** Error code 2 > > # uname -a > FreeBSD funshine.carebears.net 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #0: Fri Jan 7 17:32:47 CET 2005 root@funshine.carebears.net:/usr/obj/usr/src/sys/FUNSHINE amd64 > > # gcc -v > Using built-in specs. > Configured with: FreeBSD/amd64 system compiler > Thread model: posix > gcc version 3.4.2 [FreeBSD] 20040728 > > > -- > Christer Solskogen > Kundeansvarlig > Forhandlerservice Internett, Telenor Norge > Tlf: 55 55 40 98 - Fax: 815 45 155 > Hi Christer, Thank you for the headsup. > /usr/bin/ld: warning: i386 architecture of input file `common/libcommon.a(hq2x_i386.o)' is incompatible with i386:x86-64 output > /usr/bin/ld: warning: i386 architecture of input file `common/libcommon.a(hq3x_i386.o)' is incompatible with i386:x86-64 output > /usr/bin/ld: BFD 2.15 [FreeBSD] 2004-05-23 internal error, aborting at /usr/src/gnu/usr.bin/binutils/libbfd/../../../../contrib/binutils/bfd/reloc.c line 4274 in bfd_g eneric_get_relocated_section_contents I think this is related to 32bit assembler code (hq2x_i386.asm and hq3x_i386.asm) being included, and ld being unable to handle that. I have cc'd the scummvm-devel list, but in the meantime would you be willing to rebuild with -m32 c++ flags (so it builds as a purely 32bit binary) ? I'd like to know if this helps, as the speed loss will, I expect, be negligible. I have no access to amd64 hardware of my own, so your help in this would be appreciated. in the portdir games/scummvm : set CXXFLAGS="-m32" export CXXFLAGS make clean && make Best regards, Alex Trull @ alex@trull.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050131092125.GN837>