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: 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


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