Bug 10076 - Makefile:4113: recipe for target 'all-gcc' failed
Summary: Makefile:4113: recipe for target 'all-gcc' failed
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2017.05.1
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-14 23:16 UTC by Paul Tomov
Modified: 2017-07-15 07:12 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Tomov 2017-07-14 23:16:19 UTC
Hi,

I got the following error when conducting a new make in Buildroot:

Makefile:4113: recipe for target 'all-gcc' failed

Please advise me how to solve this problem.

The Buildroot version is: 2107.05.01. Buildroot runs in Ubuntu VMWare box.

Thanks,

   Pavel

cho timestamp > s-codes
build/gentarget-def ../../gcc/common.md ../../gcc/config/arm/arm.md \
  insn-conditions.md > tmp-target-def.h
/bin/bash ../../gcc/../move-if-change tmp-config.h insn-config.h
/bin/bash ../../gcc/../move-if-change tmp-target-def.h insn-target-def.h
echo timestamp > s-config
build/genopinit ../../gcc/common.md ../../gcc/config/arm/arm.md \
  insn-conditions.md -htmp-opinit.h -ctmp-opinit.c
echo timestamp > s-target-def
build/genattrtab ../../gcc/common.md ../../gcc/config/arm/arm.md insn-conditions.md \
	-Atmp-attrtab.c -Dtmp-dfatab.c -Ltmp-latencytab.c
/bin/bash ../../gcc/../move-if-change tmp-opinit.h insn-opinit.h
/bin/bash ../../gcc/../move-if-change tmp-opinit.c insn-opinit.c
echo timestamp > s-opinit
build/genautomata ../../gcc/common.md ../../gcc/config/arm/arm.md \
  insn-conditions.md > tmp-automata.c
Makefile:2203: recipe for target 's-attrtab' failed
make[3]: *** [s-attrtab] Killed
make[3]: *** Waiting for unfinished jobs....
/bin/bash ../../gcc/../move-if-change tmp-automata.c insn-automata.c
echo timestamp > s-automata
rm gcc.pod
Makefile:4113: recipe for target 'all-gcc' failed
make[2]: *** [all-gcc] Error 2
package/pkg-generic.mk:227: recipe for target '/home/ptomov/buildroot/output/build/host-gcc-initial-6.4.0/.stamp_built' failed
make[1]: *** [/home/ptomov/buildroot/output/build/host-gcc-initial-6.4.0/.stamp_built] Error 2
Makefile:79: recipe for target '_all' failed
make: *** [_all] Error 2
Comment 1 Thomas Petazzoni 2017-07-15 07:12:39 UTC
The s-attrtab program is known to require a lot of memory. So in your case, your VM most likely doesn't have enough RAM, and therefore the Linux kernel running inside the VM kills the s-attrtab program because it tries to consume too much memory compared to the available memory.

You can check in /var/log/messages if you see an out of memory message from the kernel.