From: Nathan F. <fr...@cs...> - 2005-08-12 19:10:35
|
On Thu, Aug 11, 2005 at 07:45:58PM -0600, Tyler Berry wrote: > I've attached the updated syscall(2) patch. This patch should be fine > for everybody. Thanks. Committed in 0.9.3.49. > I've attached a second patch which forces the -fno-pie and -nopie > options on the compiler and linker for x86-linux, x86_64-linux, and > ppc-linux. It maybe ought to go in more places too, and I'm not > certain whether this could cause compilers without pie support to > break. If somebody could test this patch on a gcc that doesn't have > pie support, and maybe on another cc as well, that could confirm it. > Ideally this would be tested for and set dynamically. I did not commit this patch, as light testing with the gcc on my work box indicated that -fno-pie was not a valid option. As you mention, the Right Thing is to use this option only if the used gcc supports it. I do not know how one might go about doing this. -- Nathan | From Man's effeminate slackness it begins. --Paradise Lost The last good thing written in C was Franz Schubert's Symphony Number 9. --Erwin Dieterich |