| To: | Nathan Scott <nathans@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] pcp updates - #shell for pmcpp, gentoo fixes |
| From: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx> |
| Date: | Thu, 13 Aug 2015 20:33:46 +1000 |
| Cc: | pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <610735404.9830868.1439455519701.JavaMail.zimbra@xxxxxxxxxx> |
| References: | <55CB2A34.2040903@xxxxxxxxxxxxxxxx> <127430246.9646957.1439430874257.JavaMail.zimbra@xxxxxxxxxx> <55CC494A.1000000@xxxxxxxxxxxxxxxx> <610735404.9830868.1439455519701.JavaMail.zimbra@xxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 |
On 13/08/15 18:45, Nathan Scott wrote: ... The (linker) errors look related to stack checking, so I'm guessing its one of the above lines, probably -fstack-protector-all? The key failure message is this one... (repeats) src/libpcp/src/connect.c:269: undefined reference to `__stack_chk_fail' OK, sounds like we need a "not if mingw" guard around the configure goo, as in ...
index df195e0..7775a9a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -382,6 +382,10 @@ if echo "$CFLAGS" | grep stack-protector >/dev/null
then
dnl already set, probably from the environment
:
+elif test $target_os = mingw
+then
+ dnl don't do this for MinGW
+ :
else
AC_ARG_ENABLE([ssp],
[AS_HELP_STRING([--disable-ssp], [disable gcc stack-protector])])
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] pcp updates - #shell for pmcpp, gentoo fixes, Nathan Scott |
|---|---|
| Next by Date: | [Bug 1185740] [Tracker] Cockpit / PCP integration bugs, bugzilla |
| Previous by Thread: | Re: [pcp] pcp updates - #shell for pmcpp, gentoo fixes, Nathan Scott |
| Next by Thread: | pcp updates: merges, qa, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |