Hi all,

This is my first message to this list and I am having a strange problem on
s390x system.

uname -a
Linux suse9 2.6.5-7.97-s390x #1 SMP Fri Jul 2 14:21:59 UTC 2004 s390x s390x
s390x GNU/Linux

I am building my software on this system with these compiler/linker options
as 32bit build.
CC="g++ -m31"

COPTS_LINUX_OS390="-L. -Wall -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-D_THREAD_SAFE -D_REENTRANT -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
-D_POSIX_C_SOURCE=199506L"

LOPTS_LINUX_OS390="-L. -Wall -lpthread -lm -lnsl -lrt -ldl -lcrypt
-L/usr/X11R6/lib"

The build is fine but when I execute my software and for a certain operation
i receive SIGILL, which I don't seem to understand -- it happens at a start
of a c++ based constructor in which the only difference from the rest of the
application is that stl is used.

I can't seem to get to the bottom of this, are there any compile/link flags,
which I am not using correctly or is there something else.

The code is built as 32bit  on hp, solaris, suse linux and redhat linux
without any problem and works fine, even on 64 bit version of redhat linux.

Can anybody help me out with this, please?

Regards,
Raja

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to