Open rtoy opened 6 days ago
Imported from SourceForge on 2024-07-02 13:26:32 Created by pcpa on 2010-03-04 20:44:53 Original: https://sourceforge.net/p/maxima/patches/42
ECL wants ld-flags as a properly formatted list of strings, but maxima passes it as a one element list.
I opened a bug report earlier for ecl but it was closed, see: https://sourceforge.net/tracker/?func=detail&aid=2962219&group\_id=30035&atid=398053
Attached is a "better/proper" patch then the first one I made, to correct the issue in maxima.
This properly pass the ld-flags. Example/cut&paste from rpm build log:
;;; Note: Invoking external command: ;;; x86_64-mandriva-linux-gnu-gcc -o "/home/pcpa/rpm/BUILD/maxima-5.20.1/src/binary-ecl/maxima" -L"/usr/lib64/" "/tmp/ECLINITWfqz7L.o" "/home/pcpa/rpm/BUILD/maxima-5.20.1/src/binary-ecl/maxima-package.o" <really-really-long-list-of-files-here> "-Wl,--as-needed" "-Wl,--no-undefined" "-Wl,-z,relro" "-Wl,-O1" -lecl -lgmp -lgc -lpthread -ldl -lm make[1]: Leaving directory `/home/pcpa/rpm/BUILD/maxima-5.20.1/src' Making all in lisp-utils
Imported from SourceForge on 2024-07-02 13:26:32 Created by pcpa on 2010-03-04 20:44:53 Original: https://sourceforge.net/p/maxima/patches/42/#a47b
maxima-5.20.1-ecl-ldflags.patch
Attachments:
Imported from SourceForge on 2024-07-02 13:26:32 Created by pcpa on 2010-03-04 20:44:53 Original: https://sourceforge.net/p/maxima/patches/42
ECL wants ld-flags as a properly formatted list of strings, but maxima passes it as a one element list.
I opened a bug report earlier for ecl but it was closed, see: https://sourceforge.net/tracker/?func=detail&aid=2962219&group\_id=30035&atid=398053
Attached is a "better/proper" patch then the first one I made, to correct the issue in maxima.
This properly pass the ld-flags. Example/cut&paste from rpm build log:
;;; Note: Invoking external command: ;;; x86_64-mandriva-linux-gnu-gcc -o "/home/pcpa/rpm/BUILD/maxima-5.20.1/src/binary-ecl/maxima" -L"/usr/lib64/" "/tmp/ECLINITWfqz7L.o" "/home/pcpa/rpm/BUILD/maxima-5.20.1/src/binary-ecl/maxima-package.o" <really-really-long-list-of-files-here> "-Wl,--as-needed" "-Wl,--no-undefined" "-Wl,-z,relro" "-Wl,-O1" -lecl -lgmp -lgc -lpthread -ldl -lm make[1]: Leaving directory `/home/pcpa/rpm/BUILD/maxima-5.20.1/src' Making all in lisp-utils