This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-971031: Linking against libstdc++.a fails
- To: egcs-bugs at cygnus dot com
- Subject: egcs-971031: Linking against libstdc++.a fails
- From: Dirk Herrmann <dirk at ida dot ing dot tu-bs dot de>
- Date: Tue, 4 Nov 1997 13:45:56 +0100 (CET)
Hello everybody.
The following worked without problems with egcs-971023:
cat test.cc :
#include <stream.h>
int main()
{
cout << "test";
}
g++ test.cc :
ld: fatal: file=/automatix/home/dirk/pub/egcs-971031/lib/libstdc++.a(filebuf.o): relocation [R_SPARC_32] (symbol <unknown>) against non-aligned offset (0xef197583)
ld: fatal: file=/automatix/home/dirk/pub/egcs-971031/lib/libstdc++.a(stdiostream.o): relocation [R_SPARC_32] (symbol <unknown>) against non-aligned offset (0xef197803)
collect2: ld returned 1 exit status
uname -a:
SunOS demokrit 5.5.1 Generic sun4u sparc SUNW,Ultra-1
What is the problem here?
Best regards, Dirk Herrmann