summaryrefslogtreecommitdiffstats
path: root/package/ipmiutil/0003-configure.ac-fix-stack-protector-test.patch
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2016-07-26 13:20:13 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-26 21:35:27 +0200
commit2fccf22c3a4681a38d3dd80998b9e2c803b4140c (patch)
tree7d393d906614ea66eadfba5249c05fc3be7d9c2d /package/ipmiutil/0003-configure.ac-fix-stack-protector-test.patch
parentaeadc84203cafa8d884295dc3206c6c517cb6764 (diff)
downloadbuildroot-2fccf22c3a4681a38d3dd80998b9e2c803b4140c.tar.gz
buildroot-2fccf22c3a4681a38d3dd80998b9e2c803b4140c.zip
ipmiutil: bump to version 2.9.9
Drop upstream patches, and update AUTORECONF comment accordingly. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/ipmiutil/0003-configure.ac-fix-stack-protector-test.patch')
-rw-r--r--package/ipmiutil/0003-configure.ac-fix-stack-protector-test.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/package/ipmiutil/0003-configure.ac-fix-stack-protector-test.patch b/package/ipmiutil/0003-configure.ac-fix-stack-protector-test.patch
deleted file mode 100644
index d6ad6045dd..0000000000
--- a/package/ipmiutil/0003-configure.ac-fix-stack-protector-test.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From: Baruch Siach <baruch@tkos.co.il>
-Date: Tue, 27 Oct 2015 13:58:24 +0200
-Subject: [PATCH] configure.ac: fix stack protector test
-
-gcc does not generate stack protection check code for function that does not
-use its stack. Some toolchain (most notable uClibc based) accept the
--fstack-protector option, but don't provide libssp. The current test will
-incorrectly identify this case, leading to link failures like:
-
-ipmiutil.o: In function `main':
-ipmiutil.c:(.text.startup+0x1c0): undefined reference to
-`__stack_chk_fail_local'
-ialarms.o: In function `get_alarms_picmg':
-ialarms.c:(.text+0x1c5): undefined reference to `__stack_chk_fail_local'
-ialarms.o: In function `.L46':
-ialarms.c:(.text+0x362): undefined reference to `__stack_chk_fail_local'
-ialarms.o: In function `get_enc_leds':
-ialarms.c:(.text+0x45f): undefined reference to `__stack_chk_fail_local'
-
-Add stack usage code to the test to correctly identify missing libssp.
-
-Patch status: sent upstream
-(http://sourceforge.net/p/ipmiutil/mailman/message/34572536/)
-
-Signed-off-by: Baruch Siach <baruch@tkos.co.il>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 41b6ea89167a..f3f60fb9ff69 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -334,7 +334,7 @@ else
- rm -f $tmpc $tmpo >/dev/null 2>&1
- echo $ECHO_N "checking compile fortify flags ... $ECHO_C"
- cfhard="-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
-- echo "int main() { return(1); }" >$tmpc
-+ echo "int main() { alloca(100); return(1); }" >$tmpc
- $CC -o $tmpo $cfhard $tmpc >/dev/null 2>&1
- if test $? -ne 0 ; then
- cfhard=
---
-2.6.1
-
OpenPOWER on IntegriCloud