-
Martin Jansa authored
* fixes build with binutils-2.23 and maybe also segfaults when firefox was built with gold enabled 2.22 | g++ -o elfhack -isystem/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -fpermissive -L/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -L/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath-link,/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-O1 host_elf.o host_elfhack.o | arm-oe-linux-gnueabi-g++ -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 --sysroot=/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/nokia900 -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Os -fsigned-char -fno-strict-aliasing -fpermissive -fvisibility-inlines-hidden -fno-strict-aliasing -std=gnu++0x -pthread -ffunction-sections -fdata-sections -pipe -fexceptions -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,test.so -o test.so -lpthread -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--icf=safe -Wl,-rpath-link,/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/firefox-10.0.2-r2/mozilla-release/dist/bin -Wl,-rpath-link,/usr/lib test.o | === | === If you get failures below, please file a bug describing the error | === and your environment (compiler and linker versions), and use | === --disable-elf-hack until this is fixed. | === | /var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/firefox-10.0.2-r2/mozilla-release/build/unix/elfhack/elfhack -b test.so | test.so: terminate called after throwing an instance of 'std::runtime_error' | what(): Unsupported relocation type | make[7]: *** [test.so] Aborted (core dumped) | make[7]: Leaving directory `/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/firefox-10.0.2-r2/mozilla-release/build/unix/elfhack' Signed-off-by:
Martin Jansa <Martin.Jansa@gmail.com>
5d176cb4