bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bison 3.4.1 released [stable]


From: Dennis Clarke
Subject: Re: Bison 3.4.1 released [stable]
Date: Sun, 26 May 2019 15:09:17 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Thunderbird/67.0

On 5/26/19 9:57 AM, Akim Demaille wrote:
Hi Dennis!

Thanks a lot for your efforts!

Just trying to help.  Bison really is an essential piece ya know.
Also I am so thankful you are not on github. I am trying ( was
trying ) to sort out flex but it is on github and just a pain.
They had a great little maillist which worked fine for decades.
Anyways ... let look at bison here.

corv $
corv $ /bin/bash --version
GNU bash, version 3.2.57(1)-release (sparc-sun-solaris2.10)
Copyright (C) 2007 Free Software Foundation, Inc.
corv $ SHELL=/bin/bash ; export SHELL
corv $

.
.
.

FAIL: examples/c/mfcalc/mfcalc.test

Well, this appears to be caused by my crap, not Oracle's.

Oh darn.


I apologize for the waste of time that followed (including installing a more 
modern version of Bash).


Hardly a waste. I did get recent bash built and installed fine.
Also, may have said this, bison is essential.

If you are still willing to try Bison 3.4 on these boxes, please give a try to 
this version, which includes the patch at the bottom of this message.

https://www.lrde.epita.fr/~akim/private/bison/bison-3.4.1.5-1dcd6.tar.gz
https://www.lrde.epita.fr/~akim/private/bison/bison-3.4.1.5-1dcd6.tar.xz


OKay, let's jump on that.

Here is *everything* I see :

beta $ cd /usr/local/build
beta $ gzip -dc ../src/bison-3.4.1.5-1dcd6.tar.gz | tar -xf -
beta $
beta $ ls -ladtr bison* | tail -12
drwxr-xr-x   2 dclarke  devl           5 Feb  6 21:03 bison_3.3.2_tests
-rwxr-xr-x 1 dclarke devl 4827 May 25 18:21 bison-3.4.1_SunOS5.10_sparc64vii+.001.setup.sh -rw-r--r-- 1 dclarke devl 2716 May 25 18:21 bison-3.4.1_SunOS5.10_sparc64vii+.001.env -rw-r--r-- 1 dclarke devl 24075 May 25 18:25 bison-3.4.1_SunOS5.10_sparc64vii+.001.config.log -rw-r--r-- 1 dclarke devl 380 May 25 18:25 bison-3.4.1_SunOS5.10_sparc64vii+.001.config -rw-r--r-- 1 dclarke devl 2903 May 25 18:32 bison-3.4.1_SunOS5.10_sparc64vii+.001.env2 -rw-r--r-- 1 dclarke devl 25396 May 25 18:34 bison-3.4.1_SunOS5.10_sparc64vii+.001.config.log2 -rw-r--r-- 1 dclarke devl 160655 May 25 18:36 bison-3.4.1_SunOS5.10_sparc64vii+.001.compile.log drwxr-xr-x 14 dclarke devl 44 May 25 18:38 bison-3.4.1_SunOS5.10_sparc64vii+.001 -rw-r--r-- 1 dclarke devl 13601 May 25 18:38 bison-3.4.1_SunOS5.10_sparc64vii+.001.check.log
drwxr-xr-x  14 dclarke  devl          37 May 26 13:39 bison-3.4.1.5-1dcd6
beta $
beta $ mv bison-3.4.1.5-1dcd6 bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.001
beta $ cd bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.001
beta $ cp -p ../bison-3.4.1_SunOS5.10_sparc64vii+.001.setup.sh ../bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.001.setup.sh
beta $ touch ../bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.001.setup.sh
beta $ . ../bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.001.setup.sh
INFO : found pcre-config
INFO : PCRE_CONFIG set to /usr/local/bin/pcre-config
INFO : env var TMPDIR=/var/tmp/dclarke
     : ls -lad /var/tmp/dclarke
drwxr-x---   4 dclarke  devl          17 May 26 17:54 /var/tmp/dclarke
beta $
beta $ env | sort | grep -v 'SSH'
AR=/usr/ccs/bin/ar
AS=/usr/ccs/bin/as
AUTOCONF=/usr/local/bin/autoconf
AUTOHEADER=/usr/local/bin/autoheader
AUTOMAKE=/usr/local/bin/automake
AWK=/usr/local/bin/gawk
BUILD=/usr/local/build
CC=/opt/developerstudio12.6/bin/cc
CC_FOR_BUILD=/opt/developerstudio12.6/bin/cc
CFLAGS=-m64 -xarch=sparc -g -Xa -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO CFLAGS_FOR_BUILD=-m64 -xarch=sparc -g -Xa -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO
COLUMNS=132
CONFIG_SHELL=/usr/local/bin/bash
CPPFLAGS=-I/usr/local/include -D_EXTENSIONS_ -D__EXTENSIONS__ -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE CPPFLAGS_FOR_BUILD=-I/usr/local/include -D_EXTENSIONS_ -D__EXTENSIONS__ -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
CXX=/opt/developerstudio12.6/bin/CC
EDITOR=/usr/xpg6/bin/vi
EXTRA_CPPFLAGS=-D__EXTENSIONS__ -D_EXTENSIONS_
GREP=/usr/local/bin/grep
HOME=/export/home/dclarke
JAVA_HOME=/usr/jdk/latest
JRE_HOME=/usr/jdk/latest/jre
LANG=C
LC_COLLATE=C
LC_CTYPE=C
LC_MESSAGES=C
LC_MONETARY=C
LC_NUMERIC=C
LC_TIME=C
LD=/usr/ccs/bin/sparcv9/ld
LDFLAGS=-L/usr/local/lib
LDFLAGS_FOR_BUILD=-L/usr/local/lib
LD_OPTIONS=-64 -R/usr/local/lib -L/usr/local/lib
LD_RUN_PATH=/usr/local/lib
LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4
LINES=43
LOGNAME=dclarke
M4=/usr/local/bin/m4
MACHTYPE=sparc-sun-solaris
MAIL=/usr/mail/dclarke
MAKE=/usr/local/bin/gmake
MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/X11/share/man
NM=/usr/ccs/bin/sparcv9/nm -p
OLDPWD=/usr/local/build
OSTYPE=solaris
PAGER=/usr/xpg4/bin/more
PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/jdk/latest/bin:/opt/developerstudio12.6/bin:/sbin:/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/X11/bin:/opt/schily/bin
PCRE_CONFIG=/usr/local/bin/pcre-config
PERL=/usr/local/bin/perl
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
PWD=/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.001
SED=/usr/local/bin/sed
SHELL=/usr/local/bin/bash
SHLVL=0
SRC=/usr/local/src
SSL_CERT_DIR=/usr/local/ssl/certs
TERM=xterm
TMPDIR=/var/tmp/dclarke
TZ=GMT0
USER=dclarke
VISUAL=/usr/xpg4/bin/vi
XTERM_LOCALE=C
YACC=/usr/local/bin/bison
_=/usr/xpg4/bin/env
beta $
beta $ cat ../bison-3.4.1_SunOS5.10_sparc64vii+.001.config

beta$ pwd
/usr/local/build/bison-3.4.1_SunOS5.10_sparc64vii+.001
beta$ ./configure --prefix=/usr/local --disable-silent-rules \
> --enable-dependency-tracking \
> --enable-threads=posix --without-gnu-ld \
> --without-libpth-prefix \
> --with-libiconv-prefix=/usr/local \
> --with-libintl-prefix=/usr/local 2>&1 | tee ../bison-3.4.1_SunOS5.10_sparc64vii+.001.config.log


beta $ pwd
/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.001
beta $ dn
20190526180837
beta $ ./configure --prefix=/usr/local \
> --disable-silent-rules \
> --enable-dependency-tracking \
> --enable-threads=posix --without-gnu-ld \
> --without-libpth-prefix \
> --with-libiconv-prefix=/usr/local \
> --with-libintl-prefix=/usr/local 2>&1 | tee ../bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.001.config.log
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... /usr/local/bin/gawk
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking whether /usr/local/bin/gmake supports nested variables... yes
checking whether /usr/local/bin/gmake supports nested variables... (cached) yes checking whether /usr/local/bin/gmake supports the include directive... yes (GNU style)
checking for gcc... /opt/developerstudio12.6/bin/cc
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... no
checking whether /opt/developerstudio12.6/bin/cc accepts -g... yes
checking for /opt/developerstudio12.6/bin/cc option to enable C11 features... unsupported checking for /opt/developerstudio12.6/bin/cc option to enable C99 features... -D_STDC_C99= checking dependency style of /opt/developerstudio12.6/bin/cc -D_STDC_C99=... dashXmstdout
checking whether we are using the GNU C++ compiler... no
checking whether /opt/developerstudio12.6/bin/CC accepts -g... yes
checking for /opt/developerstudio12.6/bin/CC option to enable C++11 features... -std=c++11 checking dependency style of /opt/developerstudio12.6/bin/CC -std=c++11... dashXmstdout checking how to run the C preprocessor... /opt/developerstudio12.6/bin/cc -D_STDC_C99= -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/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 for Minix Amsterdam compiler... no
checking for ar... /usr/ccs/bin/ar
checking for ranlib... ranlib
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether pragma GCC diagnostic push works... yes
checking whether C++ compiler handles -Werror -Wunknown-warning-option... no
checking whether C++ compiler handles -fno-exceptions... no
checking whether C++ compiler accepts -std=c++98... no
checking whether C++ compiler accepts -std=c++98 -stdlib=libc++... no
checking whether C++ compiler accepts -std=c++03... no
checking whether C++ compiler accepts -std=c++03 -stdlib=libc++... no
checking whether C++ compiler accepts -std=c++11... no
checking whether C++ compiler accepts -std=c++11 -stdlib=libc++... no
checking whether C++ compiler accepts -std=c++14... no
checking whether C++ compiler accepts -std=c++14 -stdlib=libc++... no
checking whether C++ compiler accepts -std=c++17... no
checking whether C++ compiler accepts -std=c++17 -stdlib=libc++... no
checking whether C++ compiler accepts -std=c++2a... no
checking whether C++ compiler accepts -std=c++2a -stdlib=libc++... no
checking whether /opt/developerstudio12.6/bin/cc -D_STDC_C99= supports POSIXLY_CORRECT=1... yes checking whether /opt/developerstudio12.6/bin/CC -std=c++11 builds executables that work... no checking whether /opt/developerstudio12.6/bin/CC -std=c++11 supports POSIXLY_CORRECT=1... no
checking for dmd... no
checking for Java compiler... javac -target 1.7 -source 1.7
checking for Java virtual machine... java
checking for flex... no
checking for lex... lex
checking whether lex is flex... no
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... no
configure: WARNING: bypassing lex because flex is required
checking for bison... /usr/local/bin/bison
checking for ranlib... (cached) ranlib
checking for GNU M4 that supports accurate traces... /usr/local/bin/m4
checking whether /usr/local/bin/m4 accepts --gnu... yes
checking how m4 supports trace files... --debugfile
checking for perl... /usr/local/bin/perl
checking for xsltproc... /bin/xsltproc
checking for locale.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for stdio_ext.h... yes
checking for features.h... no
checking for getopt.h... yes
checking for sys/cdefs.h... no
checking for sys/time.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for math.h... yes
checking for sys/mman.h... yes
checking for spawn.h... yes
checking for sys/resource.h... yes
checking for sys/times.h... yes
checking for sys/wait.h... yes
checking for crtdefs.h... no
checking for wctype.h... yes
checking for sys/stat.h... (cached) yes
checking for inline... inline
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for canonicalize_file_name... no
checking for getcwd... yes
checking for readlink... yes
checking for realpath... yes
checking for readlinkat... no
checking for _set_invalid_parameter_handler... no
checking for fcntl... yes
checking for symlink... yes
checking for vasnprintf... no
checking for snprintf... yes
checking for fsync... yes
checking for microuptime... no
checking for nanouptime... no
checking for getprogname... no
checking for getexecname... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for tcdrain... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for isascii... yes
checking for mprotect... yes
checking for obstack_printf... no
checking for lstat... yes
checking for strerror_r... yes
checking for __xpg_strerror_r... no
checking for pipe2... no
checking for setenv... yes
checking for link... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for siginterrupt... yes
checking for strdup... yes
checking for strndup... no
checking for pipe... yes
checking for iswcntrl... yes
checking for wcwidth... yes
checking for __fseterr... no
checking for getdtablesize... yes
checking for catgets... yes
checking for setlocale... yes
checking whether // is distinct from /... no
checking whether realpath works... no
checking if environ is properly declared... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... (cached) yes
checking whether strerror_r returns char *... no
checking for sig_atomic_t... yes
checking for working fcntl.h... no (bad O_NOATIME)
checking for pid_t... yes
checking for mode_t... yes
checking for stdint.h... yes
checking for inttypes.h... yes
checking whether printf supports size specifiers as in C99... yes
checking whether printf supports 'long double' arguments... yes
checking whether printf supports infinite 'double' arguments... no
checking whether byte ordering is bigendian... yes
checking whether long double and double are the same... no
checking whether printf supports infinite 'long double' arguments... no
checking whether printf supports the 'a' and 'A' directives... no
checking whether printf supports the 'F' directive... yes
checking whether printf supports the 'n' directive... yes
checking whether printf supports the 'ls' directive... no
checking whether printf supports POSIX/XSI format strings with positions... yes
checking whether printf supports the grouping flag... yes
checking whether printf supports the left-adjust flag correctly... yes
checking whether printf supports the zero flag correctly... no
checking whether printf supports large precisions... yes
checking whether printf survives out-of-memory conditions... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for wchar_t... yes
checking for wint_t... yes
checking whether wint_t is too small... no
checking for intmax_t... yes
checking where to find the exponent in a 'double'... word 0 bit 20
checking whether snprintf returns a byte count as in C99... yes
checking for snprintf... (cached) yes
checking for strnlen... no
checking for wcslen... yes
checking for wcsnlen... no
checking for mbrtowc... (cached) yes
checking for wcrtomb... yes
checking whether _snprintf is declared... no
checking for arithmetic hrtime_t... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... no
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... no
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 64
checking for bit size of size_t... 64
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... l
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix...
checking for wchar_t integer literal suffix...
checking for wint_t integer literal suffix...
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking where to find the exponent in a 'float'... word 0 bit 23
checking whether isnan(float) can be used without linking with libm... yes
checking whether isnan(float) works... yes
checking whether isnan(double) can be used without linking with libm... yes
checking whether isnan(long double) can be used without linking with libm... yes
checking whether isnanl works... yes
checking whether ldexp() can be used without linking with libm... yes
checking for ld... /usr/ccs/bin/sparcv9/ld
checking if the linker (/usr/ccs/bin/sparcv9/ld) is GNU ld... no
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for 64-bit host... yes
checking for the common suffixes of directories in the library search path... lib/64,lib/sparcv9
checking for nl_langinfo and CODESET... yes
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for mbstate_t... yes
checking for a traditional japanese locale... ja_JP.eucJP
checking for a transitional chinese locale... zh_CN.GB18030
checking for a french Unicode locale... fr_FR.UTF-8
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... no
checking whether obstack_printf is declared... no
checking for O_CLOEXEC... no
checking for promoted mode_t type... mode_t
checking whether strerror(0) succeeds... yes
checking for strerror_r with POSIX signature... yes
checking whether strerror_r works... no
checking whether strerror_r is declared... (cached) yes
checking for library containing posix_spawn... none required
checking for posix_spawn... yes
checking whether posix_spawn works... yes
checking whether posix_spawnattr_setschedpolicy is supported... yes
checking whether posix_spawnattr_setschedparam is supported... yes
checking for nl_langinfo... yes
checking for ptrdiff_t... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking for sigset_t... yes
checking for shared library path variable... LD_LIBRARY_PATH
checking whether to activate relocatable installation... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether setenv is declared... yes
checking for uid_t in sys/types.h... yes
checking whether snprintf is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether strdup is declared... yes
checking whether strndup is declared... no
checking for struct timespec in <time.h>... yes
checking whether clearerr_unlocked is declared... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
checking whether fflush_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
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 whether unsetenv is declared... yes
checking whether vsnprintf is declared... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking whether frexp() can be used without linking with libm... yes
checking whether alarm is declared... yes
checking whether stat file-mode macros are broken... no
checking for nlink_t... yes
checking whether getdtablesize is declared... yes
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for multithread API to use... posix
checking whether lstat correctly handles trailing slash... yes
checking whether strnlen is declared... no
checking for alloca as a compiler built-in... no
checking whether to enable assertions... yes
checking for library containing clock_gettime... -lrt
checking for clock_gettime... yes
checking for clock_settime... yes
checking whether // is distinct from /... (cached) no
checking whether dup2 works... yes
checking for error_at_line... no
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... no
checking whether conversion from 'int' to 'long double' works... yes
checking whether fopen recognizes a trailing slash... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking whether gethrtime is declared... yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking whether __argv is declared... no
checking whether __progname is defined in default libraries...
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... yes
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... yes
checking whether isnan macro works... yes
checking whether isnan(double) can be used without linking with libm... (cached) yes checking whether isnan(float) can be used without linking with libm... (cached) yes
checking whether isnan(float) works... (cached) yes
checking whether isnan(long double) can be used without linking with libm... (cached) yes
checking whether isnanl works... (cached) yes
checking whether ldexpl is declared... yes
checking whether ldexpl() can be used without linking with libm... no
checking whether ldexpl() can be used with libm... yes
checking whether ldexpl works... yes
checking for libtextstyle... yes
checking how to link with libtextstyle... /usr/local/lib/libtextstyle.so -L/usr/local/lib/sparcv9 /usr/local/lib/libiconv.so -lm /usr/local/lib/libncurses.a -R/usr/local/lib -R/usr/local/lib/sparcv9
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL pwc argument... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... no
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbswidth is declared in <wchar.h>... no
checking for mbstate_t... (cached) yes
checking for obstacks that work with any size object... no
checking whether open recognizes a trailing slash... yes
checking whether posix_spawn_file_actions_addclose works... no
checking whether posix_spawn_file_actions_adddup2 works... no
checking whether posix_spawn_file_actions_addopen works... no
checking whether program_invocation_name is declared... (cached) no
checking whether program_invocation_short_name is declared... (cached) no
checking for raise... yes
checking for sigprocmask... yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking whether rename honors trailing slash on destination... no
checking whether rename honors trailing slash on source... yes
checking whether rename manages hard links correctly... yes
checking whether rename manages existing destinations correctly... yes
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking for sigprocmask... (cached) yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for snprintf... (cached) yes
checking whether snprintf respects a size of 1... yes
checking whether printf supports POSIX/XSI format strings with positions... (cached) yes
checking for snprintf... (cached) yes
checking whether snprintf truncates the result as in C99... yes
checking whether snprintf fully supports the 'n' directive... yes
checking whether snprintf respects a size of 1... (cached) yes
checking whether vsnprintf respects a zero size as in C99... yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for posix_spawnattr_t... yes
checking for posix_spawn_file_actions_t... yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for ssize_t... yes
checking for va_copy... yes
checking for good max_align_t... no
checking whether NULL can be used in arbitrary expressions... yes
checking which flavor of printf attribute matches inttypes macros... system
checking for stpcpy... no
checking for working strerror function... yes
checking for strverscmp... no
checking for struct tms... yes
checking whether unlink honors trailing slashes... yes
checking whether unlink of a parent directory fails as it should... guessing yes
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether unsetenv obeys POSIX... no
checking for ptrdiff_t... (cached) yes
checking for vsnprintf... yes
checking whether snprintf respects a size of 1... (cached) yes
checking whether printf supports POSIX/XSI format strings with positions... (cached) yes
checking for vsnprintf... (cached) yes
checking whether snprintf truncates the result as in C99... (cached) yes
checking whether snprintf fully supports the 'n' directive... (cached) yes
checking whether snprintf respects a size of 1... (cached) yes
checking whether vsnprintf respects a zero size as in C99... (cached) yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for waitid... yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking whether wcwidth is declared... yes
checking whether wcwidth works reasonably in UTF-8 locales... no
checking for stdint.h... (cached) yes
checking whether stat handles trailing slashes on files... yes
checking for nlink_t... (cached) yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking whether getdtablesize works... yes
checking whether frexp works... yes
checking whether frexpl is declared... yes
checking whether frexpl() can be used without linking with libm... no
checking whether isnan(long double) can be used without linking with libm... (cached) yes
checking whether isnanl works... (cached) yes
checking whether isnan(double) can be used without linking with libm... (cached) yes
checking whether frexp works... (cached) yes
checking whether ldexp can be used without linking with libm... (cached) yes
checking whether frexpl() can be used without linking with libm... (cached) no checking whether ldexpl() can be used without linking with libm... (cached) no
checking for signbit macro... yes
checking for signbit compiler built-ins... no
checking for pthread_rwlock_t... yes
checking whether pthread_rwlock_rdlock prefers a writer to a reader... yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking whether rmdir works... yes
checking if malloc debugging is wanted... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... /bin/gmsgfmt
checking for xgettext... no
checking for msgmerge... /bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /usr/local/lib/sparcv9/libiconv.so -R/usr/local/lib/sparcv9 -R/usr/local/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/sparcv9/libintl.so -L/usr/local/lib/sparcv9 /usr/local/lib/libiconv.so -R/usr/local/lib/sparcv9 -R/usr/local/lib
checking for valgrind... no
checking Valgrind suppression file...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating src/yacc
config.status: creating javacomp.sh
config.status: creating javaexec.sh
config.status: creating gnulib-po/Makefile.in
config.status: creating runtime-po/Makefile.in
config.status: creating etc/bench.pl
config.status: creating tests/atlocal
config.status: creating tests/bison
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating doc/yacc.1
config.status: creating lib/config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating gnulib-po/POTFILES
config.status: creating gnulib-po/Makefile
config.status: creating runtime-po/POTFILES
config.status: creating runtime-po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing tests/atconfig commands
beta $

I will spare you the twenty pages of compile log however ...

beta $
beta $ uname -a
SunOS beta 5.10 Generic_150400-65 sun4u sparc SUNW,SPARC-Enterprise
beta $ psrinfo -pv
The physical processor has 8 virtual processors (0-7)
  SPARC64-VII+ (portid 1024 impl 0x7 ver 0xa1 clock 2860 MHz)
beta $
beta $ /usr/bin/time -p /usr/local/bin/gmake
.
.
.
/opt/developerstudio12.6/bin/cc -D_STDC_C99= -DEXEEXT=\"\" -I. -I./lib -I. -I./lib -DINSTALLDIR=\"/usr/local/bin\" -I/usr/local/include -D_EXTENSIONS_ -D__EXTENSIONS__ -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -D_REENTRANT -m64 -xarch=sparc -g -Xa -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO -c -o src/bison-state.o `test -f 'src/state.c' || echo './'`src/state.c "./lib/inttypes.h", line 61: #error: "This file assumes that 'int' has exactly 32 bits. Please report your platform and compiler to <address@hidden>."
cc: acomp failed for src/state.c
gmake[2]: *** [Makefile:7000: src/bison-state.o] Error 2
gmake[2]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.001'
gmake[1]: *** [Makefile:7907: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.001'
gmake: *** [Makefile:3173: all] Error 2

real 20.06
user 14.89
sys 3.31
beta $

Wild.

Had not seen that before.

Let me try again from the top with hard core Oracle Studio C99 compiler
which is just about as compliant with the specs as anyone could wish
for.  If software compiles here with C99 then it will compile anywhere
and that includes your toaster.

beta $ pwd
/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.001
beta $ cd ..
beta $
beta $ gzip -dc ../src/bison-3.4.1.5-1dcd6.tar.gz | tar -xf -
beta $ mv bison-3.4.1.5-1dcd6 bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002
beta $ cd bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002

Let's lose the foo_FOR_BUILD env vars which I needed for doing a gcc
cross compiler build :

beta $ env | sort | grep '_FOR' | cut -f1 -d\= | sed 's/^/unset\ /'
unset CC_FOR_BUILD
unset CFLAGS_FOR_BUILD
unset CPPFLAGS_FOR_BUILD
unset LDFLAGS_FOR_BUILD
beta $
beta $ unset CC_FOR_BUILD
beta $ unset CFLAGS_FOR_BUILD
beta $ unset CPPFLAGS_FOR_BUILD
beta $ unset LDFLAGS_FOR_BUILD
beta $

Let's use the C99 compiler now :

beta $ echo $CC
/opt/developerstudio12.6/bin/cc
beta $ CC=/opt/developerstudio12.6/bin/c99 ; export CC
beta $
beta $ ls -lapb /usr/bin/c99
lrwxrwxrwx 1 root root 32 May 29 2018 /usr/bin/c99 -> /opt/developerstudio12.6/bin/c99*
beta $

Just so you know that c99 is installed in the default PATH as well as in
the usual /opt location.

A few trivial adjustments to get to a baseline trivial config :

beta $ CFLAGS='-m64 -xarch=sparc -g -Xc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none'
beta $ export CFLAGS
beta $
beta $ CPPFLAGS='-D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO'
beta $ export CPPFLAGS
beta $ unset EXTRA_CPPFLAGS

OKay so let's look at what we have here :

beta $ env | sort | grep -v 'SSH'
AR=/usr/ccs/bin/ar
AS=/usr/ccs/bin/as
AUTOCONF=/usr/local/bin/autoconf
AUTOHEADER=/usr/local/bin/autoheader
AUTOMAKE=/usr/local/bin/automake
AWK=/usr/local/bin/gawk
BUILD=/usr/local/build
CC=/opt/developerstudio12.6/bin/c99
CFLAGS=-m64 -xarch=sparc -g -Xc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none
COLUMNS=132
CONFIG_SHELL=/usr/local/bin/bash
CPPFLAGS=-D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO
CXX=/opt/developerstudio12.6/bin/CC
EDITOR=/usr/xpg6/bin/vi
GREP=/usr/local/bin/grep
HOME=/export/home/dclarke
JAVA_HOME=/usr/jdk/latest
JRE_HOME=/usr/jdk/latest/jre
LANG=C
LC_COLLATE=C
LC_CTYPE=C
LC_MESSAGES=C
LC_MONETARY=C
LC_NUMERIC=C
LC_TIME=C
LD=/usr/ccs/bin/sparcv9/ld
LDFLAGS=-L/usr/local/lib
LD_OPTIONS=-64 -R/usr/local/lib -L/usr/local/lib
LD_RUN_PATH=/usr/local/lib
LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4
LINES=43
LOGNAME=dclarke
M4=/usr/local/bin/m4
MACHTYPE=sparc-sun-solaris
MAIL=/usr/mail/dclarke
MAKE=/usr/local/bin/gmake
MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/X11/share/man
NM=/usr/ccs/bin/sparcv9/nm -p
OLDPWD=/usr/local/build
OSTYPE=solaris
PAGER=/usr/xpg4/bin/more
PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/jdk/latest/bin:/opt/developerstudio12.6/bin:/sbin:/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/usr/X11/bin:/opt/schily/bin
PCRE_CONFIG=/usr/local/bin/pcre-config
PERL=/usr/local/bin/perl
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
PWD=/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002
SED=/usr/local/bin/sed
SHELL=/usr/local/bin/bash
SHLVL=0
SRC=/usr/local/src
SSL_CERT_DIR=/usr/local/ssl/certs
TERM=xterm
TMPDIR=/var/tmp/dclarke
TZ=GMT0
USER=dclarke
VISUAL=/usr/xpg4/bin/vi
XTERM_LOCALE=C
YACC=/usr/local/bin/bison
_=/usr/xpg4/bin/env
beta $

Note that the -Xc in CFLAGS means we want compliance and we mean it and
yes that means no funny business anywhere. :-)

Some more information just so we know what tools and other GNU stuff I
have ported here neatly :

beta $
beta $ /usr/local/bin/autoconf --version
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://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.
beta $ /usr/local/bin/autoheader --version
autoheader (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://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 Roland McGrath and Akim Demaille.
beta $
beta $ /usr/local/bin/automake --version
automake (GNU automake) 1.16.1
Copyright (C) 2018 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 <address@hidden>
       and Alexandre Duret-Lutz <address@hidden>.
beta $
beta $ /usr/local/bin/gawk --version
GNU Awk 5.0.0, API: 2.0 (GNU MPFR 4.0.2, GNU MP 6.1.2)
Copyright (C) 1989, 1991-2019 Free Software Foundation.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
beta $
beta $ /usr/local/bin/grep --version
grep (GNU grep) 3.1
Copyright (C) 2017 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.

Written by Mike Haertel and others, see <http://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.
beta $
beta $ /usr/local/bin/gmake --version
GNU Make 4.2.1
Built for sparc-sun-solaris2.10
Copyright (C) 1988-2016 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.
beta $
beta $ /usr/local/bin/perl -V | head
Summary of my perl5 (revision 5 version 26 subversion 1) configuration:

  Platform:
    osname=solaris
    osvers=2.10
    archname=sun4-solaris-64-ld
uname='sunos node000 5.10 generic_150400-59 sun4u sparc sunw,sparc-enterprise ' config_args='-Dprefix=/usr/local -Dmksymlinks -Accflags=-errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xc -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -Qy -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xarch=sparc -mc -xs '
    hint=recommended
    useposix=true
beta $
beta $ /usr/local/bin/sed --version
/usr/local/bin/sed (GNU sed) 4.2.2
Copyright (C) 2012 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.

Written by Jay Fenlason, Tom Lord, Ken Pizzini,
and Paolo Bonzini.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <address@hidden>.
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
beta $

beta $ /usr/local/bin/gettext --version
gettext (GNU gettext-runtime) 0.20
Copyright (C) 1995-2019 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.
beta $

Even reasonable OpenSSL :

beta $ /usr/local/bin/openssl version
OpenSSL 1.1.1b  26 Feb 2019
beta $

However that has an update from yesterday I think.  I'll get to that.

Everything here is 64-bit and everything has the RPATH/RUNPATH data in
the ELF headers correctly so there are no libpath screw ups :

beta $ file /usr/local/bin/gettext
/usr/local/bin/gettext: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped
beta $ elfdump -devl /usr/local/bin/gettext | grep -E -e 'PATH|NEED'
       [0]  NEEDED            0x647               libintl.so.7
       [1]  NEEDED            0x654               libiconv.so.2
       [2]  NEEDED            0x60b               libc.so.1
[5] RUNPATH 0x662 /usr/local/lib:/usr/local/lib/sparcv9 [6] RPATH 0x662 /usr/local/lib:/usr/local/lib/sparcv9
      [13]  VERNEED           0x100001b48
      [14]  VERNEEDNUM        0x1
beta $

So let's try again now with ye hardcore C99 :

beta $
beta $ ./configure --prefix=/usr/local --disable-silent-rules --enable-dependency-tracking --enable-threads=posix --without-gnu-ld --without-libpth-prefix --with-libiconv-prefix=/usr/local --with-libintl-prefix=/usr/local 2>&1 | tee ../bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002.config.log
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... /usr/local/bin/gawk
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking whether /usr/local/bin/gmake supports nested variables... yes
checking whether /usr/local/bin/gmake supports nested variables... (cached) yes checking whether /usr/local/bin/gmake supports the include directive... yes (GNU style)
checking for gcc... /opt/developerstudio12.6/bin/c99
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... no
checking whether /opt/developerstudio12.6/bin/c99 accepts -g... yes
checking for /opt/developerstudio12.6/bin/c99 option to enable C11 features... unsupported checking for /opt/developerstudio12.6/bin/c99 option to enable C99 features... none needed checking dependency style of /opt/developerstudio12.6/bin/c99... dashXmstdout
checking whether we are using the GNU C++ compiler... no
checking whether /opt/developerstudio12.6/bin/CC accepts -g... yes
checking for /opt/developerstudio12.6/bin/CC option to enable C++11 features... -std=c++11 checking dependency style of /opt/developerstudio12.6/bin/CC -std=c++11... dashXmstdout checking how to run the C preprocessor... /opt/developerstudio12.6/bin/c99 -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/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 for Minix Amsterdam compiler... no
checking for ar... /usr/ccs/bin/ar
checking for ranlib... ranlib
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether pragma GCC diagnostic push works... yes
checking whether C++ compiler handles -Werror -Wunknown-warning-option... no
checking whether C++ compiler handles -fno-exceptions... no
checking whether C++ compiler accepts -std=c++98... no
checking whether C++ compiler accepts -std=c++98 -stdlib=libc++... no
checking whether C++ compiler accepts -std=c++03... no
checking whether C++ compiler accepts -std=c++03 -stdlib=libc++... no
checking whether C++ compiler accepts -std=c++11... no
checking whether C++ compiler accepts -std=c++11 -stdlib=libc++... no
checking whether C++ compiler accepts -std=c++14... no
checking whether C++ compiler accepts -std=c++14 -stdlib=libc++... no
checking whether C++ compiler accepts -std=c++17... no
checking whether C++ compiler accepts -std=c++17 -stdlib=libc++... no
checking whether C++ compiler accepts -std=c++2a... no
checking whether C++ compiler accepts -std=c++2a -stdlib=libc++... no
checking whether /opt/developerstudio12.6/bin/c99 supports POSIXLY_CORRECT=1... yes checking whether /opt/developerstudio12.6/bin/CC -std=c++11 builds executables that work... no checking whether /opt/developerstudio12.6/bin/CC -std=c++11 supports POSIXLY_CORRECT=1... no
checking for dmd... no
checking for Java compiler... javac -target 1.7 -source 1.7
checking for Java virtual machine... java
checking for flex... no
checking for lex... lex
checking whether lex is flex... no
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... no
configure: WARNING: bypassing lex because flex is required
checking for bison... /usr/local/bin/bison
checking for ranlib... (cached) ranlib
checking for GNU M4 that supports accurate traces... /usr/local/bin/m4
checking whether /usr/local/bin/m4 accepts --gnu... yes
checking how m4 supports trace files... --debugfile
checking for perl... /usr/local/bin/perl
checking for xsltproc... /bin/xsltproc
checking for locale.h... yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking for stdio_ext.h... yes
checking for features.h... no
checking for getopt.h... yes
checking for sys/cdefs.h... no
checking for sys/time.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for math.h... yes
checking for sys/mman.h... yes
checking for spawn.h... yes
checking for sys/resource.h... yes
checking for sys/times.h... yes
checking for sys/wait.h... yes
checking for crtdefs.h... no
checking for wctype.h... yes
checking for sys/stat.h... (cached) yes
checking for inline... inline
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for canonicalize_file_name... no
checking for getcwd... yes
checking for readlink... yes
checking for realpath... yes
checking for readlinkat... no
checking for _set_invalid_parameter_handler... no
checking for fcntl... yes
checking for symlink... yes
checking for vasnprintf... no
checking for snprintf... yes
checking for fsync... yes
checking for microuptime... no
checking for nanouptime... no
checking for getprogname... no
checking for getexecname... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for tcdrain... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for isascii... yes
checking for mprotect... yes
checking for obstack_printf... no
checking for lstat... yes
checking for strerror_r... yes
checking for __xpg_strerror_r... no
checking for pipe2... no
checking for setenv... yes
checking for link... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for siginterrupt... yes
checking for strdup... yes
checking for strndup... no
checking for pipe... yes
checking for iswcntrl... yes
checking for wcwidth... yes
checking for __fseterr... no
checking for getdtablesize... yes
checking for catgets... yes
checking for setlocale... yes
checking whether // is distinct from /... no
checking whether realpath works... no
checking if environ is properly declared... no
checking whether the preprocessor supports include_next... no
checking whether system header files limit the line length... no
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... (cached) yes
checking whether strerror_r returns char *... no
checking for sig_atomic_t... yes
checking for working fcntl.h... no (bad O_NOATIME)
checking for pid_t... yes
checking for mode_t... yes
checking for stdint.h... yes
checking for inttypes.h... yes
checking whether printf supports size specifiers as in C99... yes
checking whether printf supports 'long double' arguments... yes
checking whether printf supports infinite 'double' arguments... yes
checking whether byte ordering is bigendian... yes
checking whether long double and double are the same... no
checking whether printf supports infinite 'long double' arguments... yes
checking whether printf supports the 'a' and 'A' directives... no
checking whether printf supports the 'F' directive... yes
checking whether printf supports the 'n' directive... yes
checking whether printf supports the 'ls' directive... no
checking whether printf supports POSIX/XSI format strings with positions... yes
checking whether printf supports the grouping flag... yes
checking whether printf supports the left-adjust flag correctly... yes
checking whether printf supports the zero flag correctly... yes
checking whether printf supports large precisions... yes
checking whether printf survives out-of-memory conditions... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for wchar_t... yes
checking for wint_t... yes
checking whether wint_t is too small... no
checking for intmax_t... yes
checking where to find the exponent in a 'double'... word 0 bit 20
checking whether snprintf returns a byte count as in C99... yes
checking for snprintf... (cached) yes
checking for strnlen... no
checking for wcslen... yes
checking for wcsnlen... no
checking for mbrtowc... (cached) yes
checking for wcrtomb... yes
checking whether _snprintf is declared... no
checking for arithmetic hrtime_t... yes
checking absolute name of <getopt.h>... "///usr/include/getopt.h"
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... no
checking for C/C++ restrict keyword... __restrict
checking absolute name of <sys/time.h>... "///usr/include/sys/time.h"
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking absolute name of <limits.h>... "///usr/include/limits.h"
checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... no
checking absolute name of <stdint.h>... "///usr/include/stdint.h"
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 64
checking for bit size of size_t... 64
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... l
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix...
checking for wchar_t integer literal suffix...
checking for wint_t integer literal suffix...
checking absolute name of <inttypes.h>... "///usr/include/inttypes.h"
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking where to find the exponent in a 'float'... word 0 bit 23
checking whether isnan(float) can be used without linking with libm... yes
checking whether isnan(float) works... yes
checking whether isnan(double) can be used without linking with libm... yes
checking whether isnan(long double) can be used without linking with libm... yes
checking whether isnanl works... yes
checking whether ldexp() can be used without linking with libm... yes
checking for ld... /usr/ccs/bin/sparcv9/ld
checking if the linker (/usr/ccs/bin/sparcv9/ld) is GNU ld... no
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for 64-bit host... yes
checking for the common suffixes of directories in the library search path... lib/64,lib/sparcv9
checking for nl_langinfo and CODESET... yes
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for mbstate_t... yes
checking for a traditional japanese locale... ja_JP.eucJP
checking for a transitional chinese locale... zh_CN.GB18030
checking for a french Unicode locale... fr_FR.UTF-8
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... no
checking whether obstack_printf is declared... no
checking for O_CLOEXEC... no
checking for promoted mode_t type... mode_t
checking whether strerror(0) succeeds... yes
checking for strerror_r with POSIX signature... yes
checking whether strerror_r works... no
checking whether strerror_r is declared... (cached) yes
checking for library containing posix_spawn... none required
checking for posix_spawn... yes
checking whether posix_spawn works... yes
checking whether posix_spawnattr_setschedpolicy is supported... yes
checking whether posix_spawnattr_setschedparam is supported... yes
checking for nl_langinfo... yes
checking for ptrdiff_t... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking for sigset_t... yes
checking for shared library path variable... LD_LIBRARY_PATH
checking whether to activate relocatable installation... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether setenv is declared... yes
checking for uid_t in sys/types.h... yes
checking whether snprintf is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether strdup is declared... yes
checking absolute name of <string.h>... "///usr/include/string.h"
checking whether strndup is declared... no
checking absolute name of <sys/types.h>... "///usr/include/sys/types.h"
checking for struct timespec in <time.h>... yes
checking absolute name of <time.h>... "///usr/include/time.h"
checking whether clearerr_unlocked is declared... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
checking whether fflush_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
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 whether unsetenv is declared... yes
checking whether vsnprintf is declared... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking whether frexp() can be used without linking with libm... yes
checking whether alarm is declared... yes
checking whether stat file-mode macros are broken... no
checking absolute name of <sys/stat.h>... "///usr/include/sys/stat.h"
checking for nlink_t... yes
checking whether getdtablesize is declared... yes
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for multithread API to use... posix
checking whether lstat correctly handles trailing slash... yes
checking whether strnlen is declared... no
checking for alloca as a compiler built-in... no
checking whether to enable assertions... yes
checking for library containing clock_gettime... -lrt
checking for clock_gettime... yes
checking for clock_settime... yes
checking whether // is distinct from /... (cached) no
checking whether dup2 works... yes
checking for error_at_line... no
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... no
checking absolute name of <fcntl.h>... "///usr/include/fcntl.h"
checking whether conversion from 'int' to 'long double' works... yes
checking whether fopen recognizes a trailing slash... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking whether gethrtime is declared... yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking whether __argv is declared... no
checking whether __progname is defined in default libraries...
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... yes
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... yes
checking whether isnan macro works... yes
checking whether isnan(double) can be used without linking with libm... (cached) yes checking whether isnan(float) can be used without linking with libm... (cached) yes
checking whether isnan(float) works... (cached) yes
checking whether isnan(long double) can be used without linking with libm... (cached) yes
checking whether isnanl works... (cached) yes
checking whether ldexpl is declared... yes
checking whether ldexpl() can be used without linking with libm... no
checking whether ldexpl() can be used with libm... yes
checking whether ldexpl works... yes
checking for libtextstyle... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking absolute name of <math.h>... "///usr/include/math.h"
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtowc handles a NULL pwc argument... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... no
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) yes
checking whether mbswidth is declared in <wchar.h>... no
checking for mbstate_t... (cached) yes
checking for obstacks that work with any size object... no
checking whether open recognizes a trailing slash... yes
checking whether posix_spawn_file_actions_addclose works... no
checking whether posix_spawn_file_actions_adddup2 works... no
checking whether posix_spawn_file_actions_addopen works... no
checking whether program_invocation_name is declared... (cached) no
checking whether program_invocation_short_name is declared... (cached) no
checking for raise... yes
checking for sigprocmask... yes
checking whether readlink signature is correct... yes
checking whether readlink handles trailing slash correctly... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking whether rename honors trailing slash on destination... no
checking whether rename honors trailing slash on source... yes
checking whether rename manages hard links correctly... yes
checking whether rename manages existing destinations correctly... yes
checking for struct sigaction.sa_sigaction... yes
checking absolute name of <signal.h>... "///usr/include/signal.h"
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking for sigprocmask... (cached) yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for snprintf... (cached) yes
checking whether snprintf respects a size of 1... yes
checking whether printf supports POSIX/XSI format strings with positions... (cached) yes
checking for snprintf... (cached) yes
checking whether snprintf truncates the result as in C99... yes
checking whether snprintf fully supports the 'n' directive... yes
checking whether snprintf respects a size of 1... (cached) yes
checking whether vsnprintf respects a zero size as in C99... yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking absolute name of <spawn.h>... "///usr/include/spawn.h"
checking for posix_spawnattr_t... yes
checking for posix_spawn_file_actions_t... yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for ssize_t... yes
checking for va_copy... yes
checking for good max_align_t... no
checking whether NULL can be used in arbitrary expressions... yes
checking absolute name of <stddef.h>... "///usr/include/stddef.h"
checking absolute name of <stdio.h>... "///usr/include/stdio.h"
checking which flavor of printf attribute matches inttypes macros... system
checking absolute name of <stdlib.h>... "///usr/include/stdlib.h"
checking for stpcpy... no
checking for working strerror function... yes
checking for strverscmp... no
checking absolute name of <sys/resource.h>... "///usr/include/sys/resource.h"
checking absolute name of <sys/times.h>... "///usr/include/sys/times.h"
checking for struct tms... yes
checking absolute name of <sys/wait.h>... "///usr/include/sys/wait.h"
checking absolute name of <unistd.h>... "///usr/include/unistd.h"
checking whether unlink honors trailing slashes... yes
checking whether unlink of a parent directory fails as it should... guessing yes
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether unsetenv obeys POSIX... no
checking for ptrdiff_t... (cached) yes
checking for vsnprintf... yes
checking whether snprintf respects a size of 1... (cached) yes
checking whether printf supports POSIX/XSI format strings with positions... (cached) yes
checking for vsnprintf... (cached) yes
checking whether snprintf truncates the result as in C99... (cached) yes
checking whether snprintf fully supports the 'n' directive... (cached) yes
checking whether snprintf respects a size of 1... (cached) yes
checking whether vsnprintf respects a zero size as in C99... (cached) yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for waitid... yes
checking absolute name of <wchar.h>... "///usr/include/wchar.h"
checking absolute name of <wctype.h>... "///usr/include/wctype.h"
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking whether wcwidth is declared... yes
checking whether wcwidth works reasonably in UTF-8 locales... no
checking for stdint.h... (cached) yes
checking whether stat handles trailing slashes on files... yes
checking absolute name of <sys/stat.h>... (cached) "///usr/include/sys/stat.h"
checking for nlink_t... (cached) yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking whether getdtablesize works... yes
checking whether frexp works... yes
checking whether frexpl is declared... yes
checking whether frexpl() can be used without linking with libm... no
checking whether isnan(long double) can be used without linking with libm... (cached) yes
checking whether isnanl works... (cached) yes
checking whether isnan(double) can be used without linking with libm... (cached) yes
checking whether frexp works... (cached) yes
checking whether ldexp can be used without linking with libm... (cached) yes
checking whether frexpl() can be used without linking with libm... (cached) no checking whether ldexpl() can be used without linking with libm... (cached) no
checking for signbit macro... yes
checking for signbit compiler built-ins... no
checking for pthread_rwlock_t... yes
checking whether pthread_rwlock_rdlock prefers a writer to a reader... yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking whether rmdir works... yes
checking if malloc debugging is wanted... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... /bin/gmsgfmt
checking for xgettext... no
checking for msgmerge... /bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /usr/local/lib/sparcv9/libiconv.so -R/usr/local/lib/sparcv9 -R/usr/local/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/sparcv9/libintl.so -L/usr/local/lib/sparcv9 /usr/local/lib/libiconv.so -R/usr/local/lib/sparcv9 -R/usr/local/lib
checking for valgrind... no
checking Valgrind suppression file...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating src/yacc
config.status: creating javacomp.sh
config.status: creating javaexec.sh
config.status: creating gnulib-po/Makefile.in
config.status: creating runtime-po/Makefile.in
config.status: creating etc/bench.pl
config.status: creating tests/atlocal
config.status: creating tests/bison
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating doc/yacc.1
config.status: creating lib/config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating gnulib-po/POTFILES
config.status: creating gnulib-po/Makefile
config.status: creating runtime-po/POTFILES
config.status: creating runtime-po/Makefile
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing tests/atconfig commands
beta $

Great.

beta $
beta $ /usr/bin/time -p /usr/local/bin/gmake
rm -f lib/configmake.h-t && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
  echo '#define PREFIX "/usr/local"'; \
  echo '#define EXEC_PREFIX "/usr/local"'; \
  echo '#define BINDIR "/usr/local/bin"'; \
  echo '#define SBINDIR "/usr/local/sbin"'; \
  echo '#define LIBEXECDIR "/usr/local/libexec"'; \
  echo '#define DATAROOTDIR "/usr/local/share"'; \
  echo '#define DATADIR "/usr/local/share"'; \
  echo '#define SYSCONFDIR "/usr/local/etc"'; \
  echo '#define SHAREDSTATEDIR "/usr/local/com"'; \
  echo '#define LOCALSTATEDIR "/usr/local/var"'; \
  echo '#define RUNSTATEDIR "/usr/local/var/run"'; \
  echo '#define INCLUDEDIR "/usr/local/include"'; \
  echo '#define OLDINCLUDEDIR "/usr/include"'; \
  echo '#define DOCDIR "/usr/local/share/doc/bison"'; \
  echo '#define INFODIR "/usr/local/share/info"'; \
  echo '#define HTMLDIR "/usr/local/share/doc/bison"'; \
  echo '#define DVIDIR "/usr/local/share/doc/bison"'; \
  echo '#define PDFDIR "/usr/local/share/doc/bison"'; \
  echo '#define PSDIR "/usr/local/share/doc/bison"'; \
  echo '#define LIBDIR "/usr/local/lib"'; \
  echo '#define LISPDIR "/usr/local/share/emacs/site-lisp"'; \
  echo '#define LOCALEDIR "/usr/local/share/locale"'; \
  echo '#define MANDIR "/usr/local/share/man"'; \
  echo '#define MANEXT ""'; \
  echo '#define PKGDATADIR "/usr/local/share/bison"'; \
  echo '#define PKGINCLUDEDIR "/usr/local/include/bison"'; \
  echo '#define PKGLIBDIR "/usr/local/lib/bison"'; \
  echo '#define PKGLIBEXECDIR "/usr/local/libexec/bison"'; \
} | sed '/""/d' > lib/configmake.h-t && \
mv -f lib/configmake.h-t lib/configmake.h
.
.
.
/opt/developerstudio12.6/bin/c99 -m64 -xarch=sparc -g -Xc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -L/usr/local/lib -o src/bison src/bison-AnnotationList.o src/bison-InadequacyList.o src/bison-Sbitset.o src/bison-assoc.o src/bison-closure.o src/bison-complain.o src/bison-conflicts.o src/bison-derives.o src/bison-files.o src/bison-fixits.o src/bison-getargs.o src/bison-gram.o src/bison-graphviz.o src/bison-ielr.o src/bison-lalr.o src/bison-location.o src/bison-lr0.o src/bison-main.o src/bison-muscle-tab.o src/bison-named-ref.o src/bison-nullable.o src/bison-output.o src/bison-parse-gram.o src/bison-print-graph.o src/bison-print-xml.o src/bison-print.o src/bison-reader.o src/bison-reduce.o src/bison-relation.o src/bison-scan-code-c.o src/bison-scan-gram-c.o src/bison-scan-skel-c.o src/bison-state.o src/bison-symlist.o src/bison-symtab.o src/bison-tables.o src/bison-uniqstr.o -lm /usr/local/lib/sparcv9/libintl.so -L/usr/local/lib/sparcv9 /usr/local/lib/libiconv.so -R/usr/local/lib/sparcv9 -R/usr/local/lib -lrt lib/libbison.a
LC_ALL=C tests/bison --version >doc/bison.help.tmp
LC_ALL=C tests/bison --help | \
  sed -e 's,^Usage: .*/bison \[OPTION\],Usage: bison [OPTION],g' \
      -e '/translation bugs/d'  >>doc/bison.help.tmp
./build-aux/move-if-change doc/bison.help.tmp doc/bison.help
source='lib/main.c' object='lib/main.o' libtool=no \
DEPDIR=.deps depmode=dashXmstdout /usr/local/bin/bash ./build-aux/depcomp \
/opt/developerstudio12.6/bin/c99 -DEXEEXT=\"\" -I. -I./lib -I. -I./lib -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO -D_REENTRANT -I/usr/local/include -m64 -xarch=sparc -g -Xc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -c -o lib/main.o lib/main.c
source='lib/yyerror.c' object='lib/yyerror.o' libtool=no \
DEPDIR=.deps depmode=dashXmstdout /usr/local/bin/bash ./build-aux/depcomp \
/opt/developerstudio12.6/bin/c99 -DEXEEXT=\"\" -I. -I./lib -I. -I./lib -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO -D_REENTRANT -I/usr/local/include -m64 -xarch=sparc -g -Xc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -c -o lib/yyerror.o lib/yyerror.c
rm -f lib/liby.a
/usr/ccs/bin/ar cr lib/liby.a lib/main.o lib/yyerror.o
ranlib lib/liby.a
gmake[2]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002' gmake[1]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'

real 49.54
user 29.20
sys 9.41
beta $

Excellent.

Brace yer-self :-)

beta $
beta $ env | sort |  grep 'bash'
CONFIG_SHELL=/usr/local/bin/bash
SHELL=/usr/local/bin/bash
beta $
beta $
beta $
beta $
beta $ dn
20190526184856
beta $ /usr/bin/time -p /usr/local/bin/gmake check 2>&1 | tee ../bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002.check.log
if test -d ./.git                               \
        && git --version >/dev/null 2>&1; then                  \
  cd . &&                                               \
  git submodule --quiet foreach                                 \
      'test "$(git rev-parse "$sha1")"                  \
          = "$(git merge-base origin "$sha1")"'         \
    || { echo 'maint.mk: found non-public submodule commit' >&2;        \
         exit 1; };                                             \
else                                                            \
  : ;                                                           \
fi
/usr/local/bin/gmake  check-recursive
gmake[1]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'
Making check in po
gmake[2]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/po'
gmake[2]: Nothing to be done for 'check'.
gmake[2]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/po'
Making check in runtime-po
gmake[2]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/runtime-po'
gmake[2]: Nothing to be done for 'check'.
gmake[2]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/runtime-po'
Making check in gnulib-po
gmake[2]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/gnulib-po'
gmake[2]: Nothing to be done for 'check'.
gmake[2]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/gnulib-po'
Making check in .
gmake[2]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'
LC_ALL=C tests/bison --version >doc/bison.help.tmp
LC_ALL=C tests/bison --help | \
  sed -e 's,^Usage: .*/bison \[OPTION\],Usage: bison [OPTION],g' \
      -e '/translation bugs/d'  >>doc/bison.help.tmp
./build-aux/move-if-change doc/bison.help.tmp doc/bison.help
/usr/local/bin/gmake examples/c/calc/calc examples/c/mfcalc/mfcalc examples/c/rpcalc/rpcalc examples/java/Calc.class ./tests/bison tests/atconfig tests/atlocal gmake[3]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002' /usr/local/bin/bash ./build-aux/ylwrap examples/c/calc/calc.y y.tab.c examples/c/calc/calc.c y.tab.h `echo examples/c/calc/calc.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output examples/c/calc/calc.output -- ./tests/bison -o y.tab.c --defines -Werror -Wall --report=all --no-lines
updating examples/c/calc/calc.output
updating examples/c/calc/calc.h
source='examples/c/calc/calc.c' object='examples/c/calc/calc-calc.o' libtool=no \
DEPDIR=.deps depmode=dashXmstdout /usr/local/bin/bash ./build-aux/depcomp \
/opt/developerstudio12.6/bin/c99 -DEXEEXT=\"\" -I./examples/c/calc -I./examples/c/calc -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO -D_REENTRANT -I/usr/local/include -m64 -xarch=sparc -g -Xc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -c -o examples/c/calc/calc-calc.o `test -f 'examples/c/calc/calc.c' || echo './'`examples/c/calc/calc.c /opt/developerstudio12.6/bin/c99 -m64 -xarch=sparc -g -Xc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -L/usr/local/lib -o examples/c/calc/calc examples/c/calc/calc-calc.o /usr/local/bin/bash ./build-aux/ylwrap examples/c/mfcalc/mfcalc.y y.tab.c examples/c/mfcalc/mfcalc.c y.tab.h `echo examples/c/mfcalc/mfcalc.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output examples/c/mfcalc/mfcalc.output -- ./tests/bison -o y.tab.c --defines -Werror -Wall --report=all --no-lines
updating examples/c/mfcalc/mfcalc.output
updating examples/c/mfcalc/mfcalc.h
source='examples/c/mfcalc/mfcalc.c' object='examples/c/mfcalc/mfcalc-mfcalc.o' libtool=no \
DEPDIR=.deps depmode=dashXmstdout /usr/local/bin/bash ./build-aux/depcomp \
/opt/developerstudio12.6/bin/c99 -DEXEEXT=\"\" -I./examples/c/mfcalc -I./examples/c/mfcalc -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO -D_REENTRANT -I/usr/local/include -m64 -xarch=sparc -g -Xc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -c -o examples/c/mfcalc/mfcalc-mfcalc.o `test -f 'examples/c/mfcalc/mfcalc.c' || echo './'`examples/c/mfcalc/mfcalc.c "examples/c/mfcalc/mfcalc.c", line 1578: warning: implicit function declaration: strdup (E_NO_IMPLICIT_DECL_ALLOWED) "examples/c/mfcalc/mfcalc.c", line 1578: warning: improper pointer/integer combination: op "=" (E_BAD_PTR_INT_COMBINATION) /opt/developerstudio12.6/bin/c99 -m64 -xarch=sparc -g -Xc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -L/usr/local/lib -o examples/c/mfcalc/mfcalc examples/c/mfcalc/mfcalc-mfcalc.o -lm /usr/local/bin/bash ./build-aux/ylwrap examples/c/rpcalc/rpcalc.y y.tab.c examples/c/rpcalc/rpcalc.c y.tab.h `echo examples/c/rpcalc/rpcalc.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output examples/c/rpcalc/rpcalc.output -- ./tests/bison -o y.tab.c --defines -Werror -Wall --report=all --no-lines
updating examples/c/rpcalc/rpcalc.output
updating examples/c/rpcalc/rpcalc.h
source='examples/c/rpcalc/rpcalc.c' object='examples/c/rpcalc/rpcalc-rpcalc.o' libtool=no \
DEPDIR=.deps depmode=dashXmstdout /usr/local/bin/bash ./build-aux/depcomp \
/opt/developerstudio12.6/bin/c99 -DEXEEXT=\"\" -I./examples/c/rpcalc -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_TS_ERRNO -D_REENTRANT -I/usr/local/include -m64 -xarch=sparc -g -Xc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -c -o examples/c/rpcalc/rpcalc-rpcalc.o `test -f 'examples/c/rpcalc/rpcalc.c' || echo './'`examples/c/rpcalc/rpcalc.c /opt/developerstudio12.6/bin/c99 -m64 -xarch=sparc -g -Xc -errfmt=error -erroff=%none -errshort=full -xstrconst -xildoff -xmemalign=8s -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -mc -ftrap=%none -xbuiltin=%none -xunroll=1 -xs -xdebugformat=dwarf -errtags=yes -errwarn=%none -L/usr/local/lib -o examples/c/rpcalc/rpcalc examples/c/rpcalc/rpcalc-rpcalc.o -lm
build-aux/install-sh -c -d examples/java
./tests/bison ./examples/java/Calc.y -o examples/java/Calc.java
/usr/local/bin/bash ./javacomp.sh examples/java/Calc.java
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
gmake[3]: 'tests/bison' is up to date.
gmake[3]: Nothing to be done for 'tests/atconfig'.
gmake[3]: 'tests/atlocal' is up to date.
gmake[3]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'
/usr/local/bin/gmake  check-TESTS check-local
gmake[3]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002' gmake[4]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'
PASS: examples/c/mfcalc/mfcalc.test
PASS: examples/c/rpcalc/rpcalc.test
PASS: examples/c/calc/calc.test
PASS: examples/java/Calc.test
============================================================================
Testsuite summary for GNU Bison 3.4.1.5-1dcd6
============================================================================
# TOTAL: 4
# PASS:  4
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
gmake[4]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'
/usr/local/bin/gmake  all-recursive
gmake[4]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'
Making all in po
gmake[5]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/po'
gmake[5]: Nothing to be done for 'all'.
gmake[5]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/po'
Making all in runtime-po
gmake[5]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/runtime-po'
gmake[5]: Nothing to be done for 'all'.
gmake[5]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/runtime-po'
Making all in gnulib-po
gmake[5]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/gnulib-po'
gmake[5]: Nothing to be done for 'all'.
gmake[5]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002/gnulib-po'
Making all in .
gmake[5]: Entering directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'
LC_ALL=C tests/bison --version >doc/bison.help.tmp
LC_ALL=C tests/bison --help | \
  sed -e 's,^Usage: .*/bison \[OPTION\],Usage: bison [OPTION],g' \
      -e '/translation bugs/d'  >>doc/bison.help.tmp
./build-aux/move-if-change doc/bison.help.tmp doc/bison.help
gmake[5]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002' gmake[4]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'
/usr/local/bin/bash ./tests/testsuite -C tests
## ----------------------------------- ##
## GNU Bison 3.4.1.5-1dcd6 test suite. ##
## ----------------------------------- ##

Input Processing.

  1: Invalid number of arguments                     ok
  2: Invalid options                                 ok
  3: Invalid inputs                                  ok
  4: Invalid inputs with {}                          ok
  5: Yacc warnings on symbols                        ok
  6: Yacc warnings                                   ok
  7: Invalid symbol declarations                     ok
  8: Symbol declarations                             ok
  9: Invalid $n and @n                               ok
 10: Type Clashes                                    ok

.
.
.
.   happy happy joy joy good stuff !!!
.
.
   I shall fetch a coffee while this goodness continues :-)

.
.
.

Usually takes a while.

Let's look at the rest of this email.


Well, the thing is that it's a pain to be compliant with them, if it's useless.

Pain?  Let me tell you about pain.  I had a pile of Oracle/Solaris zones
running in production within a finance corp and had to get up to date
Apache httpd there as well as OpenSSL with latest TLS 1.3 and then php
also.  A horror show nightmare. A nightmare I tell you.

Wow...  I had no idea you faced such challenges, but I can imagine
(well, probably only vaguely) how tricky it must be to shoehorn
new pieces of software onto an old platform.

I was working on the TLs v1.3 implementation into Apache httpd last year
and to that end setup www.tls13.net which, at the time, was the only
valid tls1.3 protocol site other than a test site at mozilla. It was fun
hacking along getting httpd to a release status. Some funny issues were
hit which turned out to be "features" of the new TLS 1.3 protocol and
the manner in which it shakes hands between client and server. All of
that ran on these old Solaris boxen and I still have ( I think ) the
only 64-bit tool chain for Solaris sparc. So I am happy with the results
but the platform just gets worse and worse for other reasons.


Simple solution?  Install a deck load of Debian and FreeBSD boxen. All
problems go away with 10Gbit LACP and backend storage and VMware ESXi
and other modern solutions.

Yes, I can imagine how suddenly friction and viscosity is reduced.


Slip and slide and things "just work"(tm).


Anyways Solaris on sparc is a curse.

It used to be a beautiful environment.  Their chips are so much better
than Intel's (well, Itanium was promising, but actually it's not even
Intel that started it).

I have about five architectures running. All of them have their features
where SPARC us the most frustrating. Not because of the technology which
is beautiful. The processors are awesome at the high end. However I have
these massive monoliths in my life that can do nothing for me. Consider
an Oracle M4000 server with 256GB of memory ( top end ECC surely ) and a
deck load of Fujitsu SPARC VII+ processor cores.  Sits at my desk. A
very large wind storm proof paper weight.  Can not run Linux.  Can not
run FreeBSD.  Can not run a recent Solaris.  I also have HP black towers
Superdomes.  Multiple.  They need 600 volt power and stand seven feet
tall and do nothing.  Very sad state of affairs for PA-RISC but I know
there are folks working away on the Linux kernel for PA-RISC so there is
always hope.  My arm and IBM Power systems are great. They run Linux and
even FreeBSD on IBM Power9 and ppc64 runs well. With ZFS!  I also have
an eight-cpu RISC-V rv64imafdc vm running with FreeBSD and it also has
ZFS in there.  However SPARC just gets worse and worse.


But now all this is bit-rotten.


Sadly.

I think I am qualified to say so.
It has three features : very expensive, very slow, very power hungry and
runs hot as anything you can imagine.  Four.  Four features.

:) :) :)


Hope you spot the Monty Pythin reference.

Also nothing else runs on sparc.  Not any recent sparc.

Anyways, rant aside, there are shells out there other than bash and so
it may be of some limited value to make the scripts and such really
baseline old school compliant.  However is it worth the effort?

Well, it really depends on the cost.  Migrating to full support for
the native shell is probably too painful (and with a negative impact
for new users: the "example/test" shell script is installed with
the examples and meant to be read by end users, whom I'd like to
protect from antique idioms such as `...` (which cannot be nested
safely) instead of $(...)).  But supporting properly $SHELL is
definitely Bison should do.


Tests are running here and the question remains will all this work if
I were to switch back to XPG4 hard core POSIX bourne shell?

450: Many lookahead tokens                           FAILED (torture.at:357)


## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 436 tests were run,
1 failed unexpectedly.
136 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `tests/testsuite.log' and all information you think might help:

   To: <address@hidden>
   Subject: [GNU Bison 3.4.1.5-1dcd6] testsuite: 450 failed

You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.  Its output may
be found below `tests/testsuite.dir'.

gmake[3]: *** [Makefile:10825: check-local] Error 1
gmake[3]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'
gmake[2]: *** [Makefile:8357: check-am] Error 2
gmake[2]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'
gmake[1]: *** [Makefile:7907: check-recursive] Error 1
gmake[1]: Leaving directory '/usr/local/build/bison-3.4.1.5-1dcd6_SunOS5.10_sparc64vii+.002'
gmake: *** [Makefile:8359: check] Error 2

real 939.67
user 877.13
sys 113.13
beta $


One test fails?!   Not bad !


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



reply via email to

[Prev in Thread] Current Thread [Next in Thread]