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]

Link problems on AIX 4.3.2


C++ executables that use pthreads and exceptions core dump when
compiled with gcc-1.1.2 and linked with the AIX linker.


GCC: 1.1.2
OS: AIX 4.3.2
HARDWARE: RS6000
Compiler Options: -g  -DNeedPthreadInit -D_ALL_SOURCE -D_REENTRANT
                   -DPthreadDraftVersion=10 -D__aix__ -D__powerpc__
                   -D__OSVERSION__=4 -DSNACC_DEEP_COPY -c tp_CmdThread.C

Linker Options: g++  -g -Xlinker -bbigtoc -mthreads
                tp_CmdThread.o xs_threads.o xs_Error.o ut_utils.o
String.o
                regex.o Regex.o  -o tp_CmdThread -lpthreads -lc_r -lm_r


linking statically does not work either. I don't really think this
is a bug with egcs but most probably with the std++ lib or
something. I don't know where else to report the problem.

Nick Godbey



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