Dear autogen folks :
Well it has come to this I guess. I need to reach out on the mail
list and bother people because I can not figure out how to get autogen
to compile. For some reason that I can not make sense of. Here are the
details :
(1) the machine is running a stripped down Devuan Linux stable.
When I say "stripped down" I mean there is very little installed
on it. There is no OpenSSH and no OpenSSL nor much of anything
that will ever listen on a network port. I did that on purpose.
The only access is via a serial port console login. Anything
that I need will be built from sources into either /usr/local or
some place like /opt/bw.
(2) the machine can mount NFSv3 file systems and that is how I have
access to a very basic toolchain with GCC 13.2.0 and binutils
with a few other things. Those work pretty darn well.
(3) trying to configure and build autogen-5.18.16 gives me nothing
but a heart ache with messages that I can not understand. I have
run configure four times with different ( and fewer ) options
each time until it worked.
So here are some of the tools that have already been built and tested :
e#
e# iconv --version
iconv (GNU libiconv 1.17)
Copyright (C) 2000-2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Bruno Haible.
e#
e# gettext --version
gettext (GNU gettext-runtime) 0.22.4
Copyright (C) 1995-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.
e#
e# info --version
info (GNU texinfo) 7.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
e#
e# as --version
GNU assembler (GNU Binutils) 2.41
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-pc-linux-gnu'.
e#
e# autoconf --version
autoconf (GNU Autoconf) 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>,
<https://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
e#
I should point out that autoconf is just a disaster to build from
the source tarball at ftp.gnu.org. On any sort of a current Linux
server it blows up with catastrophic failure in its own testsuite.
It took days and multiple people to finally figure out that the
"release" tarball at ftp.gnu.org seriously needs a patch. Which we
did and then it pretty much passes its own testsuite.[1]
e# automake --version
automake (GNU automake) 1.16.5
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later
<https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <tro...@redhat.com>
and Alexandre Duret-Lutz <a...@gnu.org>.
e#
e# xz --version
xz (XZ Utils) 5.4.5
liblzma 5.4.5
e#
Also libxml2-2.9.12 :
e# xmllint --version
xmllint: using libxml version 20912
compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1
FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv
ISO8859X Unicode Regexps Automata Schemas Schematron Modules Debug Zlib
Lzma
e#
e# guile --version
guile (GNU Guile) 3.0.9
Copyright (C) 2023 Free Software Foundation, Inc.
License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
e#
Also, of course, there is a neatly bootstrapped GCC :
e#
e# which gcc
/opt/bw/gcc13/bin/gcc
e#
e# gcc --version
gcc (GENUNIX Sun Nov 26 23:15:09 UTC 2023) 13.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
e#
So it seems reasonable to build autogen into the tool chain here. It has
taken hours to figure out a configure line that does not blow up with
some strange message. Finally we landed on this gem :
e# ./configure --prefix=/opt/bw --disable-silent-rules \
--enable-shared --enable-static --enable-debug --with-gnu-ld \
--with-libxml2=/opt/bw --disable-dependency-tracking
The output from that seems to be reasonably sane :
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
A U T O G E N
GNU AutoGen-5.18.16
libopts.la-42:1:17
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... /opt/bw/gcc13/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /opt/bw/gcc13/bin/gcc accepts -g... yes
checking for /opt/bw/gcc13/bin/gcc option to accept ISO C89... none needed
checking whether /opt/bw/gcc13/bin/gcc understands -c and -o together... yes
checking dependency style of /opt/bw/gcc13/bin/gcc... none
checking how to run the C preprocessor... /opt/bw/gcc13/bin/gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by /opt/bw/gcc13/bin/gcc... /opt/bw/bin/ld
checking if the linker (/opt/bw/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/bw/bin/nm -p
checking the name lister (/opt/bw/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to
x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /opt/bw/bin/ld option to reload object files... -r
checking for objdump... /opt/bw/bin/objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... /opt/bw/bin/strip
checking for ranlib... /opt/bw/bin/ranlib
checking command to parse /opt/bw/bin/nm -p output from
/opt/bw/gcc13/bin/gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /opt/bw/gcc13/bin/gcc supports -fno-rtti -fno-exceptions... no
checking for /opt/bw/gcc13/bin/gcc option to produce PIC... -fPIC -DPIC
checking if /opt/bw/gcc13/bin/gcc PIC flag -fPIC -DPIC works... yes
checking if /opt/bw/gcc13/bin/gcc static flag -static works... yes
checking if /opt/bw/gcc13/bin/gcc supports -c -o file.o... yes
checking if /opt/bw/gcc13/bin/gcc supports -c -o file.o... (cached) yes
checking whether the /opt/bw/gcc13/bin/gcc linker (/opt/bw/bin/ld -m
elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking if malloc debugging is wanted... no
checking for /opt/bw/gcc13/bin/gcc option to accept ISO C99... none needed
checking for /opt/bw/gcc13/bin/gcc option to accept ISO Standard C...
(cached) none needed
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking for texi2html... :
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for dlopen in -ldl... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for long double with more range or precision than double... yes
checking for long long... yes
checking for uintmax_t... yes
checking for size_t... (cached) yes
checking for wchar_t... yes
checking size of char*... 8
checking size of int... 4
checking size of long... 8
checking size of short... 2
checking for unsigned long long int... yes
checking for struct stat.st_mtim... yes
checking for struct stat.st_mtimensec... no
checking for struct stat.st_mtimespec... no
checking for strchr... yes
checking for strlcpy... no
checking for snprintf... yes
checking for dlopen... yes
checking for utimensat... yes
checking for clock_gettime... yes
checking for library containing copysign... none required
checking for library containing copysignl... none required
checking for library containing modfl... none required
checking libio.h usability... no
checking libio.h presence... no
checking for libio.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking whether sigsetjmp is declared... yes
checking whether sys_siglist is declared... no
checking for putenv... yes
checking for getdate_r... yes
checking for utimes... yes
checking for futimes... yes
checking for inline... (cached) inline
checking for long long int... yes
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for fgrep... (cached) /bin/grep -F
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 2.2
configure: found guile 2.2
checking for ld... /opt/bw/bin/ld -m elf_x86_64
checking if the linker (/opt/bw/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking host CPU and C ABI... x86_64
checking for the common suffixes of directories in the library search
path... lib,lib
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/procset.h usability... no
checking sys/procset.h presence... no
checking for sys/procset.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/stropts.h usability... no
checking sys/stropts.h presence... no
checking for sys/stropts.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for dlfcn.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for memory.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for inttypes.h... (cached) yes
checking for working stdnoreturn.h... yes
checking for runetype.h... no
checking for wchar.h... yes
checking for wchar_t... (cached) yes
checking for wint_t... yes
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for intptr_t... yes
checking for uintptr_t... yes
checking for uint_t... no
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for ptrdiff_t... yes
checking size of char *... 8
checking size of int... (cached) 4
checking size of long... (cached) 8
checking size of short... (cached) 2
checking for pathfind in -lgen... no
checking for gettext in -lintl... no
checking for vprintf... yes
checking for _doprnt... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for mmap... yes
checking for canonicalize_file_name... yes
checking for snprintf... (cached) yes
checking for strdup... yes
checking for strchr... (cached) yes
checking for strrchr... yes
checking for strsignal... yes
checking for fchmod... yes
checking for fstat... yes
checking for chmod... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking whether shell scripts are desired... yes
checking for vfork.h... (cached) no
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking whether using shell scripts... yes
checking whether statically link autogen to libopts... no
checking whether setjmp() links okay... yes
checking whether __attribute__((format_arg(n))) works... yes
checking whether sigsetjmp() links okay... yes
checking whether with-libxml2-cflags was specified... no
checking whether with-libxml2-libs was specified... no
checking whether libxml2 can be linked with... no
checking whether sysinfo(2) is Solaris... no
checking whether specify an autogen timeout... no
checking whether strcspn matches prototype and works... no
checking whether uname(2) is POSIX... yes
checking whether runtime library dirs can be specified... -Wl,-R${libdir}
checking whether name of the packager of this software is supplied... no
checking whether packager-specific version information is supplied... no
checking whether bug reporting URI/e-mail/etc. is supplied... no
checking for GUILE... yes
checking whether a reg expr header is specified... no
checking whether with-libregex was specified... no
checking whether with-libregex-cflags was specified... no
checking whether with-libregex-libs was specified... no
checking whether libregex functions properly... yes
checking whether pathfind(3) works... no
checking whether /dev/zero is readable device... crw-rw-rw- 1 root root
1, 5 Nov 29 15:06 /dev/zero
checking whether we have a functional realpath(3C)... yes
checking whether strftime() works... yes
checking whether fopen accepts "b" mode... yes
checking whether fopen accepts "t" mode... yes
checking whether not wanting optional option args... yes
checking for fopencookie... yes
checking for static inline... static inline
checking for working stdnoreturn.h... (cached) yes
checking if malloc debugging is wanted... no
checking for gawk... (cached) mawk
checking for runetype.h... (cached) no
checking for wchar.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for wchar_t... (cached) yes
checking for wint_t... (cached) yes
checking for long double... yes
checking for strtoul... yes
checking for ldexpl... yes
checking for frexpl... yes
checking for log in -lm... yes
checking for copysign... yes
checking for copysignl... yes
checking whether ln -s works... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating autoopts/mk-autoopts-pc
config.status: creating autoopts/autoopts-config
config.status: creating autoopts/tpl/tpl-config.tlib
config.status: creating doc/auto_gen.tpl
config.status: creating autoopts/test/defs
config.status: creating config/mk-shdefs
config.status: creating pkg/pkg-env
config.status: creating Makefile
config.status: creating agen5/Makefile
config.status: creating agen5/test/Makefile
config.status: creating autoopts/Makefile
config.status: creating autoopts/test/Makefile
config.status: creating columns/Makefile
config.status: creating compat/Makefile
config.status: creating doc/Makefile
config.status: creating getdefs/Makefile
config.status: creating getdefs/test/Makefile
config.status: creating pkg/Makefile
config.status: creating snprintfv/Makefile
config.status: creating xml2ag/Makefile
config.status: creating xml2ag/test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing stamp-h commands
------------------------------------------------------------------------
Configuration:
Source code location: .
Compiler: /opt/bw/gcc13/bin/gcc
Compiler flags: -g -O0 -m64 -fno-builtin -fno-fast-math
-ffp-contract=off -fno-unsafe-math-optimizations -malign-double
-march=k8 -mtune=k8 -mieee-fp -mhard-float -mpc80 -m128bit-long-double
-mlong-double-80 -mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing
Host System Type: x86_64-pc-linux-gnu
Install path: /opt/bw
See config.h for further configuration information.
------------------------------------------------------------------------
e#
So myself and some other people have looked over that from top to bottom
and see nothing that jumps out screaming at us. So we all face east with
a black cat under a full moon and watch "make" utter this mess :
/bin/bash config/mk-shdefs config/shdefs
+ exec
++ mktemp --suffix=.tdir -d /tmp/shdefs-XXXXXXXXX
+ tmp=/tmp/shdefs-d6gafPwiB.tdir
+ exec
config.status: creating shdef-temp
make all-recursive
make[1]: Entering directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001'
Making all in compat
make[2]: Entering directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/compat'
:
make[2]: Leaving directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/compat'
Making all in snprintfv
make[2]: Entering directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/snprintfv'
for f in filament.c format.c printf.c mem.c stream.c custom.c ; do echo
"#include \"$f\"" ; done > snv.c
/bin/bash ../libtool --tag=CC --mode=compile /opt/bw/gcc13/bin/gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -D_LARGEFILE64_SOURCE -g -O0 -m64
-fno-builtin -fno-fast-math -ffp-contract=off
-fno-unsafe-math-optimizations -malign-double -march=k8 -mtune=k8
-mieee-fp -mhard-float -mpc80 -m128bit-long-double -mlong-double-80
-mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -c -o snv.lo snv.c
libtool: compile: /opt/bw/gcc13/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I..
-D_LARGEFILE64_SOURCE -g -O0 -m64 -fno-builtin -fno-fast-math
-ffp-contract=off -fno-unsafe-math-optimizations -malign-double
-march=k8 -mtune=k8 -mieee-fp -mhard-float -mpc80 -m128bit-long-double
-mlong-double-80 -mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -c snv.c -fPIC -DPIC -o .libs/snv.o
libtool: compile: /opt/bw/gcc13/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I..
-D_LARGEFILE64_SOURCE -g -O0 -m64 -fno-builtin -fno-fast-math
-ffp-contract=off -fno-unsafe-math-optimizations -malign-double
-march=k8 -mtune=k8 -mieee-fp -mhard-float -mpc80 -m128bit-long-double
-mlong-double-80 -mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -c snv.c -o snv.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link /opt/bw/gcc13/bin/gcc -g
-O0 -m64 -fno-builtin -fno-fast-math -ffp-contract=off
-fno-unsafe-math-optimizations -malign-double -march=k8 -mtune=k8
-mieee-fp -mhard-float -mpc80 -m128bit-long-double -mlong-double-80
-mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -no-undefined -L/opt/bw/lib -o libsnprintfv.la
snv.lo -lm -ldl
libtool: link: /opt/bw/bin/ar cru .libs/libsnprintfv.a .libs/snv.o
libtool: link: /opt/bw/bin/ranlib .libs/libsnprintfv.a
libtool: link: ( cd ".libs" && rm -f "libsnprintfv.la" && ln -s
"../libsnprintfv.la" "libsnprintfv.la" )
make[2]: Leaving directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/snprintfv'
Making all in autoopts
make[2]: Entering directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/autoopts'
make all-recursive
make[3]: Entering directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/autoopts'
Making all in test
make[4]: Entering directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/autoopts/test'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/autoopts/test'
make[4]: Entering directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/autoopts'
LGCFLAGS="-I/opt/bw/include/guile/3.0 -I/opt/bw -I/opt/bw/include " \
AGexe="/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/agen5/autogen"
GDexe="/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/getdefs/getdefs"
CLexe="/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/columns/columns"
srcdir="." top_srcdir=".." builddir="." top_builddir=".."
AO_AGE="17" AO_CURRENT="42" AO_REVISION="1" POSIX_SHELL="/bin/bash" \
/bin/bash ./mk-tpl-config.sh tpl-config-stamp autoopts/options.h
autoopts/usage-txt.h genshell.h option-xat-attribute.h
option-value-type.h ao-strs.h ag-char-map.h save-flags.h autoopts.h
project.h proto.h parse-duration.c ao-strs.c option-value-type.c
option-xat-attribute.c save-flags.c autoopts.c alias.c boolean.c
check.c configfile.c cook.c enum.c env.c file.c
find.c genshell.c load.c makeshell.c nested.c numeric.c
pgusage.c putshell.c reset.c restore.c save.c sort.c stack.c
streqvcmp.c text_mmap.c time.c tokenize.c usage.c version.c
init.c
/bin/bash ../libtool --tag=CC --mode=compile /opt/bw/gcc13/bin/gcc
-DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts -D_LARGEFILE64_SOURCE
-DPKGDATADIR='"/opt/bw/share/autogen"' -g -O0 -m64 -fno-builtin
-fno-fast-math -ffp-contract=off -fno-unsafe-math-optimizations
-malign-double -march=k8 -mtune=k8 -mieee-fp -mhard-float -mpc80
-m128bit-long-double -mlong-double-80 -mstackrealign
-mpreferred-stack-boundary=8 -Wl,-rpath=/opt/bw/lib,--enable-new-dtags
-Wno-format-contains-nul -fno-strict-aliasing -Wall -Werror -Wcast-align
-Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes
-Wwrite-strings -Wstrict-aliasing=3 -Wextra -Wno-cast-qual -g -O0 -m64
-fno-builtin -fno-fast-math -ffp-contract=off
-fno-unsafe-math-optimizations -malign-double -march=k8 -mtune=k8
-mieee-fp -mhard-float -mpc80 -m128bit-long-double -mlong-double-80
-mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -c -o libopts_la-libopts.lo `test -f 'libopts.c' ||
echo './'`libopts.c
libtool: compile: /opt/bw/gcc13/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I..
-I../autoopts -D_LARGEFILE64_SOURCE
-DPKGDATADIR=\"/opt/bw/share/autogen\" -g -O0 -m64 -fno-builtin
-fno-fast-math -ffp-contract=off -fno-unsafe-math-optimizations
-malign-double -march=k8 -mtune=k8 -mieee-fp -mhard-float -mpc80
-m128bit-long-double -mlong-double-80 -mstackrealign
-mpreferred-stack-boundary=8 -Wl,-rpath=/opt/bw/lib,--enable-new-dtags
-Wno-format-contains-nul -fno-strict-aliasing -Wall -Werror -Wcast-align
-Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes
-Wwrite-strings -Wstrict-aliasing=3 -Wextra -Wno-cast-qual -g -O0 -m64
-fno-builtin -fno-fast-math -ffp-contract=off
-fno-unsafe-math-optimizations -malign-double -march=k8 -mtune=k8
-mieee-fp -mhard-float -mpc80 -m128bit-long-double -mlong-double-80
-mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -c libopts.c -fPIC -DPIC -o .libs/libopts_la-libopts.o
libtool: compile: /opt/bw/gcc13/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I..
-I../autoopts -D_LARGEFILE64_SOURCE
-DPKGDATADIR=\"/opt/bw/share/autogen\" -g -O0 -m64 -fno-builtin
-fno-fast-math -ffp-contract=off -fno-unsafe-math-optimizations
-malign-double -march=k8 -mtune=k8 -mieee-fp -mhard-float -mpc80
-m128bit-long-double -mlong-double-80 -mstackrealign
-mpreferred-stack-boundary=8 -Wl,-rpath=/opt/bw/lib,--enable-new-dtags
-Wno-format-contains-nul -fno-strict-aliasing -Wall -Werror -Wcast-align
-Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes
-Wwrite-strings -Wstrict-aliasing=3 -Wextra -Wno-cast-qual -g -O0 -m64
-fno-builtin -fno-fast-math -ffp-contract=off
-fno-unsafe-math-optimizations -malign-double -march=k8 -mtune=k8
-mieee-fp -mhard-float -mpc80 -m128bit-long-double -mlong-double-80
-mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -c libopts.c -o libopts_la-libopts.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=link /opt/bw/gcc13/bin/gcc
-DPKGDATADIR='"/opt/bw/share/autogen"' -g -O0 -m64 -fno-builtin
-fno-fast-math -ffp-contract=off -fno-unsafe-math-optimizations
-malign-double -march=k8 -mtune=k8 -mieee-fp -mhard-float -mpc80
-m128bit-long-double -mlong-double-80 -mstackrealign
-mpreferred-stack-boundary=8 -Wl,-rpath=/opt/bw/lib,--enable-new-dtags
-Wno-format-contains-nul -fno-strict-aliasing -Wall -Werror -Wcast-align
-Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes
-Wwrite-strings -Wstrict-aliasing=3 -Wextra -Wno-cast-qual -g -O0 -m64
-fno-builtin -fno-fast-math -ffp-contract=off
-fno-unsafe-math-optimizations -malign-double -march=k8 -mtune=k8
-mieee-fp -mhard-float -mpc80 -m128bit-long-double -mlong-double-80
-mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -version-info 42:1:17 -L/opt/bw/lib -o libopts.la
-rpath /opt/bw/lib libopts_la-libopts.lo ../snprintfv/libsnprintfv.la
-lm -ldl
libtool: link: /opt/bw/gcc13/bin/gcc -shared -fPIC -DPIC
.libs/libopts_la-libopts.o -Wl,--whole-archive
../snprintfv/.libs/libsnprintfv.a -Wl,--no-whole-archive -L/opt/bw/lib
-lm -ldl -g -O0 -m64 -malign-double -march=k8 -mtune=k8 -mieee-fp
-mhard-float -mpc80 -m128bit-long-double -mlong-double-80 -mstackrealign
-mpreferred-stack-boundary=8 -Wl,-rpath=/opt/bw/lib
-Wl,--enable-new-dtags -g -O0 -m64 -malign-double -march=k8 -mtune=k8
-mieee-fp -mhard-float -mpc80 -m128bit-long-double -mlong-double-80
-mstackrealign -mpreferred-stack-boundary=8 -Wl,-rpath=/opt/bw/lib
-Wl,--enable-new-dtags -Wl,-soname -Wl,libopts.so.25 -o
.libs/libopts.so.25.17.1
libtool: link: (cd ".libs" && rm -f "libopts.so.25" && ln -s
"libopts.so.25.17.1" "libopts.so.25")
libtool: link: (cd ".libs" && rm -f "libopts.so" && ln -s
"libopts.so.25.17.1" "libopts.so")
libtool: link: (cd .libs/libopts.lax/libsnprintfv.a && /opt/bw/bin/ar x
"/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/autoopts/../snprintfv/.libs/libsnprintfv.a")
libtool: link: /opt/bw/bin/ar cru .libs/libopts.a libopts_la-libopts.o
.libs/libopts.lax/libsnprintfv.a/snv.o
libtool: link: /opt/bw/bin/ranlib .libs/libopts.a
libtool: link: rm -fr .libs/libopts.lax
libtool: link: ( cd ".libs" && rm -f "libopts.la" && ln -s
"../libopts.la" "libopts.la" )
/bin/bash mk-autoopts-pc pkgconfig/autoopts.pc
make[4]: Leaving directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/autoopts'
make[3]: Leaving directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/autoopts'
make[2]: Leaving directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/autoopts'
Making all in agen5
make[2]: Entering directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/agen5'
Making all in test
make[3]: Entering directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/agen5/test'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/agen5/test'
make[3]: Entering directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/agen5'
exec > ag.c ; \
echo '#undef PKGDATADIR' ; \
echo '#define PKGDATADIR "/opt/bw/share/autogen"' ; \
echo '#undef LIBDATADIR' ; \
echo '#define LIBDATADIR "/opt/bw/lib/autogen"' ; \
mk=`set -- make ; command -v $1` ; \
echo 'static char const make_prog[] = "'$mk'";' ; \
printf '\n#define DEFINING 1\n' ; \
printf '#include "%s"\n' autoopts/project.h autogen.h ; \
printf '#include "%s"\n' autogen.c defParse-fsm.c defLex.c directive.c
funcCase.c funcDef.c funcEval.c funcFor.c funcIf.c functions.c
expExtract.c expFormat.c expGperf.c expGuile.c expMake.c expOutput.c
expPrint.c expState.c expString.c agShell.c ag-text.c agCgi.c
agDep.c agInit.c agUtils.c cgi-fsm.c defDirect.c defFind.c
defLoad.c fmemopen.c loadPseudo.c opts.c scribble.c
tpLoad.c tpParse.c tpProcess.c
/opt/bw/gcc13/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts
-D_LARGEFILE64_SOURCE -I/opt/bw/include/guile/3.0 -I/opt/bw
-I/opt/bw/include -g -O0 -m64 -fno-builtin -fno-fast-math
-ffp-contract=off -fno-unsafe-math-optimizations -malign-double
-march=k8 -mtune=k8 -mieee-fp -mhard-float -mpc80 -m128bit-long-double
-mlong-double-80 -mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -c -o autogen-ag.o `test -f 'ag.c' || echo './'`ag.c
/bin/bash ../libtool --tag=CC --mode=link /opt/bw/gcc13/bin/gcc
-I/opt/bw/include/guile/3.0 -I/opt/bw -I/opt/bw/include -g -O0 -m64
-fno-builtin -fno-fast-math -ffp-contract=off
-fno-unsafe-math-optimizations -malign-double -march=k8 -mtune=k8
-mieee-fp -mhard-float -mpc80 -m128bit-long-double -mlong-double-80
-mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -export-dynamic -no-install -L/opt/bw/lib -o
autogen autogen-ag.o ../autoopts/libopts.la
../snprintfv/libsnprintfv.la -L/opt/bw/lib -lguile-3.0 -lgc -lpthread
-ldl -Wl,-rpath -Wl,/opt/bw/lib -lm -ldl
libtool: link: /opt/bw/gcc13/bin/gcc -I/opt/bw/include/guile/3.0
-I/opt/bw -I/opt/bw/include -g -O0 -m64 -fno-builtin -fno-fast-math
-ffp-contract=off -fno-unsafe-math-optimizations -malign-double
-march=k8 -mtune=k8 -mieee-fp -mhard-float -mpc80 -m128bit-long-double
-mlong-double-80 -mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib -Wl,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -o autogen autogen-ag.o -Wl,-rpath -Wl,/opt/bw/lib
-Wl,--export-dynamic -L/opt/bw/lib ../autoopts/.libs/libopts.so
../snprintfv/.libs/libsnprintfv.a /opt/bw/lib/libguile-3.0.so
/opt/bw/lib/libffi.so /opt/bw/lib/libunistring.so
/opt/bw/lib/libiconv.so /opt/bw/lib/libgmp.so -lcrypt
/opt/bw/lib/libgc.so -lpthread -lm -ldl -Wl,-rpath
-Wl,/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/autoopts/.libs
-Wl,-rpath -Wl,/opt/bw/lib -Wl,-rpath -Wl,/opt/bw/lib
make[3]: Leaving directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/agen5'
make[2]: Leaving directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/agen5'
Making all in columns
make[2]: Entering directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/columns'
exec > cols.c ; \
echo '#undef PKGDATADIR' ; \
echo '#define PKGDATADIR "/opt/bw/share/autogen"' ; \
echo ; echo '#define DEFINING 1' ; \
echo '#include "autoopts/project.h"' ; \
for f in opts.h columns.c opts.c ; do echo "#include \"$f\"" ; done
/opt/bw/gcc13/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts
-D_LARGEFILE64_SOURCE -g -O0 -m64 -fno-builtin -fno-fast-math
-ffp-contract=off -fno-unsafe-math-optimizations -malign-double
-march=k8 -mtune=k8 -mieee-fp -mhard-float -mpc80 -m128bit-long-double
-mlong-double-80 -mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -c -o cols.o cols.c
/bin/bash ../libtool --tag=CC --mode=link /opt/bw/gcc13/bin/gcc -g
-O0 -m64 -fno-builtin -fno-fast-math -ffp-contract=off
-fno-unsafe-math-optimizations -malign-double -march=k8 -mtune=k8
-mieee-fp -mhard-float -mpc80 -m128bit-long-double -mlong-double-80
-mstackrealign -mpreferred-stack-boundary=8
-Wl,-rpath=/opt/bw/lib,--enable-new-dtags -Wno-format-contains-nul
-fno-strict-aliasing -no-install -L/opt/bw/lib -o columns cols.o
../autoopts/libopts.la -L/opt/bw/lib -lguile-3.0 -lgc -lpthread -ldl
-Wl,-rpath -Wl,/opt/bw/lib -lm -ldl
libtool: link: /opt/bw/gcc13/bin/gcc -g -O0 -m64 -fno-builtin
-fno-fast-math -ffp-contract=off -fno-unsafe-math-optimizations
-malign-double -march=k8 -mtune=k8 -mieee-fp -mhard-float -mpc80
-m128bit-long-double -mlong-double-80 -mstackrealign
-mpreferred-stack-boundary=8 -Wl,-rpath=/opt/bw/lib
-Wl,--enable-new-dtags -Wno-format-contains-nul -fno-strict-aliasing -o
columns cols.o -Wl,-rpath -Wl,/opt/bw/lib -L/opt/bw/lib
../autoopts/.libs/libopts.so /opt/bw/lib/libguile-3.0.so
/opt/bw/lib/libffi.so /opt/bw/lib/libunistring.so
/opt/bw/lib/libiconv.so /opt/bw/lib/libgmp.so -lcrypt
/opt/bw/lib/libgc.so -lpthread -lm -ldl -Wl,-rpath
-Wl,/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/autoopts/.libs
-Wl,-rpath -Wl,/opt/bw/lib -Wl,-rpath -Wl,/opt/bw/lib
top_builddir=.. \
/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/agen5/autogen
-L../autoopts/tpl -L../autoopts/tpl -MFstamp-agtexi -Tagtexi-cmd.tpl
-DLEVEL=section --timeout=`expr 5 '*' 3` ./opts.def
Giving up in agInit.c line 84
Compiled Guile version does not match: 3.0.9 vs 202009
make[2]: *** [Makefile:818: stamp-agtexi] Aborted
make[2]: Leaving directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001/columns'
make[1]: *** [Makefile:547: all-recursive] Error 1
make[1]: Leaving directory
'/opt/bw/build/autogen-5.18.16_linux_pentium_G4500.001'
make: *** [Makefile:454: all] Error 2
That results in some colourful language and then empty coffee cups with
some confusion. There is no other "guile" anywhere in the machine :
e#
e# dpkg-query -l | grep -i 'guile'
e#
So I have no clue.
I can tell you that the stripped down Linux kernel I built works great
and I even have the NVidia drivers in there. The NVidia CUDA compiler
works and I have tested the computational output from an NVidia Quadro
card pushing around tons of IEEE-754 floating point 64-bit numbers. That
all works. So does the other tools built into the toolchain. Mostly.
Near as anyone can tell.
I have no clue what "Compiled Guile version does not match: 3.0.9 vs
202009" means to me or anyone else.
So then .... any thoughts or directions or should we just add a bit of
whiskey to the coffee and start hacking into the configure.ac or some
other nightmare?
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
[1] go get the tarball for autoconf-2.71 and try a configure, make
with the usual make check. Watch it fail at least 120+ tests or more.
This fixes the mess :
e# cat ../autoconf-2.71_linux_pentium_G4500.005.patch
--- ./tests/local.at.orig 2021-01-28 20:46:48.000000000 +0000
+++ ./tests/local.at 2023-11-29 15:16:00.724009006 +0000
@@ -352,7 +352,7 @@
# - AC_SUBST'ed variables
# (FIXME: Generate a list of these automatically.)
# - _|@|.[*#?$].|argv|ARGC|LINENO|OLDPWD|PIPESTATUS|RANDOM|SECONDS
-# |START_TIME|ToD|_AST_FEATURES
+# |SHLVL|START_TIME|ToD|_AST_FEATURES
# Some variables some shells use and change.
# `.[*#?$].' catches `$#' etc. which are displayed like this:
# | '!'=18186
@@ -403,7 +403,7 @@
[GREP|[EF]GREP|SED],
[[_@]|.[*@%:@?$].],
[argv|ARGC|LINENO|BASH_ARGC|BASH_ARGV|OLDPWD|PIPESTATUS|RANDOM],
- [SECONDS|START_TIME|ToD|_AST_FEATURES]))=' \
+ [SECONDS|SHLVL|START_TIME|ToD|_AST_FEATURES]))=' \
$act_file ||
test $? -eq 1 || echo failed >&2
) 2>stderr-$act_file |
@@ -434,6 +434,7 @@
# - PPID [bash, zsh]
# - RANDOM [bash, zsh]
# - SECONDS [bash, zsh]
+# - SHLVL [bash]
# - START_TIME [NetBSD sh]
# - ToD [NetBSD sh]
# - '$' [zsh]
@@ -481,6 +482,7 @@
/^PPID=/ d
/^RANDOM=/ d
/^SECONDS=/ d
+ /^SHLVL=/ d
/^START_TIME=/ d
/^ToD=/ d
/'\'\\\$\''=/ d
e#
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users