This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49587] Code generation error with dynamic libraries.


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]