bugGNU Octave - Bugs: bug #48786, Can't build MXE-Octave

 
 

bug #48786: Can't build MXE-Octave

Submitter:  Avinoam Kalma <avinoam>
Submitted:  Sun 14 Aug 2016 09:14:55 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Avinoam Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 28 Aug 2016 07:36:56 PM UTC, comment #12: 

Confirmed. Closing report.

Avinoam Kalma <avinoam>
Group Member
Sun 28 Aug 2016 03:42:29 PM UTC, comment #11: 

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/1442ae783e1f

It seems to fix the problem for me.  Can someone confirm and close this report?

John W. Eaton <jwe>
Group administrator
Sun 21 Aug 2016 07:37:26 PM UTC, comment #10: 

@Philip, comment #5: rebuilding everything from scratch with thread lib change results in compiled working packages for me.

It may be that whatever made the change to what libraries are linked against made it incompatible with older compiles.

John Donoghue <lostbard>
Group Member
Thu 18 Aug 2016 07:07:44 PM UTC, comment #9: 

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


 

John Donoghue <lostbard>
Group Member
Wed 17 Aug 2016 06:51:55 PM UTC, comment #8: 

Even with gomp installed, it fails the same way.

Looking at the command that fails on a octave version that worked vs does not work (some spaces added between parts of the command to make easier to read):

Worked version:


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
/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/crtbegin.o
liboctave/.libs/liboctave_liboctave_la-liboctave-build-info.o
-Wl,--whole-archive
liboctave/array/.libs/libarray.a
liboctave/cruft/ranlib/.libs/libranlib.a
liboctave/cruft/.libs/libcruft.a
liboctave/numeric/.libs/libnumeric.a
liboctave/operators/.libs/liboperators.a
liboctave/system/.libs/libsystem.a
liboctave/util/.libs/libutil.a
liboctave/wrappers/.libs/libwrappers.a
libgnu/.libs/libgnu.a
-Wl,--no-whole-archive
-L/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib
-luser32 -lkernel32 -luser32 -lkernel32 -luser32 -lkernel32
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libcurl.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libidn.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libssh2.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libgcrypt.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libgpg-error.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libgnutls.dll.a
-lnettle -lhogweed
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libgmp.dll.a
-lcrypt32
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libintl.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libiconv.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libpcreposix.dll.a
-lwldap32 -lz -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -larpack
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libqrupdate.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libfftw3.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libfftw3f.dll.a
-llapack -lblas -lreadline -ltermcap
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libpcre.dll.a
-L/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3
-L/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/../../../../i686-w64-mingw32/lib/../lib
-L/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/../../../../i686-w64-mingw32/lib
/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/libgfortran.dll.a
-L/home/johnd/mxe-octave/build-dev/usr/mingw/lib
-lmingw32 -lmoldname -lmingwex -lmsvcrt
/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 -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -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 -mieee-fp -g -O2
-Wl,-rpath-link
-Wl,/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib
-Wl,--export-all-symbols -pthread   -pthread
-o liboctave/.libs/liboctave-3.dll -Wl,--enable-auto-image-base
-Xlinker --out-implib -Xlinker liboctave/.libs/liboctave.dll.a



Doesn't work version:

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
/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/crtbegin.o
liboctave/.libs/liboctave_liboctave_la-liboctave-build-info.o
-Wl,--whole-archive
liboctave/array/.libs/libarray.a
liboctave/cruft/ranlib/.libs/libranlib.a
liboctave/cruft/.libs/libcruft.a
liboctave/numeric/.libs/libnumeric.a
liboctave/operators/.libs/liboperators.a
liboctave/system/.libs/libsystem.a
liboctave/util/.libs/libutil.a
liboctave/wrappers/.libs/libwrappers.a
libgnu/.libs/libgnu.a
-Wl,--no-whole-archive
-L/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib
-luser32 -lkernel32 -luser32 -lkernel32 -luser32 -lkernel32
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libcurl.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libidn.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libssh2.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libgcrypt.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libgpg-error.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libgnutls.dll.a
-lnettle -lhogweed
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libgmp.dll.a
-lcrypt32
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libintl.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libiconv.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libpcreposix.dll.a
-lwldap32 -lz -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -larpack
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libqrupdate.dll.a
-lblas
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libfftw3.dll.a
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libfftw3f.dll.a
-llapack -lopenblas -lreadline -ltermcap
/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libpcre.dll.a
-L/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3
-L/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/../../../../i686-w64-mingw32/lib/../lib
-L/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/../../../../i686-w64-mingw32/lib
/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/libgfortran.dll.a
-L/home/johnd/mxe-octave/build-dev/usr/mingw/lib
-lmingw32 -lmoldname -lmingwex -lmsvcrt
/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
/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
-Wl,/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib
-Wl,--export-all-symbols
-pthread   -pthread -fopenmp
-o liboctave/.libs/liboctave-3.dll -Wl,--enable-auto-image-base
-Xlinker --out-implib -Xlinker liboctave/.libs/liboctave.dll.a




Diffing the 2 output above:


--- a1.txt        2016-08-17 14:38:08.132985005 -0400
+++ a2.txt        2016-08-17 14:45:14.002927796 -0400
@@ -1,4 +1,4 @@
-work:
+doesnt work:
 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
@@ -31,9 +31,10 @@
 /home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libpcreposix.dll.a
 -lwldap32 -lz -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -larpack
 /home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libqrupdate.dll.a
+-lblas
 /home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libfftw3.dll.a
 /home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libfftw3f.dll.a
--llapack -lblas -lreadline -ltermcap
+-llapack -lopenblas -lreadline -ltermcap
 /home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib/libpcre.dll.a
 -L/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3
 -L/home/johnd/mxe-octave/build-dev/usr/lib/gcc/i686-w64-mingw32/4.9.3/../../../../i686-w64-mingw32/lib/../lib
@@ -44,12 +45,13 @@
 /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 -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt
+-lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -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 -mieee-fp -g -O2
+-pthread -fopenmp -mieee-fp -g -O2
 -Wl,-rpath-link
 -Wl,/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/lib
--Wl,--export-all-symbols -pthread   -pthread
+-Wl,--export-all-symbols
+-pthread   -pthread -fopenmp
 -o liboctave/.libs/liboctave-3.dll -Wl,--enable-auto-image-base
 -Xlinker --out-implib -Xlinker liboctave/.libs/liboctave.dll.a



John Donoghue <lostbard>
Group Member
Wed 17 Aug 2016 05:04:14 PM UTC, comment #7: 

In mxe, it doesn't look like gomp is a dependant of default-octave, so maybe isn't being built before octave is.

I will try a build with gomp installed to see if that compiles vs not on a new build.

John Donoghue <lostbard>
Group Member
Wed 17 Aug 2016 11:59:26 AM UTC, comment #6: 

On a failed build:


 C compiler:                  i686-w64-mingw32-gcc -std=gnu11  -pthread -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 -mieee-fp  -Wall -W -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O


So pthread is there, but I don't see openmp in the log.

John Donoghue <lostbard>
Group Member
Wed 17 Aug 2016 11:17:01 AM UTC, comment #5: 

Perhaps a red herring here, but I find that cross-built OF packages with binary modules all seem to be miscompiled. Any attempt to invoke an .oct file leads to a hard crash.

Reinstalling those OF packages with the -forge flag leads to functional and well-performing OF packages.

Based on dev Octave + mxe-octave updated to 15 aug evening (CET), mxe-octave with JohnD's -lpthread fix.

Philip Nienhuis <philipnienhuis>
Group Member
Wed 17 Aug 2016 04:05:19 AM UTC, comment #4: 

Part of config.log on the revision where build is in failure


configure:51339: checking for pthread_kill in -lpthread
configure:51372: x86_64-w64-mingw32-gcc -std=gnu11 -o conftest.exe -g -O2 -pthread -fopenmp -I/home/tatsuro/work/octave/mxe-octave/mxe-octave-dev-w64/usr/x86_64-w64-mingw32/include -Wl,-rpath-link,/home/tatsuro/work/octave/mxe-octave/mxe-octave-dev-w64/usr/x86_64-w64-mingw32/lib -L/home/tatsuro/work/octave/mxe-octave/mxe-octave-dev-w64/usr/x86_64-w64-mingw32/lib conftest.c -lpthread  -lm   -lgdi32 -lws2_32 -luser32 -lkernel32 -lgdi32 -lws2_32 -luser32 -lkernel32 >&5
configure:51372: $? = 0
configure:51381: result: yes


And final configure output is :


  PTHREAD flags:               -pthread


Archived full config.log is attached.


(file #38238)

Tatsuro MATSUOKA <tmacchant>
Tue 16 Aug 2016 11:19:47 PM UTC, comment #3: 

May have something to do with the interaction between the cross-build environment setup and the XTRA_CFLAGS / XTRA_CXXFLAGS environment variables.

I have an mxe-octave build from several months ago that contains this in the log file:


  C compiler:                  x86_64-w64-mingw32-gcc -std=gnu11  -pthread -fopenmp  -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
  C++ compiler:                x86_64-w64-mingw32-g++ -std=gnu++11  -pthread -fopenmp  -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2


Are the -pthread and -fopenmp options missing now?

Mike Miller <mtmiller>
Group Member
Tue 16 Aug 2016 03:08:24 PM UTC, comment #2: 

Not the fix, but I can default to compile again by this change in mxe-octave:


diff -r 5352d36730eb src/default-octave.mk
--- a/src/default-octave.mk        Mon Aug 15 08:18:03 2016 -0400
+++ b/src/default-octave.mk        Tue Aug 16 11:01:29 2016 -0400
@@ -84,7 +84,7 @@
 else
   $(PKG)_PREFIX := '$(HOST_PREFIX)'
   $(PKG)_EXTRA_CONFIGURE_OPTIONS := \
-    LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR)'
+    LDFLAGS='-Wl,-rpath-link,$(HOST_LIBDIR) -L$(HOST_LIBDIR) -lpthread'
 endif

 ifeq ($(MXE_SYSTEM),mingw)


John Donoghue <lostbard>
Group Member
Mon 15 Aug 2016 09:06:18 PM UTC, comment #1: 

Build breaks at changeset 22234:66dd260512a4 : allow configure to select Qt version


John Donoghue <lostbard>
Group Member
Sun 14 Aug 2016 09:14:55 PM UTC, original submission:  

see "(mxe-octave) build failure default branch (1c840b2fd337)" http://lists.gnu.org/archive/html/octave-maintainers/2016-08/msg00127.html

Avinoam Kalma <avinoam>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #38238:  config.log.bz2 added by tmacchant (119KiB - application/x-bzip)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by tmacchant (Updated the item)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by avinoam (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-28 avinoam StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2016-08-28 jwe StatusConfirmed Ready For Test
    2016-08-17 tmacchant Attached File- Added config.log.bz2, #38238
    2016-08-16 mtmiller Dependencies- bugs #48803 is dependent

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code