This is the mail archive of the gcc@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]

alpha-dec-osf4.0, -finline-functions and shared library


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]