Skip to contentSkip to conversation

New: Cannot build Image

Buildroot [email protected] 1 participant 3 messages Dec 27, 2021 – Jun 15, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=14476

Bug ID: 14476
Summary: Cannot build Image
Product: buildroot
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---

Hello,

please, if someone can help me to resolve the error that I am getting when try to do make (for imx6 sabre...) with Buildroot. Thank you very much. Regards.

The make process stops and I get this errors:

PATH="/home/m/buildroot/output/host/bin:/home/m/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PKG_CONFIG="/home/m/buildroot/output/host/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/m/buildroot/output/host/lib/pkgconfig:/home/m/buildroot/output/host/share/pkgconfig"
/usr/bin/make -j9 -C /home/m/buildroot/output/build/host-util-linux-2.37.2/
make[1]: Entering directory
'/home/m/buildroot/output/build/host-util-linux-2.37.2'
/usr/bin/make all-recursive
make[2]: Entering directory
'/home/m/buildroot/output/build/host-util-linux-2.37.2'
Making all in po
make[3]: Entering directory
'/home/m/buildroot/output/build/host-util-linux-2.37.2/po'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/home/m/buildroot/output/build/host-util-linux-2.37.2/po'
make[3]: Entering directory
'/home/m/buildroot/output/build/host-util-linux-2.37.2'
CC sys-utils/umount-umount.o
CC sys-utils/mountpoint-mountpoint.o
gcc: error: unrecognized command line option ‘-Waddress-of-packed-member’
gcc: error: unrecognized command line option ‘-Waddress-of-packed-member’
make[3]: *** [Makefile:13879: sys-utils/umount-umount.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:12087: sys-utils/mountpoint-mountpoint.o] Error 1
CC sys-utils/fstrim-fstrim.o
CC sys-utils/ctrlaltdel.o
gcc: error: unrecognized command line option ‘-Waddress-of-packed-member’
gcc: error: unrecognized command line option ‘-Waddress-of-packed-member’
make[3]: *** [Makefile:11499: sys-utils/fstrim-fstrim.o] Error 1
make[3]: *** [Makefile:9488: sys-utils/ctrlaltdel.o] Error 1
make[3]: Leaving directory
'/home/m/buildroot/output/build/host-util-linux-2.37.2'
make[2]: *** [Makefile:14611: all-recursive] Error 1
make[2]: Leaving directory
'/home/m/buildroot/output/build/host-util-linux-2.37.2'
make[1]: *** [Makefile:6321: all] Error 2
make[1]: Leaving directory
'/home/m/buildroot/output/build/host-util-linux-2.37.2'
make: *** [package/pkg-generic.mk:295:
/home/m/buildroot/output/build/host-util-linux-2.37.2/.stamp_built] Error 2

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 14476] Cannot build Image

https://bugs.busybox.net/show_bug.cgi?id=14476

--- Comment #1 from Thomas Petazzoni <[email protected]> --- Thanks for your report. Could you clarify which Buildroot version/commit you're using, and also which gcc version you are using on your Linux distribution?

Additionally, could you attach the file
output/build/host-util-linux-2.37.2/config.log ?

What's weird is that util-linux-2.37.2 indeed tries to use -Waddress-of-packed-member, but only after testing that the compiler supports it. So it's quite odd that you get into a situation where this compiler flag gets used, while the compiler doesn't support it.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 14476] Cannot build Image

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=14476

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]

--- Comment #2 from Yann E. MORIN <[email protected]> --- Thank you for your report.

The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker.

Thank you!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot