[uClibc]m68k-elf-flt relocation truncated to fit .. (5272)

Brad Clements bkc at murkworks.com
Sun Jan 19 22:39:35 UTC 2003


Hi folks, (sorry to cross post)

I almost have Python 2.3 compiled for m68-elf (Arcturus uCsimm 5272).

I'm hand-running the link stage to be sure I get all the correct libs.

My compile time options are:

gcc -c  -DNDEBUG -g -O0 -Wall -Wstrict-prototypes  -msep-data  -m5200 -I.  \
-I/usr/local/src/python-cvs/python/dist/src/Include  -DPy_BUILD_CORE  \
-o Modules/python.o /usr/local/src/python-cvs/python/dist/src/Modules/python.c


Note that I'm using the uClibc 'gcc wrapper', so it's really calling:

/var/local/src/m68k-linux-uclibc/usr/bin/gcc

Does anyone have any idea how to fix the relocation problem during the link stage? 
Thanks for any tips


I get this while linking:

m68k-elf-ld -elf2flt -o /tmp/python -L/var/local/src/uClibc-0.9.16/lib  \
/var/local/src/uClibc-0.9.16/lib/crt0.o Modules/python.o libpython2.3.a -lpthread \
 -lutil -lm -lc /usr/local/lib/gcc-lib/m68k-elf/2.95.3/m5200/msep-data/libgcc.a 

/tmp/python.elf2flt: In function `PyMember_SetOne':
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 __libc_write
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 _exit
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 __libc_write
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 __libc_write
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 sigfillset
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 sigdelset
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 sigdelset
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 sigprocmask
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 __libc_read
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 fprintf
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 poll
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 getppid
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 _exit
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 __libc_read
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 fprintf
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 getpid
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 sigprocmask
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 sched_setscheduler
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 __libc_write
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 getpid
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 malloc
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 memset
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 getpagesize
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 geteuid
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 memcpy
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 sched_getscheduler
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 sched_getparam
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 memcpy
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 clone
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 clone
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 free
/usr/local/src/python-cvs/python/dist/src/Python/structmember.c:276: relocation truncated to fit: R_68K_PLT16 fprintf

<snip>


-- 
Brad Clements,                bkc at murkworks.com   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
http://www.wecanstopspam.org/                   AOL-IM: BKClements




More information about the uClibc mailing list