Bug#550349: irrlicht - FTBFS: relocation truncated to fit
Christoph Egger
debian at christoph-egger.org
Fri Oct 9 18:44:20 UTC 2009
tag 550349 pending
kthxbye
Bastian Blank schrieb:
> Source: irrlicht
> Version: 1.5+dfsg1-1
> Severity: serious
>
> There was an error while trying to autobuild your package:
>
>> sbuild (Debian sbuild) 0.58.2 (31 Jul 2009) on debian-31.osdl.marist.edu
> [...]
>> g++ -g -O2 -Wall -pipe -g -D_DEBUG -fpic -I../../include -I/usr/X11R6/include -DIRRLICHT_EXPORTS=1 -c -o CGUISpriteBank.o CGUISpriteBank.cpp
> [...]
>> CBSPMeshFileLoader.o: In function `IMeshLoader':
>> /build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht/../../include/IMeshLoader.h:26: relocation truncated to fit: R_390_GOT12 against symbol `VTT for irr::scene::CBSPMeshFileLoader' defined in .data.rel.ro._ZTTN3irr5scene18CBSPMeshFileLoaderE[vtable for irr::scene::CBSPMeshFileLoader] section in CBSPMeshFileLoader.o
>> CBSPMeshFileLoader.o: In function `CBSPMeshFileLoader':
>> /build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht/CBSPMeshFileLoader.cpp:19: relocation truncated to fit: R_390_GOT12 against symbol `vtable for irr::scene::CBSPMeshFileLoader' defined in .data.rel.ro._ZTVN3irr5scene18CBSPMeshFileLoaderE[vtable for irr::scene::CBSPMeshFileLoader] section in CBSPMeshFileLoader.o
>> CBSPMeshFileLoader.o: In function `irrAllocator':
>> /build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht/../../include/irrAllocator.h:25: relocation truncated to fit: R_390_GOT12 against symbol `vtable for irr::core::irrAllocator<char>' defined in .data.rel.ro._ZTVN3irr4core12irrAllocatorIcEE[vtable for irr::core::irrAllocator<char>] section in CBSPMeshFileLoader.o
>> CBSPMeshFileLoader.o: In function `__static_initialization_and_destruction_0':
>> /build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht/../../include/IQ3Shader.h:21: relocation truncated to fit: R_390_GOT12 against symbol `__dso_handle' defined in .data.rel section in /usr/lib/gcc/s390-linux-gnu/4.3.4/crtbeginS.o
>> /build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht/../../include/IQ3Shader.h:21: relocation truncated to fit: R_390_GOT12 against symbol `irr::core::string<char, irr::core::irrAllocator<char> >::~string()' defined in .text._ZN3irr4core6stringIcNS0_12irrAllocatorIcEEED1Ev[irr::core::string<char, irr::core::irrAllocator<char> >::~string()] section in CBSPMeshFileLoader.o
>> CBSPMeshFileLoader.o: In function `~CBSPMeshFileLoader':
>> /build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht/CBSPMeshFileLoader.cpp:32: relocation truncated to fit: R_390_GOT12 against symbol `vtable for irr::scene::CBSPMeshFileLoader' defined in .data.rel.ro._ZTVN3irr5scene18CBSPMeshFileLoaderE[vtable for irr::scene::CBSPMeshFileLoader] section in CBSPMeshFileLoader.o
>> CBSPMeshFileLoader.o: In function `~IMeshLoader':
>> /build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht/../../include/IMeshLoader.h:30: relocation truncated to fit: R_390_GOT12 against symbol `VTT for irr::scene::CBSPMeshFileLoader' defined in .data.rel.ro._ZTTN3irr5scene18CBSPMeshFileLoaderE[vtable for irr::scene::CBSPMeshFileLoader] section in CBSPMeshFileLoader.o
>> CBSPMeshFileLoader.o: In function `~IReferenceCounted':
>> /build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht/../../include/IReferenceCounted.h:53: relocation truncated to fit: R_390_GOT12 against symbol `vtable for irr::IReferenceCounted' defined in .data.rel.ro._ZTVN3irr17IReferenceCountedE[vtable for irr::IReferenceCounted] section in CBSPMeshFileLoader.o
>> CBSPMeshFileLoader.o: In function `~IMeshLoader':
>> /build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht/../../include/IMeshLoader.h:30: relocation truncated to fit: R_390_GOT12 against symbol `VTT for irr::scene::CBSPMeshFileLoader' defined in .data.rel.ro._ZTTN3irr5scene18CBSPMeshFileLoaderE[vtable for irr::scene::CBSPMeshFileLoader] section in CBSPMeshFileLoader.o
>> CBSPMeshFileLoader.o: In function `~IReferenceCounted':
>> /build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht/../../include/IReferenceCounted.h:53: relocation truncated to fit: R_390_GOT12 against symbol `vtable for irr::IReferenceCounted' defined in .data.rel.ro._ZTVN3irr17IReferenceCountedE[vtable for irr::IReferenceCounted] section in CBSPMeshFileLoader.o
>> CBSPMeshFileLoader.o: In function `~CBSPMeshFileLoader':
>> /build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht/CBSPMeshFileLoader.cpp:32: additional relocation overflows omitted from the output
>> collect2: ld returned 1 exit status
>> make[1]: *** [sharedlib] Error 1
>> make[1]: Leaving directory `/build/buildd-irrlicht_1.5+dfsg1-1-s390-u5dYqk/irrlicht-1.5+dfsg1/source/Irrlicht'
>> make: *** [build-lib-sharedlib] Error 2
>
> This looks like you want to use -fPIC instead of -fpic.
Hi!
This problem also effects sparc after fixing the current problem (sparc
being interpreted as solaris ...) and can indeed be fixed there (sparc)
with s/pic/PIC/. A fixed version is just waiting for some tests
regarding the probably messed up Endian detection (I need to create some
usefull test and send it to some PPC/sparc/... owner)
Regards
Christoph
--
/"\ ASCII Ribbon : GPG-Key ID: 0xD49AE731
\ / Campaign : CaCert Assurer
X against HTML : Debian Maintainer
/ \ in eMails : http://www.debian.org/
http://www.christoph-egger.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20091009/8ad2b814/attachment.pgp>
More information about the Pkg-games-devel
mailing list