[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48786] Can't build MXE-Octave
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #48786] Can't build MXE-Octave |
Date: |
Thu, 18 Aug 2016 19:07:44 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586 |
Follow-up Comment #9, bug #48786 (project octave):
Redone compare to make sure I used the correct versions, and no other
patches.
Oly change between the 2 compile attempts is the changeset position:
doesnt work 22234: allow configure to select Qt version
does work 22233: don't use -Wshadow for GCC 4
Diff between the working vs non working compile line:
--- a5.txt 2016-08-18 14:50:06.502838340 -0400
+++ a3.txt 2016-08-18 14:50:54.453181519 -0400
@@ -1,4 +1,4 @@
-doesnt work 22234: allow configure to select Qt version
+does work 22233: don't use -Wshadow for GCC 4
libtool: link: i686-w64-mingw32-g++
-std=gnu++11 -shared -nostdlib
/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/../../../../i686-w64-mingw32/lib/../lib/dllcrt2.o
@@ -45,7 +45,9 @@
/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/libquadmath.dll.a
-ladvapi32 -lshell32 -luser32 -lkernel32 -luser32 -lkernel32 -luser32
-lkernel32 -luser32 -lkernel32 -lgdi32 -lws2_32 -luser32 -lkernel32
/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/libstdc++.dll.a
--lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32
-luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt
+-L/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/gcc/i686-w64-mingw32/4.9.3
+/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/gcc/i686-w64-mingw32/4.9.3/libgomp.dll.a
+-lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lpthread
-ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd -lmingw32 -lgcc_s -lgcc
-lmoldname -lmingwex -lmsvcrt
/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/crtend.o
-pthread -fopenmp -mieee-fp -g -O2
-Wl,-rpath-link
So the working version was including libgomp.dll.a, -lmingwthrd, -lpthread,
but no longer is.
In the configure when worked:
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for OpenMP flag of C compiler... -fopenmp
checking for OpenMP flag of C++ compiler... -fopenmp
checking omp.h usability... yes
checking omp.h presence... yes
checking for omp.h... yes
checking for omp_get_num_threads... yes
.
.
checking for fftw3 multi-threading support... yes
checking for fftw3f multi-threading support... yes
.
.
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
.
.
checking for pthread.h... (cached) yes
checking for pthread_kill in -lpthread... yes
checking for multithread API to use... posix
.
.
checking for pthread_rwlock_t... yes
.
checking whether pthread_sigmask is declared without a macro... no
.
.
C compiler: i686-w64-mingw32-gcc -std=gnu11 -pthread
-fopenmp -mieee-fp -Wall -W -Wformat -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
C++ compiler: i686-w64-mingw32-g++ -std=gnu++11 -pthread
-fopenmp -mieee-fp -Wall -W -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2
.
.
PTHREAD flags: -pthread
PTHREAD libraries:
OpenMP SMP multithreading: yes
And not working:
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for OpenMP flag of C compiler... -fopenmp
checking for OpenMP flag of C++ compiler... -fopenmp
checking omp.h usability... yes
checking omp.h presence... yes
checking for omp.h... yes
checking for omp_get_num_threads... yes
.
.
checking for fftw3 multi-threading support... yes
checking for fftw3f multi-threading support... yes
.
.
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
.
.
checking for pthread.h... (cached) yes
checking for pthread_kill in -lpthread... yes
checking for multithread API to use... posix
.
checking for pthread_rwlock_t... yes
.
checking whether pthread_sigmask is declared without a macro... no
.
C compiler: i686-w64-mingw32-gcc -std=gnu11 -pthread
-fopenmp -mieee-fp -Wall -W -Wformat -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
C++ compiler: i686-w64-mingw32-g++ -std=gnu++11 -pthread
-fopenmp -mieee-fp -Wall -W -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2
.
.
PTHREAD flags: -pthread
PTHREAD libraries:
OpenMP SMP multithreading: yes
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48786>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, Avinoam Kalma, 2016/08/14
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, John Donoghue, 2016/08/15
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, John Donoghue, 2016/08/16
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, Mike Miller, 2016/08/16
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, Tatsuro MATSUOKA, 2016/08/17
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, Philip Nienhuis, 2016/08/17
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, John Donoghue, 2016/08/17
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, John Donoghue, 2016/08/17
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, John Donoghue, 2016/08/17
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave,
John Donoghue <=
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, John Donoghue, 2016/08/21
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, John W. Eaton, 2016/08/28
- [Octave-bug-tracker] [bug #48786] Can't build MXE-Octave, Avinoam Kalma, 2016/08/28