openbmc build err "internal compiler error'

Mark Brown mkbrown32 at hotmail.com
Fri Jun 1 03:36:43 AEST 2018


What was the earlier VM Memory size and what is the current VM Memory size ?

________________________________________
From: openbmc <openbmc-bounces+mkbrown32=hotmail.com at lists.ozlabs.org> on behalf of Lakesh.Sharma at dell.com <Lakesh.Sharma at dell.com>
Sent: Thursday, May 31, 2018 10:12 AM
To: mine260309 at gmail.com
Cc: openbmc at lists.ozlabs.org
Subject: RE: openbmc build err "internal compiler error'


Thanks, I increased the memory of VM, and after that it seems to progress ok. I see  zImage, fitImage and few other binaries in images folder.
However I also saw following err message in build log. Could it be due uboot archive was not available or it could not download it ?
Should I attempt rebuild, and if see same err then probably put uboot archive manually in build/download, if so which ver ?

| dd: failed to open ?/home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/deploy/images/evb-ast2500/u-boot.bin?: No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_generate_static (log file is located at /home/lsharma/open_bmc_evb/ws/openbmc/build/tmp/work/evb_ast2500-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/temp/log.do_generate_static.29415)
ERROR: Task (/home/lsharma/open_bmc_evb/ws/openbmc/meta-phosphor/common/recipes-phosphor/images/obmc-phosphor-image.bb:do_generate_static) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3396 tasks of which 2082 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/images/obmc-phosphor-image.bb:do_generate_static
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


-----Original Message-----
From: Lei YU [mailto:mine260309 at gmail.com]
Sent: Thursday, May 24, 2018 6:42 PM
To: Sharma, Lakesh
Cc: OpenBMC Maillist
Subject: Re: openbmc build err "internal compiler error'

On Fri, May 25, 2018 at 12:55 AM,  <Lakesh.Sharma at dell.com> wrote:
> I am seeing following build err.
>
> “arm-openbmc-linux-gnueabi-g++: internal compiler error: Killed
> (program cc1plus)”
>

I guess g++ is killed due to using too much memory, maybe you can check your system log to see if there is any oom.
It is known issue that building phosphor-host-ipmid (more precisely, the generated sensor-gen.cpp) consumes too much memory.

Possibly increase the RAM for your VM, e.g. my 16GiB VM is fine.


More information about the openbmc mailing list