powerpc cross compiler issue
Michael Ellerman
mpe at ellerman.id.au
Tue May 31 14:20:18 AEST 2016
On Tue, 2016-05-31 at 09:48 +1000, oliver wrote:
> On Thu, May 26, 2016 at 9:29 PM, Safa Hamza <safahamza1 at gmail.com> wrote:
> >
> > thanks for replying, I tried a powerpc cross compiler from the list you have
> > send but I always got this error
> >
> > VDSO32L arch/powerpc/kernel/vdso32/vdso32.so.dbg
> > /home/marwa/Bureau/lauterbach/powerpc/gcc-4.6.3-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/4.6.3/../../../../powerpc64-linux/bin/ld:
> > arch/powerpc/kernel/vdso32/note.o: compiled for a little endian system and
> > target is big endian
> > /home/marwa/Bureau/lauterbach/powerpc/gcc-4.6.3-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/4.6.3/../../../../powerpc64-linux/bin/ld:
> > failed to merge target specific data of file
> > arch/powerpc/kernel/vdso32/note.o
> > collect2: ld returned 1 exit status
> > make[2]: *** [arch/powerpc/kernel/vdso32/vdso32.so.dbg] Erreur 1
> > make[1]: *** [arch/powerpc/kernel/vdso32] Erreur 2
> > make: *** [arch/powerpc/kernel] Erreur 2
>
> This kind of error is usually caused by building for one endianess
> then changing endianness in the kernel configuration. The build system
> isn't smart enough to realise that it needs to recompile the VDSO when
> this happens so you'll get linker errors unless you clean the build
> directory with `make mrproper` or similar.
>
> We should probably fix that.
We should:
https://github.com/linuxppc/linux/issues/30
cheers
More information about the Linuxppc-dev
mailing list