[Buildroot] Unable to compile current master

Mark Jackson mpfj-list at newflow.co.uk
Tue Jul 4 10:37:42 UTC 2017


On 03/07/17 16:57, Arnout Vandecappelle wrote:
> 
> 
> On 03-07-17 17:14, Mark Jackson wrote:
>> I'm trying to bring an old 2012 buildroot project up-to-date, so to test my current setup I've branched the git master and tried:-
>>
>> $ git checkout origin/master -b master
>> $ git reset --hard origin/master
>> $ make clean
>> $ make beaglebone_defconfig
>> $ make
>>
>> But this fails when compiling gcc with the following:-
>>
>> ...
>> /usr/bin/g++ -fno-PIE -c   -O2 -I/home/mpfj/buildroot/output/host/usr/include -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I/home/mpfj/buildroot/output/host/usr/include -I/home/mpfj/buildroot/output/host/usr/include -I/home/mpfj/buildroot/output/host/usr/include  -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace   -o insn-extract.o -MT insn-extract.o -MMD -MP -MF ./.deps/insn-extract.TPo insn-extract.c
>> Makefile:2201: recipe for target 's-attrtab' failed
> 
>   Apparently genattrtab failed but I can't find any output.
> 
>   Can you continue the build with BR2_JLEVEL=1 ? That should make any error
> message easier to locate.
> 

Okay ... with JLEVEL=1 (rather than 0 (auto)), it compiles !!

So it must be some strange parallel compilation bug ...


More information about the buildroot mailing list