This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: Glibc compile bombs out for arm-linux target!


Philip Blundell wrote:

>>../elf/ld-linux.so.2: undefined reference to `elf_machine_rela'
>>collect2: ld returned 1 exit status
>>
> 
> ARM GNU/Linux uses Rel, not Rela.  Can you find out where this reference is 
> coming from?
> 
> p.


This is in elf/dl-conflict.c

I've just replaced "elf_machine_rela" with "elf_machine_rel" and it works!!

I think the long-term solution would be an #ifdef...



-- 
Wai-Sun "Squidster" Chia
RHCE/Professional Services
Linux/Unix/Web Developer


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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