On Thu, May 26, 2016 at 9:29 PM, Safa Hamza <safaham...@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.
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to