Menu

#78 QuantLib fails to compile on Fedora 9

closed-wont-fix
None
5
2009-02-17
2008-11-24
McCraic
No

Hello,

I am trying to compile QuantLib-0.9.7 on a Fedora 9 X86_64 box using gcc-4.3.0-8.x86_64 and gcc-c++-4.3.0-8.x86_64. Everything compiles fine until I get the following error.

Making all in test-suite
make[1]: Entering directory `Quantlib/QuantLib-0.9.7/test-suite'
if g++ -DHAVE_CONFIG_H -I. -I. -I../ql -I.. -I.. -DQL_WORKING_BOOST_STREAMS -g -O2 -Wall -MT riskstats.o -MD -MP -MF ".deps/riskstats.Tpo" -c -o riskstats.o riskstats.cpp; \ then mv -f ".deps/riskstats.Tpo" ".deps/riskstats.Po"; else rm -f ".deps/riskstats.Tpo"; exit 1; fi
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[1]: *** [riskstats.o] Error 1
make[1]: Leaving directory `Quantlib/QuantLib-0.9.7/test-suite'
make: *** [all-recursive] Error 1
[root@R2T2 QuantLib-0.9.7]#

Any ideas on how to fix this?

Thanks,

Patrick

Discussion

  • Luigi Ballabio

    Luigi Ballabio - 2009-02-17
    • assigned_to: nobody --> lballabio
    • status: open --> closed-wont-fix
     
  • Luigi Ballabio

    Luigi Ballabio - 2009-02-17

    You can try reducing the optimization level.
    Other than that, the compiler doesn't give enough information for us to make any sensible change.

     

Log in to post a comment.