Bug#364231: [parisc-linux] Re: Bug#364231: exception catching broken on HPPA

"John David Anglin" <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc,gmane.linux.debian.ports.hppa,gmane.linux.ports.hppa
Message-ID <[email protected]>
> > smr@paer:~/gmp-4.2.dfsg/tests/cxx$ g++ -Wall test-throw.cc && ./a.out
> > /usr/bin/ld: warning: libgcc_s.so.4, needed by /usr/lib/gcc/hppa-linux-gnu/4.0.3/libstdc++.so, may conflict with libgcc_s.so.2

I'm puzzled about this.  It seems like libstdc++ for GCC 4.0.3 was
built using GCC 4.1 or latter.  In my 4.0.3 build, I see:

dave@gsyprf11:~/gcc-4.0/objdir/hppa-linux/libstdc++-v3/src/.libs$ ldd libstdc++.so
        libm.so.6 => /lib/libm.so.6 (0x40643000)
	libgcc_s.so.2 => /lib/libgcc_s.so.2 (0x4034a000)
	libc.so.6 => /lib/libc.so.6 (0x40a57000)
	/lib/ld.so.1 (0x41252000)

But:

dave@gsyprf11:~/gcc-4.0/objdir/hppa-linux/libstdc++-v3/src/.libs$ ldd /usr/lib/gcc/hppa-linux-gnu/4.0.3/libstdc++.so
        libm.so.6 => /lib/libm.so.6 (0x40243000)
	libgcc_s.so.4 => /lib/libgcc_s.so.4 (0x40746000)
	libc.so.6 => /lib/libc.so.6 (0x40a57000)
	/lib/ld.so.1 (0x41252000)

You need to build 4.0.3 and associated libraries with 4.0.3.

Dave
-- 
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.