Hi again,

The problems reported recently were all caused by code that is only compiled
(and only then causes compile errors) when certain libraries are missing.

In GNU APL many libraries are optional and it is close to impossible to test
all combinations of present and missing libraries. I normally run an automated
test suite before committing code changes to the SVN repositoy, but I cannot
remove all libraries to test the build when libraries are missing.

But, to address this issue, I have added a new *./configure* option named
*--without-optional_libs* which pretends that all optional libraries are missing (even though they are, in fact, not). This option works only for the compiler but
not for the linker (which should not really make a difference).

*SVN 1919* was tested with that option and compiled well on my box.

My current TODO list is empty, but due to the number off recent trouble
reports I may have missed some. If you have reported a problem that is
not fixed in *SVN 1919*, then please let me know.

Best Regards,
Jürgen


On 11/28/25 16:39, Dr. Jürgen Sauermann wrote:
Hi,

thanks. Hopefully all fixed in *SVN 1915*.

Best Regards,
Jürgen


On 11/28/25 08:35, Russtopia wrote:
Hi,

I pulled latest code today and encountered a build failure. Seems, for me at least, to have begun with r1913. Tail of build output below.

./configure was run with no other arguments prior to build;
I did a complete fresh svn co and got the same error on build.

Build environment:

$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/12.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-12.3.0/configure --disable-libssp --disable-multilib --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/12.3.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.3.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.3.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/12.3.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/include/g++-v12.3.0 --enable-clocale=gnu --host=x86_64-pc-linux-gnu --enable-obsolete --disable-werror --enable-libmudflap --enable-secureplt --enable-lto --with-system-zlib --with-bugurl=http://bugs.funtoo.org --with-pkgversion='Funtoo 12.3.0' --enable-stage1-checking=assert,runtime,misc,tree,gc,rtlflag --enable-checking=assert,runtime --enable-languages=c,c++,fortran --disable-libgcj --enable-threads=posix --enable-__cxa_atexit --enable-libstdcxx-time --enable-libgomp --disable-bootstrap --enable-shared --build=x86_64-pc-linux-gnu --disable-libsanitizer --enable-default-pie --enable-default-ssp --disable-libstdcxx-pch --disable-vtable-verify --disable-libvtv --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/12.3.0/python --enable-nls --with-included-gettext --with-arch=znver3
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.3.0 (Funtoo 12.3.0)

---
[tail of build output]
...
g++ -DHAVE_CONFIG_H -I. -I..  -Wall  -I sql -I /home/russtopia/pkgs/apl/trunk -I/usr/include     -g -O2 -I /home/russtopia/pkgs/apl/trunk -MT sql/apl-Connection.o -MD -MP -MF sql/.deps/apl-Connection.Tpo -c -o sql/apl-Connection.o `test -f 'sql/Connection.cc' || echo './'`sql/Connection.cc mv -f sql/.deps/apl-SqliteArgListBuilder.Tpo sql/.deps/apl-SqliteArgListBuilder.Po mv -f sql/.deps/apl-SqliteConnection.Tpo sql/.deps/apl-SqliteConnection.Po
mv -f .deps/apl-static_Objects.Tpo .deps/apl-static_Objects.Po
mv -f sql/.deps/apl-SqliteResultValue.Tpo sql/.deps/apl-SqliteResultValue.Po
mv -f sql/.deps/apl-SqliteProvider.Tpo sql/.deps/apl-SqliteProvider.Po
mv -f sql/.deps/apl-Connection.Tpo sql/.deps/apl-Connection.Po
mv -f .deps/apl-Value.Tpo .deps/apl-Value.Po
mv -f .deps/apl-Workspace.Tpo .deps/apl-Workspace.Po
/bin/sh ../libtool  --tag=CXX   --mode=link g++ -Wall  -I sql -I /home/russtopia/pkgs/apl/trunk     -I/usr/include -g -O2 -I /home/russtopia/pkgs/apl/trunk -L/usr/local/lib -export-dynamic  -L/usr/lib -lsqlite3   -o apl apl-main.o apl-Plot_xcb.o apl-Archive.o apl-Assert.o apl-Avec.o apl-Backtrace.o apl-Bif_F12_COMMA.o apl-Bif_F12_DOMINO.o apl-Bif_F12_INDEX_OF.o apl-Bif_F12_INTERVAL_INDEX.o apl-Bif_F12_FORMAT.o apl-Bif_F12_PARTITION_PICK.o apl-Bif_F12_SORT.o apl-Bif_F12_TAKE_DROP.o apl-Bif_OPER1_COMMUTE.o apl-Bif_OPER1_EACH.o apl-Bif_OPER2_POWER.o apl-Bif_OPER2_INNER.o apl-Bif_OPER2_OUTER.o apl-Bif_OPER2_RANK.o apl-Bif_OPER1_REDUCE.o apl-Bif_OPER1_SCAN.o apl-CDR.o apl-Cell.o apl-Doxy.o apl-CharCell.o apl-Command.o apl-Common.o apl-ComplexCell.o apl-DerivedFunction.o apl-DiffOut.o apl-DynamicObject.o apl-Error.o apl-Executable.o apl-FloatCell.o apl-Function.o apl-Id.o apl-IndexExpr.o apl-IndexIterator.o apl-InputFile.o apl-IntCell.o apl-IO_Files.o apl-LApack.o apl-LibPaths.o apl-LineInput.o apl-Logging.o apl-LvalCell.o apl-Malloc_hooks.o apl-Nabla.o apl-Macro.o apl-Missing_Libraries.o apl-NamedObject.o apl-NativeFunction.o apl-NumericCell.o apl-Output.o apl-Parallel.o apl-Parser.o apl-Performance.o apl-PointerCell.o apl-Prefix.o apl-Plot_line_properties.o apl-Plot_data.o apl-Plot_window_properties.o apl-PrimitiveFunction.o apl-PrintBuffer.o apl-QR_factorization_GSL.o apl-QuadFunction.o apl-ProcessorID.o apl-Quad_CR.o apl-Quad_DLX.o apl-Quad_FFT.o apl-Quad_FIO.o apl-Quad_FX.o apl-Quad_GTK.o apl-Quad_JSON.o apl-Quad_MAP.o apl-Quad_MX.o apl-Quad_PLOT.o apl-Quad_PNG.o apl-Quad_RE.o apl-Quad_RL.o apl-Quad_RVAL.o apl-Quad_SQL.o apl-Quad_SVx.o apl-Quad_TF.o apl-Quad_WA.o apl-Quad_XML.o apl-RealCell.o apl-sbrk.o apl-Shape.o apl-ScalarFunction.o apl-Security.o apl-StateIndicator.o apl-Svar_DB.o apl-Svar_record.o apl-Symbol.o apl-SymbolTable.o apl-SystemVariable.o apl-TabExpansion.o apl-Thread_context.o apl-Token.o apl-Tokenizer.o apl-UCS_string.o apl-UCS_string_vector.o apl-UserFunction.o apl-UserFunction_header.o apl-UserPreferences.o apl-UTF8_string.o apl-Value.o apl-ValueHistory.o apl-Workspace.o apl-static_Objects.o apl-Regexp.o sql/apl-SqliteArgListBuilder.o sql/apl-SqliteConnection.o sql/apl-SqliteResultValue.o sql/apl-SqliteProvider.o sql/apl-Connection.o   -lpcre2-32 -lz -lpng -lfftw3 -lX11-xcb -lxcb -lX11 -lc -ldl -lm -lncurses -lcurses -lnsl -lpthread  -lpcre2-32 -lz -lpng -lfftw3 -lX11-xcb -lxcb -lX11 -lc -ldl -lm -lncurses -lcurses -lnsl -lpthread libtool: link: g++ -Wall -I sql -I /home/russtopia/pkgs/apl/trunk -I/usr/include -g -O2 -I /home/russtopia/pkgs/apl/trunk -o apl apl-main.o apl-Plot_xcb.o apl-Archive.o apl-Assert.o apl-Avec.o apl-Backtrace.o apl-Bif_F12_COMMA.o apl-Bif_F12_DOMINO.o apl-Bif_F12_INDEX_OF.o apl-Bif_F12_INTERVAL_INDEX.o apl-Bif_F12_FORMAT.o apl-Bif_F12_PARTITION_PICK.o apl-Bif_F12_SORT.o apl-Bif_F12_TAKE_DROP.o apl-Bif_OPER1_COMMUTE.o apl-Bif_OPER1_EACH.o apl-Bif_OPER2_POWER.o apl-Bif_OPER2_INNER.o apl-Bif_OPER2_OUTER.o apl-Bif_OPER2_RANK.o apl-Bif_OPER1_REDUCE.o apl-Bif_OPER1_SCAN.o apl-CDR.o apl-Cell.o apl-Doxy.o apl-CharCell.o apl-Command.o apl-Common.o apl-ComplexCell.o apl-DerivedFunction.o apl-DiffOut.o apl-DynamicObject.o apl-Error.o apl-Executable.o apl-FloatCell.o apl-Function.o apl-Id.o apl-IndexExpr.o apl-IndexIterator.o apl-InputFile.o apl-IntCell.o apl-IO_Files.o apl-LApack.o apl-LibPaths.o apl-LineInput.o apl-Logging.o apl-LvalCell.o apl-Malloc_hooks.o apl-Nabla.o apl-Macro.o apl-Missing_Libraries.o apl-NamedObject.o apl-NativeFunction.o apl-NumericCell.o apl-Output.o apl-Parallel.o apl-Parser.o apl-Performance.o apl-PointerCell.o apl-Prefix.o apl-Plot_line_properties.o apl-Plot_data.o apl-Plot_window_properties.o apl-PrimitiveFunction.o apl-PrintBuffer.o apl-QR_factorization_GSL.o apl-QuadFunction.o apl-ProcessorID.o apl-Quad_CR.o apl-Quad_DLX.o apl-Quad_FFT.o apl-Quad_FIO.o apl-Quad_FX.o apl-Quad_GTK.o apl-Quad_JSON.o apl-Quad_MAP.o apl-Quad_MX.o apl-Quad_PLOT.o apl-Quad_PNG.o apl-Quad_RE.o apl-Quad_RL.o apl-Quad_RVAL.o apl-Quad_SQL.o apl-Quad_SVx.o apl-Quad_TF.o apl-Quad_WA.o apl-Quad_XML.o apl-RealCell.o apl-sbrk.o apl-Shape.o apl-ScalarFunction.o apl-Security.o apl-StateIndicator.o apl-Svar_DB.o apl-Svar_record.o apl-Symbol.o apl-SymbolTable.o apl-SystemVariable.o apl-TabExpansion.o apl-Thread_context.o apl-Token.o apl-Tokenizer.o apl-UCS_string.o apl-UCS_string_vector.o apl-UserFunction.o apl-UserFunction_header.o apl-UserPreferences.o apl-UTF8_string.o apl-Value.o apl-ValueHistory.o apl-Workspace.o apl-static_Objects.o apl-Regexp.o sql/apl-SqliteArgListBuilder.o sql/apl-SqliteConnection.o sql/apl-SqliteResultValue.o sql/apl-SqliteProvider.o sql/apl-Connection.o -Wl,--export-dynamic  -L/usr/local/lib -L/usr/lib -lsqlite3 -lpcre2-32 -lz -lpng -lfftw3 -lX11-xcb -lxcb -lX11 -lc -ldl -lm -lncurses -lcurses -lnsl -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: apl-Quad_MX.o: warning: relocation against `_ZTV7Quad_MX' in read-only section `.text.startup' /usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: apl-Quad_MX.o: in function `Quad_MX::Quad_MX()': /home/russtopia/pkgs/apl/trunk/src/Quad_MX.cc:1222: undefined reference to `vtable for Quad_MX' /usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: apl-Quad_MX.o: in function `Quad_MX::Quad_MX()': /home/russtopia/pkgs/apl/trunk/src/Quad_MX.cc:1222: undefined reference to `vtable for Quad_MX' /usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1567: apl] Error 1
make[3]: Leaving directory '/home/russtopia/pkgs/apl/trunk/src'
make[2]: *** [Makefile:5425: all-recursive] Error 1
make[2]: Leaving directory '/home/russtopia/pkgs/apl/trunk/src'
make[1]: *** [Makefile:556: all-recursive] Error 1
make[1]: Leaving directory '/home/russtopia/pkgs/apl/trunk'
make: *** [Makefile:444: all] Error 2
russtopia@tripe:~/pkgs/apl/trunk$ svn log -l 4
------------------------------------------------------------------------
r1914 | j_sauermann | 2025-11-27 08:35:20 -0800 (Thu, 27 Nov 2025) | 1 line


------------------------------------------------------------------------
r1913 | j_sauermann | 2025-11-26 10:29:33 -0800 (Wed, 26 Nov 2025) | 1 line

streamlining of function groups
------------------------------------------------------------------------
r1912 | j_sauermann | 2025-11-17 08:50:50 -0800 (Mon, 17 Nov 2025) | 1 line

documentation update
------------------------------------------------------------------------


  • Build failure ... Russtopia
    • Re: Build... Dr . Jürgen Sauermann via Bugs and suggestions for GNU APL
      • Re: B... Bill Heagy
      • Re: B... Bill Heagy
      • Re: B... Paul Rockwell
        • R... Dr . Jürgen Sauermann via Bugs and suggestions for GNU APL
          • ... Paul Rockwell
      • Re: B... Dr . Jürgen Sauermann via Bugs and suggestions for GNU APL

Reply via email to