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: "David Müller (ELSOFT AG)"<d dot mueller at elsoft dot ch>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sat, 25 May 2002 10:05:42 +0200
- Subject: Re: Cross-compiling glibc for arm-linux
- Organization: ELSOFT AG
- References: <3CEE5B2E.40407@elsoft.ch> <u81yc1tu0e.fsf@gromit.moeb>
Andreas Jaeger schrieb:
> "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.
>
>
Oh, i havn't seen this one.
Nevertheless i have tried the latest CVS sources also, but it failes
even earlier in the build process :-(
../sysdeps/arm/dl-machine.h:263:25: warning: multi-line string literals
are deprecated
In file included from dynamic-link.h:21,
from dl-reloc.c:162:
../sysdeps/arm/dl-machine.h: In function `elf_machine_rel':
../sysdeps/arm/dl-machine.h:428: `_dl_rtld_map' undeclared (first use in
this function)
../sysdeps/arm/dl-machine.h:428: (Each undeclared identifier is reported
only once
../sysdeps/arm/dl-machine.h:428: for each function it appears in.)
../sysdeps/arm/dl-machine.h: In function `elf_machine_rela':
../sysdeps/arm/dl-machine.h:544: warning: unused variable `refsym'
make[2]: *** [/home/toolchain/build-glibc-arm/elf/dl-reloc.os] Error 1
make[2]: Leaving directory `/home/toolchain/glibc-cvs/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/home/toolchain/glibc-cvs'
make: *** [all] Error 2
Dave