AIX & shared libstdc++

Andrey Slepuhin pooh@msu.ru
Thu Oct 9 09:26:00 GMT 1997


Hi,
I tried to compile egcs-971008 on AIX 4.2.1 configured with option
--with-gnu-ld.
1) I had problems when installing binutils 2.8.1 because function
finfo()
already defined in unistd.h with parameters different from finfo() that
comes
with binutils distribution (solved by renaming this function and all
calls to it).
2) Compilation was successful except the attempt of making unexistent
target
"libs" in libraries/soft-float/powerpc/libstdc++/Makefile (why???).
Shared libstdc++ was created successfully with a size ~2.5M
3) Even the simple test program failed to run with message about exec
format error due to bad text alignment.
It seems to me that problem is not with egcs but with gnu ld which
generates
invalid executables. Any help is appreciated.

Andrey.

PS: egcs-970929, with manually built shared libstdc++ (with native ld)
still
    works without errors. I just successfully compiled and tested
omniORB2,
    and it seems that combination of shared libstdc++, multithreading
and
    exceptions works fine.



More information about the Gcc mailing list