This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
alpha-dec-osf4.0, -finline-functions and shared library
- To: egcs at cygnus dot com
- Subject: alpha-dec-osf4.0, -finline-functions and shared library
- From: Weiwen Liu <liu at hepvms dot physics dot yale dot edu>
- Date: Wed, 29 Oct 1997 21:47:14 -0500 (EST)
- Reply-to: Weiwen Liu <liu at hepunix dot physics dot yale dot edu>
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