This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/38988] Cannot build crtstuff.c with -mcmodel=large -fPIC -O2
- From: "sje at cup dot hp dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jan 2009 17:54:49 -0000
- Subject: [Bug target/38988] Cannot build crtstuff.c with -mcmodel=large -fPIC -O2
- References: <bug-38988-3107@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from sje at cup dot hp dot com 2009-01-27 17:54 -------
No, I don't have a user application. I believe the problem was that the user
was compiling a program with something like
-Wl,--section-start,.text=0x110000000 and because the crt files weren't
compiled with -mcmodel=large they couldn't reach the text section. If I
compile a simple hello world program with this linker option I get a number of
errors about relocations being truncated.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38988