* [Buildroot] [Bug 15491] New: segmentation fault in busybox/glibc due to CONFIG_STACK_OPTIMIZATION_386
@ 2023-03-25 21:10 bugzilla
2023-03-25 21:12 ` [Buildroot] [Bug 15491] " bugzilla
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla @ 2023-03-25 21:10 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15491
Bug ID: 15491
Summary: segmentation fault in busybox/glibc due to
CONFIG_STACK_OPTIMIZATION_386
Product: buildroot
Version: 2023.02
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: fesc2000@mailbox.org
CC: buildroot@uclibc.org
Target Milestone: ---
Hi,
i was facing the issue that busybox (ls appled) was generating a random
segmentation fault in libc/ctime() (i386 platform, glibc 2.30).
The actual problem was that CONFIG_STACK_OPTIMIZATION_386 was set by default,
causing an 8 byte aligned stack, and glibc uses a movaps instruction on it
(which requires 16 byte alignment).
Obviously i could solve this by disabling CONFIG_STACK_OPTIMIZATION_386, but it
took me quite a while to find it out.
This really should be disabled by default. After some digging it seems that the
ABI nowadays mandates 16 byte stack alignment even for i386 (see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38496).
--
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] 4+ messages in thread
* [Buildroot] [Bug 15491] segmentation fault in busybox/glibc due to CONFIG_STACK_OPTIMIZATION_386
2023-03-25 21:10 [Buildroot] [Bug 15491] New: segmentation fault in busybox/glibc due to CONFIG_STACK_OPTIMIZATION_386 bugzilla
@ 2023-03-25 21:12 ` bugzilla
2023-03-26 12:15 ` bugzilla
2024-06-15 15:07 ` bugzilla
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2023-03-25 21:12 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15491
Felix Schmidt <fesc2000@mailbox.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Host| |Embedded Atom CE2752
Build| |Linux x86
Target| |i686-buildroot-linux-gnu
--
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] 4+ messages in thread
* [Buildroot] [Bug 15491] segmentation fault in busybox/glibc due to CONFIG_STACK_OPTIMIZATION_386
2023-03-25 21:10 [Buildroot] [Bug 15491] New: segmentation fault in busybox/glibc due to CONFIG_STACK_OPTIMIZATION_386 bugzilla
2023-03-25 21:12 ` [Buildroot] [Bug 15491] " bugzilla
@ 2023-03-26 12:15 ` bugzilla
2024-06-15 15:07 ` bugzilla
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2023-03-26 12:15 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15491
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@bootlin.com> ---
See also this patch and the discussion:
https://patchwork.ozlabs.org/project/buildroot/patch/20230210233658.3763549-1-romain.naour@gmail.com/
--
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] 4+ messages in thread
* [Buildroot] [Bug 15491] segmentation fault in busybox/glibc due to CONFIG_STACK_OPTIMIZATION_386
2023-03-25 21:10 [Buildroot] [Bug 15491] New: segmentation fault in busybox/glibc due to CONFIG_STACK_OPTIMIZATION_386 bugzilla
2023-03-25 21:12 ` [Buildroot] [Bug 15491] " bugzilla
2023-03-26 12:15 ` bugzilla
@ 2024-06-15 15:07 ` bugzilla
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2024-06-15 15:07 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15491
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998@free.fr
Status|NEW |RESOLVED
Resolution|--- |MOVED
--- Comment #2 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] 4+ messages in thread
end of thread, other threads:[~2024-06-15 15:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-25 21:10 [Buildroot] [Bug 15491] New: segmentation fault in busybox/glibc due to CONFIG_STACK_OPTIMIZATION_386 bugzilla
2023-03-25 21:12 ` [Buildroot] [Bug 15491] " bugzilla
2023-03-26 12:15 ` bugzilla
2024-06-15 15:07 ` bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox