This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
glibc-2.1.96 does not cross-compile to sparc-linux
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: glibc-2.1.96 does not cross-compile to sparc-linux
- From: leitner at fefe dot de
- Date: 29 Oct 2000 00:46:34 -0000
>Submitter-Id: net
>Originator:
>Organization:
>Confidential: no
>Synopsis: glibc compile fails in csu
>Severity: critical
>Priority: high
>Category: libc
>Class: sw-bug
>Release: libc-2.1.96
>Environment:
Host type: sparc-unknown-linux-gnu
System: Linux hellhound 2.4.0-test9 #6 Fri Oct 6 18:15:01 CEST 2000 i686 unknown
Architecture: i686
Addons: linuxthreads
Build CFLAGS: -pipe -Os
Build CC: sparc-linux-gcc
Compiler version: 2.95.2 19991024 (release)
Kernel headers: 2.4.0-test9
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: no
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio
>Description:
make[2]: Entering directory `/fat/cross/src/glibc-2.1.96/csu'
sparc-linux-gcc ../sysdeps/unix/sysv/linux/sparc/sysdep.S -c -I../include -I. -I/fat/cross/sparc/glibc/csu -I.. -I../libio -I/fat/cross/sparc/glibc -I../sysdeps/sparc/sparc32/elf -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/sparc/sparc32 -I../linuxthreads/sysdeps/sparc -I../sysdeps/unix/sysv/linux/sparc/sparc32 -I../sysdeps/unix/sysv/linux/sparc -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/sparc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sparc/sparc32/fpu -I../sysdeps/sparc/sparc32 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/sparc/sparc32/soft-fp -I../sysdeps/sparc/fpu -I../sysdeps/sparc -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /opt/cross/lib/gcc-lib/sparc-linux/2.95.2/include -isystem /opt/cross/sparc-linux/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -DASSEMBLER -D__ASSEMBLY__ -o /fat/cross/sparc/glibc/csu/sysdep.o
../sysdeps/unix/sysv/linux/sparc/sysdep.S: Assembler messages:
../sysdeps/unix/sysv/linux/sparc/sysdep.S:30: Fatal error: Unknown opcode: `asm_global_directive __errno'
make[2]: *** [/fat/cross/sparc/glibc/csu/sysdep.o] Error 1
make[2]: Leaving directory `/fat/cross/src/glibc-2.1.96/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/fat/cross/src/glibc-2.1.96'
make: *** [install] Error 2
Mhh, I applied the diff to get glibc-2.1.96 from glibc-2.1.95, maybe the
diff was broken? This error looks like it would have been noticed...
>How-To-Repeat:
(cross-?) compile glibc for sparc-linux
>Fix: