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]
Other format: [Raw text]

[Bug c++/61637] C++ program does not catch exceptions on AIX 7.1


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61637

--- Comment #3 from Krishnamoorthy C <chandrakm at hotmail dot com> ---
Compiler options tried:
-----------------------

CC= gcc
CXX=g++

Compilation flags
SYSCXXFLAGS= -Dlinux -Dlinux_x86_64 -DLINUX_AMD64 -O1 -maix64 -fpermissive
-Wextra -Wuninitialized -Winit-self -Wwrite-strings -Wall -Wno-switch
-Wno-missing-braces
CFLAGS= $(SYSCXXFLAGS) -fPIC -c  $(HEADER_PATH) $(LIBRARY_PATH)
Also tried with the different path for std library
STD_LIBRARY_PATH=-L/opt/freeware/lib64 -L/usr/lib
-L/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.1/ppc64

Linker flags
$(CXX) -shared -fPIC -maix64 $(CPPOBJECTS) $(COBJECTS) -o $@ -ldl -lpthread
-lbsd $(LIBRARY_PATH) $(CATALYST_LIBS)
$(CC) -shared -fPIC -maix64 $(CPPOBJECTS) $(COBJECTS) -o $@ -ldl -lpthread
-lbsd $(LIBRARY_PATH) $(CATALYST_LIBS)

Also tried with  -Wl,-brtl  , -fexeptions, -Xlinker -bM:SRE -Xlinker -bnoentry
$
Tried with the static libgcc -static-libgcc


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