This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Cross-compiling glibc for arm-linux
- From: Andreas Jaeger <aj at suse dot de>
- To: "David Müller (ELSOFT AG)" <d dot mueller at elsoft dot ch>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 24 May 2002 18:01:21 +0200
- Subject: Re: Cross-compiling glibc for arm-linux
- References: <3CEE5B2E.40407@elsoft.ch>
"David Müller (ELSOFT AG)" <d.mueller@elsoft.ch> writes:
> Hello
>
> I've tried to cross-compile glibc-2.2.5 for the arm-linux target
> from ix86-linux using binutils 2.12.1 and gcc 3.1, but if failed with:
>
>
> /home/toolchain/build-glibc-2.2.5-arm/libc.so.6: undefined reference
> to `_Unwind_Find_FDE'
> /home/toolchain/build-glibc-2.2.5-arm/libc.so.6: undefined reference
> to `size_of_encoded_value'
> /home/toolchain/build-glibc-2.2.5-arm/libc.so.6: undefined reference
> to `read_encoded_value_with_base'
> collect2: ld returned 1 exit status
> make[2]: *** [/home/toolchain/build-glibc-2.2.5-arm/iconv/iconvconfig]
> Error 1
> make[2]: Leaving directory `/home/toolchain/glibc-2.2.5/iconv'
> make[1]: *** [iconv/others] Error 2
> make[1]: Leaving directory `/home/toolchain/glibc-2.2.5'
> make: *** [all] Error 2
>
>
> Was anybody yet able to successfully build this particular
> configuration or is this known to be not working?
It's a known problem that is fixed with this patch in CVS already:
2002-01-23 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
* sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
Set for arm, too.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj