Hi all, I've uploaded candidate tarballs for the 0.3.13 release into <http://quantlib.org/prerelease/>. Please try to compile them and run the test suite on your machines. If there's no showstoppers, I'll release them in a few days (yes, Dirk, they're the final ones.) Thanks, Luigi ---------------------------------------- The young man knows the rules, but the old man knows the exceptions. -- O. W. Holmes |
Hi all, I've updated the tarballs in <http://quantlib.org/prerelease/> to include the last couple of fixes. I'll release them on Monday if there's no further problems. Later, Luigi ---------------------------------------- I have made this letter longer than usual, only because I have not had the time to make it shorter. -- B. Pascal |
In reply to this post by Luigi Ballabio
On 26 July 2006 at 18:43, Luigi Ballabio wrote: | I've uploaded candidate tarballs for the 0.3.13 release into | <http://quantlib.org/prerelease/>. Please try to compile them and run | the test suite on your machines. If there's no showstoppers, I'll | release them in a few days (yes, Dirk, they're the final ones.) With special thanks to Joerg from the ftp maintainer team, the new package (with its new library-version based name libquantlib-0.3.13) was added a mere 12 hours after I uploaded it. It has already hit the build daemons -- see http://buildd.debian.org/build.php?pkg=quantlib -- and we already have eight successful builds. However, and here is the bad piece: it failed on hppa with an actual error. See make[4]: Leaving directory `/build/buildd/quantlib-0.3.13/ql/VolatilityModels' make[4]: Entering directory `/build/buildd/quantlib-0.3.13/ql' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -D_REENTRANT -fpermissive -o libQuantLib.la -rpath /build/buildd/quantlib-0.3.13/debian/libquantlib-0.3.13/usr/lib -release 0.3.13 calendar.lo currency.lo date.lo discretizedasset.lo errors.lo exchangerate.lo exercise.lo index.lo interestrate.lo money.lo prices.lo schedule.lo stochasticprocess.lo timegrid.lo voltermstructure.lo Calendars/libCalendars.la CashFlows/libCashFlows.la Currencies/libCurrencies.la DayCounters/libDayCounters.la FiniteDifferences/libFiniteDifferences.la Indexes/libIndexes.la Instruments/libInstruments.la Lattices/libLattices.la Math/libMath.la MonteCarlo/libMonteCarlo.la Optimization/libOptimization.la Pricers/libPricers.la PricingEngines/libPricingEngines.la Processes/libProcesses.la RandomNumbers/libRandomNumbers.la ShortRateModels/libShortRateModels.la TermStructures/libTermStructures.la Utilities/libUtilities.la Volatilities/libVolatilities.la VolatilityModels/libVolatilityModels.la g++ -shared -nostdlib /usr/lib/gcc/hppa-linux-gnu/4.1.2/../../../crti.o /usr/lib/gcc/hppa-linux-gnu/4.1.2/crtbeginS.o .libs/calendar.o .libs/currency.o .libs/date.o .libs/discretizedasset.o .libs/errors.o .libs/exchangerate.o .libs/exercise.o .libs/index.o .libs/interestrate.o .libs/money.o .libs/prices.o .libs/schedule.o .libs/stochasticprocess.o .libs/timegrid.o .libs/voltermstructure.o -Wl,--whole-archive Calendars/.libs/libCalendars.a CashFlows/.libs/libCashFlows.a Currencies/.libs/libCurrencies.a DayCounters/.libs/libDayCounters.a FiniteDifferences/.libs/libFiniteDifferences.a Indexes/.libs/libIndexes.a Instruments/.libs/libInstruments.a Lattices/.libs/libLattices.a Math/.libs/libMath.a MonteCarlo/.libs/libMonteCarlo.a Optimization/.libs/libOptimization.a Pricers/.libs/libPricers.a PricingEngines/.libs/libPricingEngines.a Processes/.libs/libProcesses.a RandomNumbers/.libs/libRandomNumbers.a ShortRateModels/.libs/libShortRateModels.a TermStructures/.libs/libTermStructures.a Utilities/.libs/libUtilities.a Volatilities/.libs/libVolatilities.a VolatilityModels/.libs/libVolatilityModels.a -Wl,--no-whole-archive -L/usr/lib/gcc/hppa-linux-gnu/4.1.2 -L/usr/lib/gcc/hppa-linux-gnu/4.1.2/../../.. -lstdc++ -lm -lgcc -lc -lgcc_s /usr/lib/gcc/hppa-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/hppa-linux-gnu/4.1.2/../../../crtn.o -Wl,-soname -Wl,libQuantLib-0.3.13.so -o .libs/libQuantLib-0.3.13.so -L/usr/lib/gcc/hppa-linux-gnu/4.1.2 -L/usr/lib/gcc/hppa-linux-gnu/4.1.2/../../.. -lstdc++ -lm -lgcc -lc -lgcc_s Pricers/.libs/libPricers.a(mcdiscretearithmeticaso.o):(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' Pricers/.libs/libPricers.a(mccliquetoption.o):(.data+0x0): first defined here Pricers/.libs/libPricers.a(mceverest.o):(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' Pricers/.libs/libPricers.a(mccliquetoption.o):(.data+0x0): first defined here Pricers/.libs/libPricers.a(mchimalaya.o):(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' Pricers/.libs/libPricers.a(mccliquetoption.o):(.data+0x0): first defined here Pricers/.libs/libPricers.a(mcmaxbasket.o):(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' Pricers/.libs/libPricers.a(mccliquetoption.o):(.data+0x0): first defined here Pricers/.libs/libPricers.a(mcpagoda.o):(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' Pricers/.libs/libPricers.a(mccliquetoption.o):(.data+0x0): first defined here Pricers/.libs/libPricers.a(mcperformanceoption.o):(.data+0x0): multiple definition of `_ZN8QuantLib8McPricerIT_T0_E10minSample_E' Pricers/.libs/libPricers.a(mccliquetoption.o):(.data+0x0): first defined here PricingEngines/.libs/libPricingEngines.a(mc_discr_geom_av_price.o):(.data+0x0): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' PricingEngines/.libs/libPricingEngines.a(mc_discr_arith_av_price.o):(.data+0x0): first defined here PricingEngines/.libs/libPricingEngines.a(mcbarrierengine.o):(.data+0x0): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' PricingEngines/.libs/libPricingEngines.a(mc_discr_arith_av_price.o):(.data+0x0): first defined here PricingEngines/.libs/libPricingEngines.a(mcbasketengine.o):(.data+0x0): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' PricingEngines/.libs/libPricingEngines.a(mc_discr_arith_av_price.o):(.data+0x0): first defined here PricingEngines/.libs/libPricingEngines.a(mchullwhiteengine.o):(.data+0x0): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' PricingEngines/.libs/libPricingEngines.a(mc_discr_arith_av_price.o):(.data+0x0): first defined here PricingEngines/.libs/libPricingEngines.a(mcdigitalengine.o):(.data+0x0): multiple definition of `_ZN8QuantLib12McSimulationIT_T0_E10minSample_E' PricingEngines/.libs/libPricingEngines.a(mc_discr_arith_av_price.o):(.data+0x0): first defined here collect2: ld returned 1 exit status make[4]: *** [libQuantLib.la] Error 1 make[4]: Leaving directory `/build/buildd/quantlib-0.3.13/ql' Any ideas why this works on nine architecture but fails on hppa ? Dirk | Thanks, | Luigi | | | ---------------------------------------- | | The young man knows the rules, but the old man knows the exceptions. | -- O. W. Holmes | | ------------------------------------------------------------------------- | Take Surveys. Earn Cash. Influence the Future of IT | Join SourceForge.net's Techsay panel and you'll get the chance to share your | opinions on IT & business topics through brief surveys -- and earn cash | http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV | _______________________________________________ | QuantLib-dev mailing list | [hidden email] | https://lists.sourceforge.net/lists/listinfo/quantlib-dev -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison |
On 07/28/2006 11:48:14 PM, Dirk Eddelbuettel wrote: > it failed on hppa with an actual error. Dirk, apologies for the delay. You might try to patch the source for hppa only (can you do this?) I'm attaching the (untested) patch to this message. Later, Luigi ---------------------------------------- Steinbach's Guideline for Systems Programming: Never test for an error condition you don't know how to handle. hppa.patch (1K) Download Attachment |
On 3 August 2006 at 11:57, Luigi Ballabio wrote: | | On 07/28/2006 11:48:14 PM, Dirk Eddelbuettel wrote: | > it failed on hppa with an actual error. | | Dirk, | apologies for the delay. You might try to patch the source for | hppa only (can you do this?) Nope. Source is generic. But #ifdef could be my friend ... | I'm attaching the (untested) patch to | this message. Thanks. Hppa tried the 0.3.13-2 today and failed, so I will need to fix this. Hm, looking at the patch -- Why wouldn't we want the patch on all arches? Dirk | Later, | Luigi | | | ---------------------------------------- | | Steinbach's Guideline for Systems Programming: | Never test for an error condition you don't know how to handle. | Index: ql/Pricers/mcpricer.hpp | =================================================================== | RCS file: //cvsroot/quantlib/QuantLib/ql/Pricers/mcpricer.hpp,v | retrieving revision 1.37 | diff -C3 -r1.37 mcpricer.hpp | *** ql/Pricers/mcpricer.hpp 18 Mar 2005 09:14:10 -0000 1.37 | --- ql/Pricers/mcpricer.hpp 3 Aug 2006 09:58:11 -0000 | *************** | *** 53,65 **** | protected: | McPricer() {} | mutable boost::shared_ptr<MonteCarloModel<MC,S> > mcModel_; | ! static const Size minSample_; | }; | | | - template<class MC, class S> | - const Size McPricer<MC,S>::minSample_ = 1023; | - | // inline definitions | template<class MC, class S> | inline Real McPricer<MC,S>::value(Real tolerance, | --- 53,62 ---- | protected: | McPricer() {} | mutable boost::shared_ptr<MonteCarloModel<MC,S> > mcModel_; | ! static const Size minSample_ = 1023; | }; | | | // inline definitions | template<class MC, class S> | inline Real McPricer<MC,S>::value(Real tolerance, | | ------------------------------------------------------------------------- | Take Surveys. Earn Cash. Influence the Future of IT | Join SourceForge.net's Techsay panel and you'll get the chance to share your | opinions on IT & business topics through brief surveys -- and earn cash | http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ | QuantLib-dev mailing list | [hidden email] | https://lists.sourceforge.net/lists/listinfo/quantlib-dev -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison |
In reply to this post by Luigi Ballabio
Luigi, On 3 August 2006 at 11:57, Luigi Ballabio wrote: | | On 07/28/2006 11:48:14 PM, Dirk Eddelbuettel wrote: | > it failed on hppa with an actual error. | | Dirk, | apologies for the delay. You might try to patch the source for | hppa only (can you do this?) I'm attaching the (untested) patch to | this message. That's didn't do it, and my poking around didn't help either. So I cried for help in front of Debian's hppa crowd, and Randolph had mercy with me. Better still, he also had the smarts of figuring out that it is a genuine g++ bug by bisecting back to version 4.0 first. He now filed this upstream at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28620 with title [4.1 regression] static const member in template class \ leads to multiple definitions at linktime Thanks to Randolph for all the help. I guess I have to wait til this is fixed in a g++ revision as Debian has g++ 4.1 as a release goal so I can't really backtrack to g++. Or well maybe now for a while but I probably have to go to 4.1 anyway (which appens to build QuantLib on all other platforms). Cheers, Dirk | Later, | Luigi | | | ---------------------------------------- | | Steinbach's Guideline for Systems Programming: | Never test for an error condition you don't know how to handle. | Index: ql/Pricers/mcpricer.hpp | =================================================================== | RCS file: //cvsroot/quantlib/QuantLib/ql/Pricers/mcpricer.hpp,v | retrieving revision 1.37 | diff -C3 -r1.37 mcpricer.hpp | *** ql/Pricers/mcpricer.hpp 18 Mar 2005 09:14:10 -0000 1.37 | --- ql/Pricers/mcpricer.hpp 3 Aug 2006 09:58:11 -0000 | *************** | *** 53,65 **** | protected: | McPricer() {} | mutable boost::shared_ptr<MonteCarloModel<MC,S> > mcModel_; | ! static const Size minSample_; | }; | | | - template<class MC, class S> | - const Size McPricer<MC,S>::minSample_ = 1023; | - | // inline definitions | template<class MC, class S> | inline Real McPricer<MC,S>::value(Real tolerance, | --- 53,62 ---- | protected: | McPricer() {} | mutable boost::shared_ptr<MonteCarloModel<MC,S> > mcModel_; | ! static const Size minSample_ = 1023; | }; | | | // inline definitions | template<class MC, class S> | inline Real McPricer<MC,S>::value(Real tolerance, | | ------------------------------------------------------------------------- | Take Surveys. Earn Cash. Influence the Future of IT | Join SourceForge.net's Techsay panel and you'll get the chance to share your | opinions on IT & business topics through brief surveys -- and earn cash | http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ | QuantLib-dev mailing list | [hidden email] | https://lists.sourceforge.net/lists/listinfo/quantlib-dev -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison |
Free forum by Nabble | Edit this page |