Posted by
Ian.Bellinfantie on
URL: http://quantlib.414.s1.nabble.com/Floating-Rate-Bond-dumps-core-on-AIX-5-3-tp6731p6739.html
Hi Luigi
The make of boost fails for a lot of modules as seen below. I'm using
IBM's linux toolkit version of gcc version 4.2.0. the extract below is
the start and this keeps going for a while with the failures, and the
consistent message
internal compiler error: Segmentation fault
So I've only pasted an extract.
root@dataqdev /usr/apps/quant >cd boost_1_36_0
root@dataqdev /usr/apps/quant/boost_1_36_0 >
root@dataqdev /usr/apps/quant/boost_1_36_0 >
root@dataqdev /usr/apps/quant/boost_1_36_0 >
root@dataqdev /usr/apps/quant/boost_1_36_0 >make
./tools/jam/src/bin.aix/bjam --user-config=user-config.jam
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to
the
note: directories containing the Expat headers and libraries,
respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).
...patience...
...patience...
...patience...
...found 5269 targets...
...updating 723 targets...
gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/acosh.o
libs/math/build/../src/tr1/acosh.cpp:16: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:
http://gcc.gnu.org/bugs.html> for instructions.
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1
-DNDEBUG -I" ." -c -o
"bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/acosh.o"
"libs/math/build/../src/tr1/acosh.cpp"
...failed gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/acosh.o...
gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/asinh.o
libs/math/build/../src/tr1/asinh.cpp:16: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:
http://gcc.gnu.org/bugs.html> for instructions.
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1
-DNDEBUG -I" ." -c -o
"bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/asinh.o"
"libs/math/build/../src/tr1/asinh.cpp"
...failed gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/asinh.o...
gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/atanh.o
libs/math/build/../src/tr1/atanh.cpp:16: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:
http://gcc.gnu.org/bugs.html> for instructions.
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1
-DNDEBUG -I" ." -c -o
"bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/atanh.o"
"libs/math/build/../src/tr1/atanh.cpp"
...failed gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/atanh.o...
gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/cbrt.o
libs/math/build/../src/tr1/cbrt.cpp:16: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:
http://gcc.gnu.org/bugs.html> for instructions.
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-fPIC -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1
-DNDEBUG -I" ." -c -o
"bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/cbrt.o"
"libs/math/build/../src/tr1/cbrt.cpp"
...failed gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/cbrt.o...
root@dataqdev /usr/apps/quant/boost_1_36_0 >
Then you might have a few lines of successes
...failed gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/expm1f.o...
gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/fmaxf.o
gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/fminf.o
gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/fpclassifyf.o
gcc.compile.c++
bin.v2/libs/math/build/gcc-4.2.0/release/threading-multi/hypotf.o
libs/math/build/../src/tr1/hypotf.cpp:20: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:
http://gcc.gnu.org/bugs.html> for instructions.
The make continues to the end building only some of boost.
If I ignore these errors, assuming it built only what was compatible for
AIX, and go on to build Quantlib, I get a good make upto conundrumpricer
then it core dumps and stops. I even tried going back a level to
QuantLib-0.9.0, which failed at the same point. Have also tried
exporting CC=xlC or CXX=xlC but boost just uses the g++ compiler.
root@dataqdev /usr/apps/quant/QuantLib-0.9.6 >make
Making all in config
Target "all" is up to date.
Making all in ql
make all-recursive
Making all in cashflows
if /bin/sh ../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT averagebmacoupon.lo
-MD -MP -MF ".deps/averagebmacoupon.Tpo" -c -o averagebmacoupon.lo
averagebmacoupon.cpp; then mv -f ".deps/averagebmacoupon.Tpo"
".deps/averagebmacoupon.Plo"; else rm -f ".deps/averagebmacoupon.Tpo";
exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT averagebmacoupon.lo -MD
-MP -MF .deps/averagebmacoupon.Tpo -c averagebmacoupon.cpp -DPIC -o
.libs/averagebmacoupon.o
if /bin/sh ../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT capflooredcoupon.lo
-MD -MP -MF ".deps/capflooredcoupon.Tpo" -c -o capflooredcoupon.lo
capflooredcoupon.cpp; then mv -f ".deps/capflooredcoupon.Tpo"
".deps/capflooredcoupon.Plo"; else rm -f ".deps/capflooredcoupon.Tpo";
exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT capflooredcoupon.lo -MD
-MP -MF .deps/capflooredcoupon.Tpo -c capflooredcoupon.cpp -DPIC -o
.libs/capflooredcoupon.o
if /bin/sh ../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT cashflows.lo -MD -MP
-MF ".deps/cashflows.Tpo" -c -o cashflows.lo cashflows.cpp; then mv -f
".deps/cashflows.Tpo" ".deps/cashflows.Plo"; else rm -f
".deps/cashflows.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT cashflows.lo -MD -MP
-MF .deps/cashflows.Tpo -c cashflows.cpp -DPIC -o .libs/cashflows.o
if /bin/sh ../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT cashflowvectors.lo
-MD -MP -MF ".deps/cashflowvectors.Tpo" -c -o cashflowvectors.lo
cashflowvectors.cpp; then mv -f ".deps/cashflowvectors.Tpo"
".deps/cashflowvectors.Plo"; else rm -f ".deps/cashflowvectors.Tpo";
exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT cashflowvectors.lo -MD
-MP -MF .deps/cashflowvectors.Tpo -c cashflowvectors.cpp -DPIC -o
.libs/cashflowvectors.o
if /bin/sh ../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT cmscoupon.lo -MD -MP
-MF ".deps/cmscoupon.Tpo" -c -o cmscoupon.lo cmscoupon.cpp; then mv -f
".deps/cmscoupon.Tpo" ".deps/cmscoupon.Plo"; else rm -f
".deps/cmscoupon.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT cmscoupon.lo -MD -MP
-MF .deps/cmscoupon.Tpo -c cmscoupon.cpp -DPIC -o .libs/cmscoupon.o
if /bin/sh ../../libtool --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT conundrumpricer.lo
-MD -MP -MF ".deps/conundrumpricer.Tpo" -c -o conundrumpricer.lo
conundrumpricer.cpp; then mv -f ".deps/conundrumpricer.Tpo"
".deps/conundrumpricer.Plo"; else rm -f ".deps/conundrumpricer.Tpo";
exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../..
-I/usr/local/include/boost-1_36 -g -O2 -Wall -MT conundrumpricer.lo -MD
-MP -MF .deps/conundrumpricer.Tpo -c conundrumpricer.cpp -DPIC -o
.libs/conundrumpricer.o
conundrumpricer.cpp:912: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:
http://gcc.gnu.org/bugs.html> for instructions.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
The problem is identifying what combination of O/S , compiler and
Quantlib works with AIX. Does anyone use it on AIX ?
Thanks
Ian
-----Original Message-----
From: Luigi Ballabio [mailto:
[hidden email]]
Sent: 21 October 2008 10:20
To: quanter
Cc:
[hidden email]
Subject: Re: [Quantlib-users] Floating Rate Bond dumps core on AIX 5.3
On Tue, 2008-10-21 at 01:22 -0700, quanter wrote:
> you're lucky you have a working quantlib in AIX5.3 environment to run
it in.
Actually, I don't. Sorry if I gave that impression somehow, but I don't
use AIX.
Maybe someone else can step in and answer the following?
> I cant get my combination to compile. Can you tell me which compiler
> you used with QuantLib-0.9.0 ? and where you got it from , i.e. IBM
> toolbox, IBM or linux xlC ? and have you tried QuantLib-0.9.6 ?
> also the version of boost you used with this ?
Or if not, what compilation errors do you have?
Luigi
--
Hanlon's Razor:
Never attribute to malice that which is adequately explained by
stupidity.
------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-usersEuler Hermes is the world's premier credit insurer, offering solutions for the management of trade receivables, from credit insurance and financing of trade receivables to bonding and guarantees. Euler Hermes is a subsidiary of AGF and a member of Allianz. www.eulerhermes.com
-------------------------------------
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, notify the sender immediately and destroy this e-mail. Any unauthorised use, copying, disclosure or distribution of the contents of this e-mail is strictly forbidden and may be unlawful.
Read our full e-mail disclaimer statement and monitoring policy
(
http://www.eulerhermes.com/group/en/disclaim) before taking any action based on the contents of this e-mail.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users