[Fwd: Re: can't handle reloc type 0x6]

Chris Down chris at alcor.co.uk
Mon Dec 5 18:40:19 UTC 2005


Peter S. Mazinger wrote:
> On Mon, 5 Dec 2005, Marc Leeman wrote:
> 
>>> I have completely rebuilt the toolchain and busybox using gcc 3.4.4 and
>>>  get exactly the same result ???
>>>
>>> VFS: Mounted root (nfs filesystem).
>>> Freeing unused kernel memory: 92k init
>>>
>>> /sbin/init: symbol '': can't handle reloc type 0x6 in lib '/lib/libm.so.0'
>>> Kernel panic - not syncing: Attempted to kill init!
>>>  <0>Rebooting in 180 seconds..
>> Aha, I was just looking into this problem; so other ppl are confronted
>> with this too :-/
>>
>> Though I can get my systems booted, I get this when using -lm when
>> compiling.
>>
>> powerpc with gcc 4.0.3
> 
> powerpc has arch optimized math routines. Could one of you test that it 
> happens also if you rename libm/powerpc directory and rebuild libm (maybe 
> busybox too) so that you use the generic versions ?
> 
> Peter
> 
Peter
I have rebuilt uClibc and busybox using the generic libm routines and 
the problem disappears. It looks like it is somewhere in the powerpc 
optimized maths routines. I will have a look at this tomorrow.

Chris



More information about the uClibc mailing list