This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/29838] -fstack-protector shouldn't use TLS in freestanding mode
- From: "samuel dot thibault at ens-lyon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2006 11:01:42 -0000
- Subject: [Bug target/29838] -fstack-protector shouldn't use TLS in freestanding mode
- References: <bug-29838-11603@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from samuel dot thibault at ens-lyon dot org 2006-11-15 11:01 -------
About not using -fstack-protector, the problem is that it is the default on
ubuntu for instance. That would mean we have to explicitely use
-fno-stack-protector, but only for recent versions of gcc, so we'll have to
detect that, etc... Not counting all such new options that may arise which we'd
have to disable...
Please answer this, at least by just yes/no: you're saying that -ffreestanding
doesn't mean "an OS kernel" (as manual says), but "the kernel of the target",
so that people working on other kernels will have to first build a
cross-compiler? (the bug is a documentation bug then)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29838