[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: egcs-1.1 binary incompatibility

On Thu, 10 Sep 1998, James R. Van Zandt wrote:

jrv>   egcs-1.1 compiled C++ code is not binary compatible with egcs-1.0.x
jrv>   or gcc-2.8.x due to changes necessary to support thread safe
jrv>   exception handling.

	Havn't we been using snapshots of egcs-1.1 for several months, at
least ? I am not sure I understand all of the issues, but maybe this data
will help.

	I just tried to compile a number of examples with the latest g++
homey 67 > g++ -v
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

	I link it with libcln.so.0.98, which was compiled with g++
2.90.29-0.6, and associated libraries. (I took notes when building cln
because I figured some problems might arise) This is either the same one
as in hamm or not far from it. The examples work. The ouput of ldd a.out

homey 12 > ldd a.out
	libcln.so.0.98 => /usr/lib/libcln.so.0.98 (0x40011000)
	libstdc++-libc6.0-1.so.2 => /usr/lib/libstdc++-libc6.0-1.so.2
	libm.so.6 => /lib/libm.so.6 (0x4012a000)
	libc.so.6 => /lib/libc.so.6 (0x40145000)
	libgmp2.so.2 => /usr/lib/libgmp2.so.2 (0x401ea000)
	libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x40201000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I think libstdc++.so.2.8 must be used by libcln, and
libstdc++-libc6.0-1.so.2 is what the current compiler links with.


John Lapeyre <lapeyre@physics.arizona.edu>
Tucson,AZ     http://www.physics.arizona.edu/~lapeyre

Reply to: