Public bug reported:

Ubuntu 11.10
picolisp-3.0.7.7-2

The math functions, which are loaded dynamically at runtime in PicoLisp,
are not linked into the executable.

Test:
   $ pil +
   : (load "@lib/math.l")
   -> atan2
   : (cos 0.5)
   !? (native "@" "cos" 1000000 "Dbl1")
   [DLL] /usr/bin/picolisp: undefined symbol: cos

Obviously uses the Ubuntu build process "-Wl,--as-needed" as the
default. As a result, the "-lm" command line argument to 'gcc' has no
effect. This problem does not occur in the original Debian build.

** Affects: picolisp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/874841

Title:
  PicoLisp math functions are broken in 64-bit build for Oneiric

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/picolisp/+bug/874841/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to