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

egcs-971031: Linking against libstdc++.a fails


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



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