What steps will reproduce the problem?
1. trying to compile current SVN trunk with 32-bit SuSE SLES-10 which fails to
link:
gcc main.o elfload.o alu.o decode.o codeenv.o -Wl,-Ttext -Wl,90000000
-Wl,-Tbss -Wl,A0000000 -Wl,-Tdata -Wl,B0000000 -Wl,-Map -Wl,arm.map -o arm
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: arm: Not
enough room for program headers (allocated 8, need 11)
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: final
link failed: Bad value
collect2: ld returned 1 exit status
make: *** [exec] Error 1
did search for this issue, and found this post:
http://www.groupsrv.com/linux/about17725.html
followed this reciepe, and indeed can then link successfully, but when I try to
start an Android binary it fails with:
Intersecting segments found in ELF. Unsupported!
arm: elfload.c:504: compareSegments: Assertion `0' failed.
Aborted
is this because Android doesnt link against the usual ld-linux.so.2 but instead
uses its own thingy = /bin/linker ?
Or is the above metioned fix to linking wrong?
Original issue reported on code.google.com by 0x1...@googlemail.com on 14 Jun 2012 at 11:55
Original issue reported on code.google.com by
0x1...@googlemail.com
on 14 Jun 2012 at 11:55