internal_relocation (type: OFFSET_IMM) not fixed up

Rowan Potgieter baldo.forum@gmail.com
Sat Aug 12 14:58:00 GMT 2006


sigh... its me again - I must've seen almost every error possible
while building a toolchain and compiling a kernel! well this is the
latest:

sed -n -e '/@TESTS_BEGIN/,/@TESTS_END/p'
/home/satvika/stareast/snapgear/snapgear/glibc/build/csu/initfini.s |
\
        gawk -f defs.awk >
/home/satvika/stareast/snapgear/snapgear/glibc/build/csu/defs.h
arm-linux-gcc -mbig-endian
/home/satvika/stareast/snapgear/snapgear/glibc/build/csu/crti.S -c
-I../include -I.
-I/home/satvika/stareast/snapgear/snapgear/glibc/build/csu -I..
-I../libio  -I/home/satvika/stareast/snapgear/snapgear/glibc/build
-I../sysdeps/arm/elf -I../linuxthreads/sysdeps/unix/sysv/linux/arm
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/arm -I../sysdeps/unix/sysv/linux/arm
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/arm/fpu -I../sysdeps/arm -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-nostdinc -isystem
/opt/crosstool/be/gcc-3.4.4-glibc-2.3.3/armeb-linux/lib/gcc/armeb-linux/3.4.4/include
-isystem /home/satvika/stareast/snapgear/snapgear/linux-2.4.x/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h
-DHAVE_INITFINI -DASSEMBLER
-I/home/satvika/stareast/snapgear/snapgear/glibc/build/csu/.    -g0
-o /home/satvika/stareast/snapgear/snapgear/glibc/build/csu/crti.o
/home/satvika/stareast/snapgear/snapgear/glibc/build/csu/crti.S:
Assembler messages:
/home/satvika/stareast/snapgear/snapgear/glibc/build/csu/crti.S:96:
Error: can't resolve `_GLOBAL_OFFSET_TABLE_' {*UND* section} - `.L7'
{.text section}
/home/satvika/stareast/snapgear/snapgear/glibc/build/csu/crti.S:61:
Error: internal_relocation (type: OFFSET_IMM) not fixed up
/home/satvika/stareast/snapgear/snapgear/glibc/build/csu/crti.S:62:
Error: internal_relocation (type: OFFSET_IMM) not fixed up
/home/satvika/stareast/snapgear/snapgear/glibc/build/csu/crti.S:63:
Error: internal_relocation (type: OFFSET_IMM) not fixed up
/home/satvika/stareast/snapgear/snapgear/glibc/build/csu/crti.S:64:
Error: internal_relocation (type: OFFSET_IMM) not fixed up
make[4]: *** [/home/satvika/stareast/snapgear/snapgear/glibc/build/csu/crti.o]
Error 1
make[4]: Leaving directory `/home/satvika/stareast/snapgear/snapgear/glibc/csu'
make[3]: *** [csu/subdir_lib] Error 2
make[3]: Leaving directory `/home/satvika/stareast/snapgear/snapgear/glibc'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/satvika/stareast/snapgear/snapgear/glibc/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/satvika/stareast/snapgear/snapgear/lib'
make: *** [subdirs] Error 1

I did some searching on google but couldnt seem to find a solution.
Although it seems possible that the assembler file was built badly
from comments I found on other mailing lists
Can anybody help? Thank you
-- 
--------------------------------------------------------------------------------------------------------------------------------------------
 When you say 'I wrote a program that crashed Windows', people just
stare at you blankly and say 'Hey, I got those with the system, *for
free*'. (L. Torvalds)
--------------------------------------------------------------------------------------------------------------------------------------------

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list