The Debian package fails to build now on mipsel, a log is at [1]. The gist seems to be a relocation error:
g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -O0 -g0 -mxgot --param ggc-min-expand=20 -DBOOST_NO_AUTO_PTR build/temp.linux-mips64-cpython-311/QuantLib/quantlib_wrap.o -L/usr/lib/mips64el-linux-gnuabi64 -L/usr/lib -lQuantLib -o build/lib.linux-mips64-cpython-311/QuantLib/_QuantLib.cpython-311-mips64el-linux-gnuabi64.so -fopenmp build/temp.linux-mips64-cpython-311/QuantLib/quantlib_wrap.o: in function `virtual thunk to QuantLib::HimalayaOption::arguments::~arguments()': quantlib_wrap.cpp:(.text._ZN8QuantLib14HimalayaOption9argumentsD1Ev[_ZN8QuantLib14HimalayaOption9argumentsD1Ev]+0x104): relocation truncated to fit: R_MIPS_GOT_PAGE against `.text._ZN8QuantLib14HimalayaOption9argumentsD1Ev' Luigi, and idea if that is a known swig-on-mips64el issue and if we can addres it with particular flag? As the Debian bug report at [2] states, "this used to work" and I didn't change anything for the 1.32 pair of quantlib and quantlib-swig. For quantlib-swig, and for a few years now, I set some exotic compiler flags: ifneq "$(findstring $(cpu), mipsel mips mips64el)" "" compilerflags = -O0 -g0 -mxgot --param ggc-min-expand=20 -DBOOST_NO_AUTO_PTR endif but that mostly came from trying to keep the build with time or ram limits. Any hints would be most welcome. Cheers, Dirk [1] https://buildd.debian.org/status/fetch.php?pkg=quantlib-swig&arch=mips64el&ver=1.32-1&stamp=1698321785&raw=0 [2] https://bugs.debian.org/1054921, also in CC for this email -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org