[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65460] mxe: build failure due to static? libr
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #65460] mxe: build failure due to static? library libssp_nonshared.la. |
Date: |
Wed, 13 Mar 2024 12:46:12 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?65460>
Summary: mxe: build failure due to static? library
libssp_nonshared.la.
Group: GNU Octave
Submitter: philipnienhuis
Submitted: Wed 13 Mar 2024 05:46:12 PM CET
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name: Philip Nienhuis
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Microsoft Windows
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 13 Mar 2024 05:46:12 PM CET By: Philip Nienhuis <philipnienhuis>
Since Monday I get crossbuild failures:
:
/bin/sh ./libtool --tag=CXX --mode=link x86_64-w64-mingw32-g++ -pthread
-fopenmp -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -no-undefined
-municode
-L/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/lib
-Wl,-rpath-link,"/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/lib"
-L"/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/lib"
-L"/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/qt6/lib"
-o src/octave-cli.exe src/octave_cli-main-cli.o
src/octave_cli-octave-build-info.o libinterp/liboctinterp.la
liboctave/liboctave.la libgnu/libgnu.la -lsundials_ida -lsundials_nvecserial
-lklu -lblas -lxerbla
-L"/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/lib"
-L"/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/qt6/lib"
-L/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/lib/gcc/x86_64-w64-mingw32/13.2.0
-L/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib
-L/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib
-lm -lgfortran -lmingw32 -lmoldname -lmingwex -lssp_nonshared -lssp -lmsvcrt
-lkernel32 -lquadmath -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32
-lshlwapi -lgdi32 -lpthread -lm
*** Warning: This system cannot link to static lib archive
/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/lib/gcc/x86_64-w64-mingw32/13.2.0/libssp_nonshared.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create
*** a static module, that should work as long as the dlopening application
*** is linked with the -dlopen flag to resolve symbols at runtime.
:
:
/bin/sh ./libtool --tag=CXX --mode=link x86_64-w64-mingw32-g++ -pthread
-fopenmp -Wall -W -Wshadow -Woverloaded-virtual -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -no-undefined
-municode
-L/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/lib
-Wl,-rpath-link,"/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/lib"
-L"/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/lib"
-L"/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/qt6/lib"
-o src/octave-cli.exe src/octave_cli-main-cli.o
src/octave_cli-octave-build-info.o libinterp/liboctinterp.la
liboctave/liboctave.la libgnu/libgnu.la -lsundials_ida -lsundials_nvecserial
-lklu -lblas -lxerbla
-L"/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/lib"
-L"/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/x86_64-w64-mingw32/qt6/lib"
-L/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/lib/gcc/x86_64-w64-mingw32/13.2.0
-L/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib/../lib
-L/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/lib
-lm -lgfortran -lmingw32 -lmoldname -lmingwex -lssp_nonshared -lssp -lmsvcrt
-lkernel32 -lquadmath -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32
-lshlwapi -lgdi32 -lpthread -lm
*** Warning: This system cannot link to static lib archive
/home/philip/devel/octdev/mxe/mxe_64b_20240131H/usr/lib/gcc/x86_64-w64-mingw32/13.2.0/libssp_nonshared.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create
*** a static module, that should work as long as the dlopening application
*** is linked with the -dlopen flag to resolve symbols at runtime.
:
:
libtool: link: ( cd "libgui/.libs" && rm -f "liboctgui.la" && ln -s
"../liboctgui.la" "liboctgui.la" )
make[4]: Leaving directory
'/home/philip/devel/octdev/mxe/mxe_64b_20240131H/tmp-default-octave/octave-10.0.0/.build'
make[3]: *** [Makefile:28202: install-recursive] Error 1
make[3]: Leaving directory
'/home/philip/devel/octdev/mxe/mxe_64b_20240131H/tmp-default-octave/octave-10.0.0/.build'
make[2]: *** [Makefile:28509: install] Error 2
make[2]: Leaving directory
'/home/philip/devel/octdev/mxe/mxe_64b_20240131H/tmp-default-octave/octave-10.0.0/.build'
make[1]: *** [/home/philip/devel/octdev/mxe/mxe_64b_20240131H/Makefile:1006:
build-only-default-octave] Error 2
make[1]: Leaving directory '/home/philip/devel/octdev/mxe/mxe_64b_20240131H'
The verbatim above is from an older mxe build tree but a newly cloned and
started one gave exactly the same issues.
On Linux Octave builds and runs fine, so I suppose it must be related to
recent mxe-octave changes.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65460>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65460] mxe: build failure due to static? library libssp_nonshared.la.,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #65460] mxe: build failure due to static? library libssp_nonshared.la., Philip Nienhuis, 2024/03/14
- [Octave-bug-tracker] [bug #65460] mxe: build failure due to static? library libssp_nonshared.la., Markus Mützel, 2024/03/14
- [Octave-bug-tracker] [bug #65460] mxe: build failure due to static? library libssp_nonshared.la., Philip Nienhuis, 2024/03/14
- [Octave-bug-tracker] [bug #65460] mxe: build failure due to static? library libssp_nonshared.la., Markus Mützel, 2024/03/14
- [Octave-bug-tracker] [bug #65460] mxe: build failure due to static? library libssp_nonshared.la., Philip Nienhuis, 2024/03/14
- [Octave-bug-tracker] [bug #65460] mxe: build failure due to static? library libssp_nonshared.la., Philip Nienhuis, 2024/03/14
- [Octave-bug-tracker] [bug #65460] mxe: build failure due to static? library libssp_nonshared.la., Markus Mützel, 2024/03/14
- [Octave-bug-tracker] [bug #65460] mxe: build failure due to static? library libssp_nonshared.la., Philip Nienhuis, 2024/03/15