* [Buildroot] [Bug 15451] New: pcengines_apu2_defconfig: possibly truncated output in
@ 2023-03-17 18:37 bugzilla
2024-06-15 15:07 ` [Buildroot] [Bug 15451] " bugzilla
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2023-03-17 18:37 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15451
Bug ID: 15451
Summary: pcengines_apu2_defconfig: possibly truncated output in
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: jbglaw@lug-owl.de
CC: buildroot@uclibc.org
Target Milestone: ---
Linux's ./tools/objtool (of the used kernel version) fails to build:
[build 2023-03-15 16:08:35] /usr/bin/gcc -O2
-I/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/host/include
-L/var/lib/laminar/run/buildroot-pcengines_apu2_defcon
fig/1/buildroot/output/host/lib
-Wl,-rpath,/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/host/lib
-Wp,-MD,/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/
1/buildroot/output/build/linux-5.16/tools/objtool/.check.o.d
-Wp,-MT,/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16/tools/objtool/check.o
-Werror
-Wbad-function-cast -Wdeclaration-after-statement -Wformat-security
-Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wno-system-headers -Wold-style-defin
ition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default
-Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits
-Wstrict-aliasing=3 -Wshadow -Wno-switch-default -Wno-swi
tch-enum -Wno-packed -Wno-nested-externs -Wall -Wmissing-prototypes
-Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -g
-I/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buil
droot/output/build/linux-5.16/tools/include
-I/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16/tools/arch/x86/include/uapi
-I/var/lib/laminar/run/bu
ildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16/tools/arch/x86/include
-I/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16/tools
/objtool/include
-I/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16/tools/objtool/arch/x86/include
-I/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/host/include
-I/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16/tools/lib
-D"BUILD_STR(s)=#s" -c -o
/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16/tools/objtool/check.o
check.c
[build 2023-03-15 16:08:36] check.c: In function 'validate_call':
[build 2023-03-15 16:08:36] check.c:2836:58: error: '%d' directive output may
be truncated writing between 1 and 10 bytes into a region of size 9
[-Werror=format-truncation=]
[build 2023-03-15 16:08:36] 2836 | snprintf(pvname,
sizeof(pvname), "pv_ops[%d]", idx);
[build 2023-03-15 16:08:36] |
^~
[build 2023-03-15 16:08:36] In function 'call_dest_name',
[build 2023-03-15 16:08:36] inlined from 'call_dest_name' at
check.c:2824:27,
[build 2023-03-15 16:08:36] inlined from 'validate_call' at check.c:2908:3:
[build 2023-03-15 16:08:36] check.c:2836:50: note: directive argument in the
range [-268435456, 268435455]
[build 2023-03-15 16:08:36] 2836 | snprintf(pvname,
sizeof(pvname), "pv_ops[%d]", idx);
[build 2023-03-15 16:08:36] |
^~~~~~~~~~~~
[build 2023-03-15 16:08:36] check.c:2836:17: note: 'snprintf' output between 10
and 19 bytes into a destination of size 16
[build 2023-03-15 16:08:36] 2836 | snprintf(pvname,
sizeof(pvname), "pv_ops[%d]", idx);
[build 2023-03-15 16:08:36] |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[build 2023-03-15 16:08:36] check.c: In function 'validate_call':
[build 2023-03-15 16:08:36] check.c:2836:58: error: '%d' directive output may
be truncated writing between 1 and 10 bytes into a region of size 9
[-Werror=format-truncation=]
[build 2023-03-15 16:08:36] 2836 | snprintf(pvname,
sizeof(pvname), "pv_ops[%d]", idx);
[build 2023-03-15 16:08:36] |
^~
[build 2023-03-15 16:08:36] In function 'call_dest_name',
[build 2023-03-15 16:08:36] inlined from 'call_dest_name' at
check.c:2824:27,
[build 2023-03-15 16:08:36] inlined from 'validate_call' at check.c:2920:3:
[build 2023-03-15 16:08:36] check.c:2836:50: note: directive argument in the
range [-268435456, 268435455]
[build 2023-03-15 16:08:36] 2836 | snprintf(pvname,
sizeof(pvname), "pv_ops[%d]", idx);
[build 2023-03-15 16:08:36] |
^~~~~~~~~~~~
[build 2023-03-15 16:08:36] check.c:2836:17: note: 'snprintf' output between 10
and 19 bytes into a destination of size 16
[build 2023-03-15 16:08:36] 2836 | snprintf(pvname,
sizeof(pvname), "pv_ops[%d]", idx);
[build 2023-03-15 16:08:36] |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[build 2023-03-15 16:08:36] check.c: In function 'validate_call':
[build 2023-03-15 16:08:36] check.c:2836:58: error: '%d' directive output may
be truncated writing between 1 and 10 bytes into a region of size 9
[-Werror=format-truncation=]
[build 2023-03-15 16:08:36] 2836 | snprintf(pvname,
sizeof(pvname), "pv_ops[%d]", idx);
[build 2023-03-15 16:08:36] |
^~
[build 2023-03-15 16:08:36] In function 'call_dest_name',
[build 2023-03-15 16:08:36] inlined from 'call_dest_name' at
check.c:2824:27,
[build 2023-03-15 16:08:36] inlined from 'validate_call' at check.c:2914:3:
[build 2023-03-15 16:08:36] check.c:2836:50: note: directive argument in the
range [-268435456, 268435455]
[build 2023-03-15 16:08:36] 2836 | snprintf(pvname,
sizeof(pvname), "pv_ops[%d]", idx);
[build 2023-03-15 16:08:36] |
^~~~~~~~~~~~
[build 2023-03-15 16:08:36] check.c:2836:17: note: 'snprintf' output between 10
and 19 bytes into a destination of size 16
[build 2023-03-15 16:08:36] 2836 | snprintf(pvname,
sizeof(pvname), "pv_ops[%d]", idx);
[build 2023-03-15 16:08:36] |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[build 2023-03-15 16:08:38] cc1: all warnings being treated as errors
[build 2023-03-15 16:08:38] make[4]: ***
[/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16/tools/build/Makefile.build:97:
/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16/tools/objtool/check.o]
Error 1
[build 2023-03-15 16:08:38] make[3]: *** [Makefile:56:
/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16/tools/objtool/objtool-in.o]
Error 2
[build 2023-03-15 16:08:38] make[2]: *** [Makefile:69: objtool] Error 2
[build 2023-03-15 16:08:38] make[1]: *** [Makefile:1349: tools/objtool] Error 2
[build 2023-03-15 16:08:38] make[1]: Leaving directory
'/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16'
[build 2023-03-15 16:08:38] make: *** [package/pkg-generic.mk:293:
/var/lib/laminar/run/buildroot-pcengines_apu2_defconfig/1/buildroot/output/build/linux-5.16/.stamp_built]
Error 2
I guess that g:82880283d7fcd0a1d20964a56d6d1a5cc0df0713 (upstream Linux tree)
would be a proper fix.
Full build log at
http://toolchain.lug-owl.de/laminar/log/buildroot-pcengines_apu2_defconfig/1
(This is the last ticket. All other configurations were built successfully!)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] [Bug 15451] pcengines_apu2_defconfig: possibly truncated output in
2023-03-17 18:37 [Buildroot] [Bug 15451] New: pcengines_apu2_defconfig: possibly truncated output in bugzilla
@ 2024-06-15 15:07 ` bugzilla
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2024-06-15 15:07 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15451
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998@free.fr
Resolution|--- |MOVED
Status|NEW |RESOLVED
--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
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!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-15 15:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-17 18:37 [Buildroot] [Bug 15451] New: pcengines_apu2_defconfig: possibly truncated output in bugzilla
2024-06-15 15:07 ` [Buildroot] [Bug 15451] " bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox