This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49587] Code generation error with dynamic libraries.
- From: "jarrydb at cse dot unsw.edu.au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Jun 2011 10:16:58 +0000
- Subject: [Bug c++/49587] Code generation error with dynamic libraries.
- Auto-submitted: auto-generated
- References: <bug-49587-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49587
--- Comment #2 from Jarryd Beck <jarrydb at cse dot unsw.edu.au> 2011-06-30 10:16:58 UTC ---
I wish that I could give you a test case. I can't reproduce it on any small
piece of code. The only code that I can get it to break on is my project which
has about 20,000 lines of code. It has nearly 100 files and uses boost spirit.
It compiles into a library and several executables.
The compiler version I already stated. It's gcc svn, the first broken revision
is 175341 (maybe that wasn't clear).
The flags used for compiling are simply -fPIC for the library and nothing extra
for the executables.
Another thing to note is that I moved the function call in which the error
occurs to later in my code, and a different function bombed in exactly the same
way.
How would you like me to proceed?