openbmc build err "internal compiler error'

Lakesh.Sharma at dell.com Lakesh.Sharma at dell.com
Fri May 25 02:55:53 AEST 2018


I am seeing following build err.
"arm-openbmc-linux-gnueabi-g++: internal compiler error: Killed (program cc1plus)"
More logs shown below.
I am using Ubuntu 14.04 based VM. Could it be an issue, do I have to use actual stand-alone linux host.

Steps followed:
export TEMPLATECONF=meta-openbmc-machines/meta-evb/meta-evb-aspeed/meta-evb-ast2500/conf
. openbmc-env
bitbake obmc-phosphor-imag


Build err log:

NOTE: Executing RunQueue Tasks
WARNING: nspr-native-4.16-r0 do_fetch: Failed to fetch URL http://ftp.mozilla.org/pub/nspr/releases/v4.16/src/nspr-4.16.tar.gz, attempting MIRRORS if available
WARNING: nss-native-3.31.1-r0 do_fetch: Failed to fetch URL http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_31_1_RTM/src/nss-3.31.1.tar.gz, attempting MIRRORS if available
WARNING: shadow-4.2.1-r0 do_fetch: Failed to fetch URL http://pkg-shadow.alioth.debian.org/releases/shadow-4.2.1.tar.xz, attempting MIRRORS if available
WARNING: libpng-native-1.6.31-r0 do_fetch: Failed to fetch URL http://downloads.sourceforge.net/project/libpng/libpng16/1.6.31/libpng-1.6.31.tar.xz, attempting MIRRORS if available
WARNING: coreutils-8.27-r0 do_fetch: Failed to fetch URL http://distfiles.gentoo.org/distfiles/coreutils-8.27-man.tar.xz;name=manpages, attempting MIRRORS if available
ERROR: phosphor-ipmi-host-1.0-r1 do_compile: oe_runmake failed
ERROR: phosphor-ipmi-host-1.0-r1 do_compile: Function failed: do_compile (log file is located at /home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1/temp/log.do_compile.1444)
ERROR: Logfile of failure stored in: /home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1/temp/log.do_compile.1444
Log data follows:

....

| arm-openbmc-linux-gnueabi-libtool: compile:  arm-openbmc-linux-gnueabi-g++ -march=armv6 -marm -mtune=arm1176jz-s --sysroot=/home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1/recipe-sysroot -DHAVE_CONFIG_H -I. -I../git -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1=/usr/src/debug/phosphor-ipmi-host/1.0-r1 -fdebug-prefix-map=/home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1/recipe-sysroot-native= -fdebug-prefix-map=/home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1/recipe-sysroot= -fvisibility-inlines-hidden -Wall -Werror -c sensor-gen.cpp  -fPIC -DPIC -o .libs/libapphandler_la-sensor-gen.o
| arm-openbmc-linux-gnueabi-g++: internal compiler error: Killed (program cc1plus)
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <https://gcc.gnu.org/bugs/> for instructions.
| make[2]: *** [libapphandler_la-sensor-gen.lo] Error 1
| make[2]: Leaving directory `/home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1/build'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1/temp/log.do_compile.1444)
ERROR: Task (/home/lsharma/open_bmc_evb/ws/openbmc/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2071 tasks of which 6 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/lsharma/open_bmc_evb/ws/openbmc/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host.bb:do_compile
Summary: There were 5 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.




Log file openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1/temp/log.do_compile.1444 shows following err.

arm-openbmc-linux-gnueabi-g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
make[2]: *** [libapphandler_la-sensor-gen.lo] Error 1
make[2]: Leaving directory `/home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/phosphor-ipmi-host/1.0-r1/build'
make: *** [all] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180524/bdec4929/attachment.html>


More information about the openbmc mailing list