Comments (3)
Let me see if I understand... you have a special "hardened" gcc toolchain, and
you're using it to compile the
Linux kernel. Your special toolchain has some patches to make gcc use SSP and
PIE by default, unless the "-
D__KERNEL__" option is given. Is that right?
If so, that seems to me like an abuse of the -D option. It would be better for
you to remove the patch from
gcc where it makes -D__KERNEL__ imply -nossp -nopie, and to instead patch the
Linux kernel build system
(Makefiles, etc.) so that it passes "-D__KERNEL__ -nossp -nopie" rather than
"-D__KERNEL__". While it would
be possible to patch distcc to work around this, that doesn't seem like the
best place to fix it.
Original comment by [email protected]
on 26 Oct 2008 at 7:07
from distcc.
You did understand everything right, yeah!
But after your statement I think that your way would be the better way. I had a
closer look to the patches (http://git.ipfire.org/?
p=patches.git;a=tree;f=gcc;h=23ad0e6226cfc8a80419e69d2ef8fc9d6fccfbbd;hb=HEAD)
and
it would not be much to do to append -nopie to the gcc command line.
I thougt it would be interesting for some other hardened distributions (like
gentoo
hardened) to have that feature in distcc. That was my intention to ask here :D
Thanks for reply...
If it won't work, I will get back to you :D
Original comment by [email protected]
on 26 Oct 2008 at 9:39
from distcc.
Closing this issue with no changes to distcc; as discussed, Linux kernel build
system is a better place to make
the change. (Feel free to reopen if you disagree.)
Original comment by [email protected]
on 27 Oct 2008 at 2:22
- Changed state: Invalid
from distcc.
Related Issues (20)
- Compilation fails under Cygwin HOT 2
- --coverage flag not treated correctly HOT 1
- missing feature: support --coverage to compile remotely HOT 1
- ls HOT 1
- Apparently not getting much parallelism HOT 9
- [deleted issue]
- Include server not covering... HOT 6
- GPL3 encumbrance HOT 9
- disable distcc HOT 3
- unknown translation unit - mips64 compiler HOT 4
- Building with GCC 4.7.3 on x86_32 fails due to warnings in lzo/minilzo.c HOT 3
- Documentation for --random is incomplete
- lsdistcc_1.html Shown as Raw File in Browser HOT 1
- zeroconf hosts have a hardcoded slots value of 4? HOT 2
- OS X Yosemite Compile Fixes
- absence of DISTCC_SSH setting causes exec("ssh") failure HOT 1
- lsdistcc segfaults when called with more than 502 hosts
- [PATCH] SOCKSv5 proxy support HOT 2
- distccd not honoring DISTCC_TCP_CORK=0
- gnome/distccmon-gnome.desktop is not utf-8 encoded file.It is ISO-8859.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distcc.