This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: cross compiling does not work
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Felix von Leitner <leitner at fefe dot de>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sat, 12 Oct 2002 15:21:21 -0400
- Subject: Re: cross compiling does not work
- References: <20021012191816.GA14681@codeblau.de>
On Sat, Oct 12, 2002 at 09:18:16PM +0200, Felix von Leitner wrote:
> >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
Don't use --target=, use --host=.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer