[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos
From: |
Ben Abbott |
Subject: |
[Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos |
Date: |
Mon, 31 Dec 2018 04:49:42 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15 |
Follow-up Comment #13, bug #55033 (project octave):
Comparing verbose output from mkoctfile. Octave 4.2.1 works and Octave 6.0.0
fails.
Octave-6.0.0 Compile:
g++ -std=gnu++11 -c -I/usr/local/opt/readline/include
-I/usr/local/opt/sqlite/include -I/usr/local/opt/openssl/include
-I/usr/local/opt/gettext/include -I/usr/local/opt/icu4c/include
-I/usr/local/opt/qt5/include -I/usr/local/opt/sundials27/include
-I/usr/local/opt/zlib/include -fPIC
-I/usr/local/bpabbott/octave/include/octave-6.0.0/octave/..
-I/usr/local/bpabbott/octave/include/octave-6.0.0/octave
-I/usr/local/bpabbott/octave/include -D_THREAD_SAFE -pthread -g -O2 example.cc
-o /var/tmp//oct-x6OiAH.o
Octave-4.2.1 Compile:
clang++ -std=gnu++11 -c -fPIC
-I/usr/local/Cellar/octave/4.4.1_2/include/octave-4.4.1/octave/..
-I/usr/local/Cellar/octave/4.4.1_2/include/octave-4.4.1/octave
-I/usr/local/Cellar/octave/4.4.1_2/include -D_THREAD_SAFE -pthread
-I/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/include/darwin
example.cc -o example.o
Octave-6.0.0 Link:
g++ -std=gnu++11 -I/usr/local/bpabbott/octave/include/octave-6.0.0/octave/..
-I/usr/local/bpabbott/octave/include/octave-6.0.0/octave
-I/usr/local/bpabbott/octave/include -D_THREAD_SAFE -pthread -g -O2 -bundle
-bundle_loader /usr/local/bpabbott/octave/bin/octave-6.0.0 -o example.oct
/var/tmp//oct-x6OiAH.o -L/usr/local/bpabbott/octave/lib
-L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib
-L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib
-L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib
-L/usr/local/opt/icu4c/lib -F/usr/local/opt/qt5/lib
-L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib
-L/usr/local/opt/qrupdate/lib libinterp/liboctinterp.la
liboctave/liboctave.la
Octave-4.2.1 Link:
clang++ -std=gnu++11
-I/usr/local/Cellar/octave/4.4.1_2/include/octave-4.4.1/octave/..
-I/usr/local/Cellar/octave/4.4.1_2/include/octave-4.4.1/octave
-I/usr/local/Cellar/octave/4.4.1_2/include -D_THREAD_SAFE -pthread
-I/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/include
-I/Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home/include/darwin
-bundle -bundle_loader /usr/local/Cellar/octave/4.4.1_2/bin/octave-4.4.1 -o
example.oct example.o -L/usr/local/Cellar/octave/4.4.1_2/lib/octave/4.4.1
-L/usr/local/Cellar/octave/4.4.1_2/lib -loctinterp -loctave
There are other differences, but the two that stands out are " -loctinterp
-loctave" is missing from 6.0.0 and "ibinterp/liboctinterp.la
liboctave/liboctave.la" is present.
For both 4.2.1 and 6.0.0 "mkoctfile -p OCTAVE_LIBS" returns "-loctinterp
-loctave". But the link phase for 6.0.0 does not include these libs.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55033>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Rik, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Mike Miller, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Mike Miller, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Mike Miller, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/30
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Carlo de Falco, 2018/12/31
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/31
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos,
Ben Abbott <=
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/31
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Mike Miller, 2018/12/31
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Rik, 2018/12/31
- [Octave-bug-tracker] [bug #55033] mkoctfile link failure on macos, Ben Abbott, 2018/12/31