* [Buildroot] [Bug 8946] Valgrind fails to build with stack protection turned on
2016-05-18 23:55 [Buildroot] [Bug 8946] New: Valgrind fails to build with stack protection turned on bugzilla at busybox.net
@ 2016-05-19 8:06 ` bugzilla at busybox.net
2016-05-19 8:23 ` bugzilla at busybox.net
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-05-19 8:06 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8946
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Could you attach your Buildroot .config file so that we can reproduce this
issue?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 8946] Valgrind fails to build with stack protection turned on
2016-05-18 23:55 [Buildroot] [Bug 8946] New: Valgrind fails to build with stack protection turned on bugzilla at busybox.net
2016-05-19 8:06 ` [Buildroot] [Bug 8946] " bugzilla at busybox.net
@ 2016-05-19 8:23 ` bugzilla at busybox.net
2016-05-19 8:26 ` bugzilla at busybox.net
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-05-19 8:23 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8946
--- Comment #2 from Jiri Novotny <jiri.novotny@logicelements.cz> ---
Created attachment 6436
--> https://bugs.busybox.net/attachment.cgi?id=6436&action=edit
Buildroot config file
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 8946] Valgrind fails to build with stack protection turned on
2016-05-18 23:55 [Buildroot] [Bug 8946] New: Valgrind fails to build with stack protection turned on bugzilla at busybox.net
2016-05-19 8:06 ` [Buildroot] [Bug 8946] " bugzilla at busybox.net
2016-05-19 8:23 ` bugzilla at busybox.net
@ 2016-05-19 8:26 ` bugzilla at busybox.net
2016-05-19 9:22 ` bugzilla at busybox.net
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-05-19 8:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8946
--- Comment #3 from Jiri Novotny <jiri.novotny@logicelements.cz> ---
without patch qt5base-5.6.0/config.summary says ALSA ................... no
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 8946] Valgrind fails to build with stack protection turned on
2016-05-18 23:55 [Buildroot] [Bug 8946] New: Valgrind fails to build with stack protection turned on bugzilla at busybox.net
` (2 preceding siblings ...)
2016-05-19 8:26 ` bugzilla at busybox.net
@ 2016-05-19 9:22 ` bugzilla at busybox.net
2016-05-19 9:44 ` bugzilla at busybox.net
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-05-19 9:22 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8946
--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Jiri, are you sure your last comment is related to this bug? I don't think it
is.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 8946] Valgrind fails to build with stack protection turned on
2016-05-18 23:55 [Buildroot] [Bug 8946] New: Valgrind fails to build with stack protection turned on bugzilla at busybox.net
` (3 preceding siblings ...)
2016-05-19 9:22 ` bugzilla at busybox.net
@ 2016-05-19 9:44 ` bugzilla at busybox.net
2016-05-19 17:03 ` bugzilla at busybox.net
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-05-19 9:44 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8946
--- Comment #5 from Jiri Novotny <jiri.novotny@logicelements.cz> ---
(In reply to Thomas Petazzoni from comment #4)
Sorry, my fault. I am new here and I thought that notification mail was somehow
connected to my commit.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 8946] Valgrind fails to build with stack protection turned on
2016-05-18 23:55 [Buildroot] [Bug 8946] New: Valgrind fails to build with stack protection turned on bugzilla at busybox.net
` (4 preceding siblings ...)
2016-05-19 9:44 ` bugzilla at busybox.net
@ 2016-05-19 17:03 ` bugzilla at busybox.net
2016-09-12 20:20 ` bugzilla at busybox.net
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-05-19 17:03 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8946
nnabavian at sonendo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #6436|0 |1
is obsolete| |
--- Comment #6 from nnabavian at sonendo.com ---
Created attachment 6441
--> https://bugs.busybox.net/attachment.cgi?id=6441&action=edit
Buildroot config
The config is attached, with the exception that stack guard protection is off.
I had turned it off, to determine whether or not it was the problem.
Simply turn it on to to verify that valgrind does not compile.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 8946] Valgrind fails to build with stack protection turned on
2016-05-18 23:55 [Buildroot] [Bug 8946] New: Valgrind fails to build with stack protection turned on bugzilla at busybox.net
` (5 preceding siblings ...)
2016-05-19 17:03 ` bugzilla at busybox.net
@ 2016-09-12 20:20 ` bugzilla at busybox.net
2016-12-10 4:19 ` bugzilla at busybox.net
2017-02-11 14:39 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-09-12 20:20 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8946
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #7 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
The following configuration (reduced from your defconfig, and changed to use a
toolchain with SSP enabled) builds just fine here:
BR2_arm=y
BR2_cortex_a9=y
BR2_SHARED_STATIC_LIBS=y
BR2_TOOLCHAIN_BUILDROOT_USE_SSP=y
BR2_ENABLE_LOCALE_PURGE=y
BR2_PACKAGE_VALGRIND=y
BR2_PACKAGE_VALGRIND_SGCHECK=y
BR2_PACKAGE_VALGRIND_BBV=y
BR2_PACKAGE_VALGRIND_LACKEY=y
BR2_PACKAGE_VALGRIND_NULGRIND=y
I tested wiht 2016.05-rc1, which is the version you used according to your
configuration file.
Can you retest with 2016.08, and provide a minimal Buildroot configuration that
exhibits the problem?
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 8946] Valgrind fails to build with stack protection turned on
2016-05-18 23:55 [Buildroot] [Bug 8946] New: Valgrind fails to build with stack protection turned on bugzilla at busybox.net
` (6 preceding siblings ...)
2016-09-12 20:20 ` bugzilla at busybox.net
@ 2016-12-10 4:19 ` bugzilla at busybox.net
2017-02-11 14:39 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2016-12-10 4:19 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8946
Brandon Maier <brandon.maier@rockwellcollins.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WORKSFORME |---
Status|RESOLVED |REOPENED
--- Comment #8 from Brandon Maier <brandon.maier@rockwellcollins.com> ---
We just ran into this same build error on one of our boards.
I was able to recreate the error on master
(f30eec41f95ed99909eb2c7590d83c12b9142df2) by building the beaglebone_defconfig
with BR2_TOOLCHAIN_BUILDROOT_USE_SSP=y and BR2_SSP_ALL=y. Then doing "make
valgrind".
The cause is Valgrind requires -fno-stack-protector to build correctly. I fixed
the error by appending -fno-stack-protector to the CFLAGS passed to Valgrind,
so that it overrides the ones in TARGET_CFLAGS.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 8946] Valgrind fails to build with stack protection turned on
2016-05-18 23:55 [Buildroot] [Bug 8946] New: Valgrind fails to build with stack protection turned on bugzilla at busybox.net
` (7 preceding siblings ...)
2016-12-10 4:19 ` bugzilla at busybox.net
@ 2017-02-11 14:39 ` bugzilla at busybox.net
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2017-02-11 14:39 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8946
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/package/valgrind?id=994ac94c57bb422abc818674be4f9e04c8ff60ca
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread