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 target/13391] AIX: collect2 emits bad code with duplicated symbols


------- Additional Comments From ajd at gentrack dot com  2004-03-04 00:00 -------
(In reply to comment #16)
> 	Can you try the appended patch that disables exporting _GLOBAL_*
> symbols in AIX shared libraries?
> Thanks, David

David,

I have not done a full bootstrap and I am still testing, so treat these as 
prelimary findings:

The patch appears not to fix the abort on try/catch.

However with the patch, I am not getting imports of __GLOBAL__F* from 
libstdc++ into my shared library. So maybe it is a fix to part of the problem?

I'm not sure if the original problem is that the libstdc++ library exports the 
__GLOBAL__F symbols or that the user library imports and uses them?

In the patch, should it be checking the variable shared_obj or is_shared?
I think that it would depend where you class the problem: shared_obj to fix 
libstdc++, is_shared to fix user library.

Thanks for your help.
I will update again when I feel I have properly tested the patch.

Regards,
Andrew.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13391


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