Stack protection defaults cause incompatibility
Bug #68641 reported by
Jelmer Vernooij
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
distcc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The fact that ubuntu's gcc has -fstack-protector enabled by default make that distcc from ubuntu can't be used from other systems without explicitly enabling or disabling it during configure.
If there are objects built with this option but not during linking, the following error occurs at link-time:
undefined reference to `__stack_
One way of fixing this is to make ubuntu's distcc always add -fstack-protector to CFLAGS when sending options to a remote host and always adding to CFLAGS -fno-stack-
To post a comment you must log in.
I disagree about the fact that #68641 would be a dupe of #67339. Both bugs are related to the fact that the stack protector is enabled by default, but I don't see how the resolution of either of them would be related.