[Buildroot] PowerPC64 toolchain not building

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jan 24 20:36:07 UTC 2016


Hello,

On Sun, 24 Jan 2016 20:12:37 +0100, Waldemar Brodkorb wrote:

> Could you provide a config and full log? I couldn't reproduce it here.

Sure.

Here is an example:

BR2_powerpc64=y
BR2_powerpc_power8=y
BR2_BINUTILS_VERSION_2_25_X=y
BR2_GCC_VERSION_5_X=y

(but it also failed with binutils 2.24 and gcc 4.9). Maybe the
BR2_powerpc_power8=y part is the important part, I don't know.

The log looks like this:

libtool: compile:  /home/test/outputs/ppc64/build/host-gcc-final-5.3.0/build/./gcc/xgcc -B/home/test/outputs/ppc64/build/host-gcc-final-5.3.0/build/./gcc/ -B/home/test/outputs/ppc64/host
/usr/powerpc64-buildroot-linux-gnu/bin/ -B/home/test/outputs/ppc64/host/usr/powerpc64-buildroot-linux-gnu/lib/ -isystem /home/test/outputs/ppc64/host/usr/powerpc64-buildroot-linux-gnu/in
clude -isystem /home/test/outputs/ppc64/host/usr/powerpc64-buildroot-linux-gnu/sys-include -DHAVE_CONFIG_H -I../../../libatomic/config/powerpc -I../../../libatomic/config/posix -I../../.
./libatomic -I. -Wall -Werror -pthread -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -MT exch_16_.lo -MD -MP -MF .deps/exch_16_.lo.Ppo -DN=16 -c ../../../libatomic
/exch_n.c  -fPIC -DPIC -o .libs/exch_16_.o
[...]
/tmp/ccQDkG0a.s: Assembler messages:
/tmp/ccQDkG0a.s:19: Error: operand out of domain (7 is not a multiple of 2)
make[6]: *** [exch_16_.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
[...]
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-target-libatomic] Error 2
make[2]: *** [all] Error 2
make[1]: *** [/home/test/outputs/ppc64/build/host-gcc-final-5.3.0/.stamp_built] Error 2
make: *** [_all] Error 2

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list