http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46125
Adrian Smith <adrian.m.smith at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian.m.smith at gmail dot | |com --- Comment #3 from Adrian Smith <adrian.m.smith at gmail dot com> 2012-06-21 15:27:49 UTC --- "As mentioned in the thread to the list you need to compile crtstuff.c with -mcmodel=large also." Can someone add a link to the thread? I have googled for it but this bug report keeps on coming up. I am not too familiar with gcc development so don't know which list is being talked about. I too have a program which requires > 2GB of compiled code on x86-64 and get the errors from "crtstuff.c". But where is it, how do I recompile it?