This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
cross compiling does not work
- From: Felix von Leitner <leitner at fefe dot de>
- To: libc-alpha at sources dot redhat dot com
- Date: Sat, 12 Oct 2002 21:18:16 +0200
- Subject: cross compiling does not work
>Submitter-Id: net
>Originator: Felix von Leitner
>Organization:
>Confidential: no
>Synopsis: cross compiling fails
>Severity: critical
>Priority: high
>Category: libc
>Class: sw-bug
>Release: libc-2.3
>Environment:
Host type: i686-pc-linux-gnulibc1
System: Linux beholder 2.4.19 i686 unknown unknown GNU/Linux
Architecture: i686
Addons: linuxthreads
Build CFLAGS: -pipe -Os
Build CC: alpha-linux-gcc
Compiler version: 3.2
Kernel headers: 2.4.19
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
>Description:
configure merges the i386 sysdeps and not the alpha sysdeps and
then yields tons of regparm warnings and fails after a few
seconds with compile errors.
>How-To-Repeat:
CC="alpha-linux-gcc" ../glibc-2.3/configure --prefix=/opt/cross/alpha-linux --target=alpha-linux --disable-static --disable-profile --enable-add-ons
make
>Fix: