public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/158] New: Assembler symbol resolution error into crti.S file when cross-compiling glibc for ARM
@ 2004-05-13 13:09 r1 at wanadoo dot fr
  2004-08-09  7:30 ` [Bug libc/158] " drepper at redhat dot com
  0 siblings, 1 reply; 3+ messages in thread
From: r1 at wanadoo dot fr @ 2004-05-13 13:09 UTC (permalink / raw)
  To: glibc-bugs

Hello,

I have a cross-compiling error when I try to compile glibc for MX1 ARM 
(Motorola) target.

Here my configuration:

1) the little cross-compiler (its purpose is to compile libc for target):

arm-mx1ads-linux-gcc -v

Reading specs from /local/erbr01/cross-compiler/build/gcc1/lib/gcc/arm-mx1ads-
linux/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/local/erbr01/cross-
compiler/build/gcc1 --target=arm-mx1ads-linux --with-local-
prefix=/local/erbr01/cross-compiler/build/gcc1 --disable-threads --with-gnu-as -
-with-gnu-ld --with-as=/local/erbr01/cross-compiler/toolchain/bin2.14-gcc3.4.0-
glibc2.3.2/bin/arm-mx1ads-linux-as --with-ld=/local/erbr01/cross-
compiler/toolchain/bin2.14-gcc3.4.0-glibc2.3.2/bin/arm-mx1ads-linux-ld --
disable-shared --with-headers=/local/erbr01/cross-compiler/build/linux-
headers/include --enable-languages=c
Thread model: single
gcc version 3.4.0

2) the host:

Linux gemini 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown

3) Tools:

binutils 2.14
gcc 3.4.0
glibc 2.3.2
glic-threads 2.3.2
kernel headers for MX1 2.4.18

4) glibc flags to compile:

../glibc-2.3.2/configure --prefix=$lc_prefix --enable-shared --enable-add-ons --
enable-kernel=2.4.18 --build=i686-linux --host=arm-mx1ads-linux --with-
headers=$sbx_prefix/linux-headers/include && make && make install


5) The error:


arm-mx1ads-linux-gcc /local/erbr01/cross-compiler/build/glibc-build/csu/crti.S -
c  -I../include -I. -I/local/erbr01/cros
s-compiler/build/glibc-build/csu -I.. -I../libio  -I/local/erbr01/cross-
compiler/build/glibc-build -I../sysdeps/arm/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/arm -
I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthrea
d -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/uni
x/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -
I../sysdeps/unix -I../sysdeps/posix -I../sys
deps/arm/fpu -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-
32 -I../sysdeps/ieee754/dbl-64 -I../sysd
eps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -
isystem /local/erbr01/cross-compiler/build/gcc1/li
b/gcc/arm-mx1ads-linux/3.4.0/include -isystem /local/erbr01/cross-
compiler/build/linux-headers/include -D_LIBC_REENTRANT
 -include ../include/libc-symbols.h       -DHAVE_INITFINI -DASSEMBLER  -
I/local/erbr01/cross-compiler/build/glibc-build/
csu/.  -g0  -o /local/erbr01/cross-compiler/build/glibc-build/csu/crti.o
/local/erbr01/cross-compiler/build/glibc-build/csu/crti.S: Assembler messages:
/local/erbr01/cross-compiler/build/glibc-build/csu/crti.S:96: Error: can't 
resolve `_GLOBAL_OFFSET_TABLE_' {*UND* sectio
n} - `.L7' {.text section}
/local/erbr01/cross-compiler/build/glibc-build/csu/crti.S:61: Error: 
internal_relocation (type: OFFSET_IMM) not fixed up
/local/erbr01/cross-compiler/build/glibc-build/csu/crti.S:62: Error: 
internal_relocation (type: OFFSET_IMM) not fixed up
/local/erbr01/cross-compiler/build/glibc-build/csu/crti.S:63: Error: 
internal_relocation (type: OFFSET_IMM) not fixed up
/local/erbr01/cross-compiler/build/glibc-build/csu/crti.S:64: Error: 
internal_relocation (type: OFFSET_IMM) not fixed up
make[2]: *** [/local/erbr01/cross-compiler/build/glibc-build/csu/crti.o] Error 1
make[2]: Leaving directory `/local/erbr01/cross-compiler/build/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/local/erbr01/cross-compiler/build/glibc-2.3.2'
make: *** [all] Error 2

If someone can explain to me the source of this problem or give me the 
solution...

Thanks.

-- 
           Summary: Assembler symbol resolution error into crti.S file when
                    cross-compiling glibc for ARM
           Product: glibc
           Version: 2.3.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: r1 at wanadoo dot fr
        ReportedBy: r1 at wanadoo dot fr
                CC: glibc-bugs at sources dot redhat dot com
  GCC host triplet: i686 / gcc 3.2.2 / binutils 2.13.2.1 / libc 2.2.4
GCC target triplet: arm-mx1ads-linux / gcc 3.4.0 / binutils 2.14 / libc
                    2.3.2


http://sources.redhat.com/bugzilla/show_bug.cgi?id=158

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/158] Assembler symbol resolution error into crti.S file when cross-compiling glibc for ARM
  2004-05-13 13:09 [Bug libc/158] New: Assembler symbol resolution error into crti.S file when cross-compiling glibc for ARM r1 at wanadoo dot fr
@ 2004-08-09  7:30 ` drepper at redhat dot com
  0 siblings, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2004-08-09  7:30 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2004-08-09 07:30 -------
Cross-compiling is not officially supported.   Each and every problem is of your
own making and you have to solve it yourself.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


http://sources.redhat.com/bugzilla/show_bug.cgi?id=158

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/158] Assembler symbol resolution error into crti.S file when cross-compiling glibc for ARM
       [not found] <bug-158-131@http.sourceware.org/bugzilla/>
@ 2014-05-26  8:35 ` 2947868523 at qq dot com
  0 siblings, 0 replies; 3+ messages in thread
From: 2947868523 at qq dot com @ 2014-05-26  8:35 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=158

Chenyuan.Liu <2947868523 at qq dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |2947868523 at qq dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-26  8:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-13 13:09 [Bug libc/158] New: Assembler symbol resolution error into crti.S file when cross-compiling glibc for ARM r1 at wanadoo dot fr
2004-08-09  7:30 ` [Bug libc/158] " drepper at redhat dot com
     [not found] <bug-158-131@http.sourceware.org/bugzilla/>
2014-05-26  8:35 ` 2947868523 at qq dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).