This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
re: glibc build error with gcc-4.0 for target arm
- From: Dan Kegel <dank at kegel dot com>
- To: GNU C Library <libc-alpha at sources dot redhat dot com>, Lior Balkohen <balkohen at gmail dot com>
- Date: Thu, 12 May 2005 16:55:48 -0700
- Subject: re: glibc build error with gcc-4.0 for target arm
Lior Balkohen <balkohen@gmail.com> wrote:
I'm trying to cross-compile glibc (development source tree, cvs
checkout of today)
for the arm-linux target from ix86-linux with
[GNU Binutils-2.16.90.0.2, GCC-4.0.0]
...
dl-reloc.c: In function '_dl_relocate_object':
dynamic-link.h:55: error: nested function 'elf_machine_lazy_rel' declared but never defined
dynamic-link.h:50: error: nested function 'elf_machine_rela_relative' declared but never defined
dynamic-link.h:47: error: nested function 'elf_machine_rela' declared but never defined
dynamic-link.h:41: error: nested function 'elf_machine_rel_relative' declared but never defined
dynamic-link.h:38: error: nested function 'elf_machine_rel' declared but never defined
See
http://kegel.com/crosstool/current/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-elf.patch
That might not be the real way to fix it
(and it might not even apply to mainline),
but it has links to some prior discussion.
- Dan
--
Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html