This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross-compiling glibc for arm-linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]