On 8/1/07 4:13 PM, Saikiran Madugula wrote: > I have a Library A compiled with gcc -O0 and a program B compiled with > gcc -O2 on Linux x86_64. Is the combination (A,B) supposed to work ? Yes, it should work just fine. If you suspect that it's not, please file a bug at http://gcc.gnu.org/bugzilla