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 04:16 -------
(In reply to comment #23)
> Subject: Re:  AIX: collect2 emits bad code with duplicated symbols 
> >>>>> ajd at gentrack dot com writes:
> ajd> I have done a full bootstrap.
> ajd> I can confirm that this patch (in comment 16) does NOT fix the exception 
> ajd> problem.
> ajd> My testcase still aborts.
> 	Please make sure that you run AIX command slibclean to clear out
> the old version of the shared libraries before testing.
> Thanks, David

Did that:

$ g++ -fPIC -dPIC -shared -o liba2.a a2.cpp 
$ g++ -fPIC -dPIC -o a1 -L. -la2 a1.cpp  
$ g++ -fPIC -dPIC -shared -o libb2.a a2.cpp 
$ g++ -fPIC -dPIC -o b1 -L. -lb2 a1.cpp  
$ g++ -fPIC -dPIC -shared -o libc2.a a2.cpp 
$ g++ -fPIC -dPIC -o c1 -L. -lc2 a1.cpp  
$ g++ -fPIC -dPIC -shared -o libd2.a a2.cpp 
$ g++ -fPIC -dPIC -o d1 -L. -ld2 a1.cpp  
$ su -c slibclean
root's Password: 
$ ./a1
$ ./b1
$ ./c1
IOT/Abort trap (core dumped)
$ ./d1
IOT/Abort trap (core dumped)


-- 


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]