Posted by
Dirk Eddelbuettel on
May 06, 2002; 9:54pm
URL: http://quantlib.414.s1.nabble.com/Re-Bug-146071-quantlib-ruby-0-3-0-1-hppa-unstable-need-ffunction-sections-on-hppa-tp10086.html
Ok, now that I got ql-ruby built, here is the first failure report on
non-i386.
Dirk
----- Forwarded message from
[hidden email] -----
Envelope-to:
[hidden email]
Delivery-date: Mon, 06 May 2002 22:03:15 -0500
Subject: Bug#146071: quantlib-ruby_0.3.0-1(hppa/unstable): need -ffunction-sections on hppa
Reply-To:
[hidden email],
[hidden email]
From:
[hidden email]
To:
[hidden email]
Package: quantlib-ruby
Version: 0.3.0-1
Severity: important
There was an error while trying to autobuild your package:
> Automatic build of quantlib-ruby_0.3.0-1 on sarti by sbuild/hppa 1.169
> Build started at 20020507-0347
[...]
> ** Using build dependencies supplied by package:
> Build-Depends: debhelper (>= 3.0.0), ruby (>= 1.6.7), ruby-dev (>= 1.6.7), libquantlib0-dev (>= 0.3.0), g++ [!ia64], g++-3.0 [ia64], gcc [!ia64], gcc-3.0 [ia64]
[...]
> g++ -shared -L/usr/lib -o QuantLibc.so quantlib_wrap.o -L. -lruby -lc -lQuantLib
> /usr/bin/ld: quantlib_wrap.o(.text+0x3ef08): cannot reach 0000002e__ZN8QuantLib17FiniteDifferences23firstDerivativeAtCenterERKNS_5ArrayES3_+0, recompile with -ffunction-sections
[...]
> /usr/bin/ld: final link failed: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [QuantLibc.so] Error 1
> make[1]: Leaving directory `/build/buildd/quantlib-ruby-0.3.0'
> ./QuantLibc.so -> debian/quantlib-ruby/usr/lib/ruby/1.6/hppa-linux/QuantLibc.so
> /usr/lib/ruby/1.6/ftools.rb:13:in `size': No such file or directory - "./QuantLibc.so" (Errno::ENOENT)
> from /usr/lib/ruby/1.6/ftools.rb:13:in `syscopy'
> from /usr/lib/ruby/1.6/ftools.rb:46:in `copy'
> from /usr/lib/ruby/1.6/ftools.rb:147:in `install'
> from setup.rb:222
> from setup.rb:203:in `call'
> from setup.rb:96:in `execute'
> from setup.rb:237
> Installing QuantLib-Ruby...
> make: *** [install-stamp] Error 1
A full build log can be found at:
http://buildd.debian.org/build.php?arch=hppa&pkg=quantlib-ruby&ver=0.3.0-1----- End forwarded message -----
--
Good judgement comes from experience; experience comes from bad judgement.
-- Fred Brooks