alpha-dec-osf4.0, -finline-functions and shared library
Weiwen Liu
liu@hepvms.physics.yale.edu
Wed Oct 29 18:47:00 GMT 1997
I notice some problems while doing "make check" in libio on
alpha-dec-osf4.0 for egcs-971023.
The shared library libstdc++.so is produced by
ar x libstdc++.a
ld -shared -o libstdc++.so *.o -lm -lc -expect_unresolved "*"
If hounddog is linked with the static libstdc++.a, hounddog succeeds.
If hounddog is linked with libstdc++.so and iostream.cc is complied
with -finline-functions, hounddog dumps core while executing write_int.
If turning off -finline-functions while compiling iostream.cc, hounddog
works with libstdc++.so.
tFile also fails if libstdc++.so is used, but it works with libstdc++.a.
Weiwen
More information about the Gcc
mailing list