OpenBMC compile failed issue(urgency)
Patrick Williams
patrick at stwcx.xyz
Thu Aug 11 04:27:11 AEST 2022
On Tue, Aug 09, 2022 at 04:59:30PM +0800, Roy Zhang wrote:
> Hello,
>
>
> when i compile the openbmc image for "evb-ast2600", it compiled failed as below error :
> Detail compile log as below:
> bmc at docker:/home/openbmc/build/evb-ast2600$ cat /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/build/meson-logs/meson-log.txt
...
> ../glib-2.72.3/meson.build:1:0: ERROR: Executables created by c compiler arm-openbmc-linux-gnueabi-gcc -march=armv7-a -mfpu=vfpv4-d16 -mfloat-abi=hard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/recipe-sysroot are not runnable.
> | NOTE: Executing meson -Dgtk_doc=false -Ddtrace=false -Dfam=false -Dsystemtap=false -Db_lto=true -Dlibmount=enabled -Dman=false -Dselinux=disabled -Dinstalled_tests=false --cross-file=/home/openbmc/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-linux --cross-file=/home/openbmc/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc --cross-file=/home/openbmc/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common...
> | qemu-arm: Unable to reserve 0xffff0000 bytes of virtual address space at 0x1000 (Success) for use as guest address space (check your virtual memory ulimit setting, min_mmap_addr or reserve less using -R option)
We certainly regularly build systemd in CI. I think there'd be a pretty
big uproar if master were completely broken, so I highly suspect this is
something with your environment.
It looks like you're building inside Docker on an x86_64 machine, but
somehow qemu-arm is being invoked? Do you have any idea where this
qemu-arm is coming from?
Can you fully describe the environment you've set up for doing this
build? If you're running inside a virtual machine or container
it might be that you've not allocated enough memory to the container,
which can cause it to report non-obvious compile failures.
--
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220810/f1107f49/attachment.sig>
More information about the openbmc
mailing list