gnu tar 1.27 (and 1.27.1) both fail to compile on my solaris 9 build host with gcc 4.6.4:
% uname -rs SunOS 5.9 % gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/gcc-gnutools-4.6.4/libexec/gcc/sparc-sun-solaris2.9/4.6.4/lto-wrapper Target: sparc-sun-solaris2.9 Configured with: ../gcc-4.6.4/configure --disable-shared --enable-languages=c,c++ --prefix=/usr/local/gcc-gnutools-4.6.4 --with-as=/usr/local/binutils/bin/as --with-gnu-as --with-gnu-ld --with-ld=/usr/local/binutils/bin/ld Thread model: posix gcc version 4.6.4 (GCC) % /usr/local/binutils/bin/ld --version GNU ld (GNU Binutils) 2.23.2 Copyright 2012 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 (at your option) a later version. This program has absolutely no warranty. % cd /tmp/tar-1.27 % gmake gmake all-recursive gmake[1]: Entering directory `/tmp/tar-1.27' Making all in doc gmake[2]: Entering directory `/tmp/tar-1.27/doc' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/tmp/tar-1.27/doc' Making all in gnu gmake[2]: Entering directory `/tmp/tar-1.27/gnu' gmake all-recursive gmake[3]: Entering directory `/tmp/tar-1.27/gnu' gmake[4]: Entering directory `/tmp/tar-1.27/gnu' gmake[4]: Nothing to be done for `all-am'. gmake[4]: Leaving directory `/tmp/tar-1.27/gnu' gmake[3]: Leaving directory `/tmp/tar-1.27/gnu' gmake[2]: Leaving directory `/tmp/tar-1.27/gnu' Making all in lib gmake[2]: Entering directory `/tmp/tar-1.27/lib' gmake all-am gmake[3]: Entering directory `/tmp/tar-1.27/lib' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/tmp/tar-1.27/lib' gmake[2]: Leaving directory `/tmp/tar-1.27/lib' Making all in rmt gmake[2]: Entering directory `/tmp/tar-1.27/rmt' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/tmp/tar-1.27/rmt' Making all in src gmake[2]: Entering directory `/tmp/tar-1.27/src' CCLD tar xheader.o: In function `sparse_map_decoder': /tmp/tar-1.27/src/xheader.c:1461: undefined reference to `strtoimax' misc.o: In function `strtosysint': /tmp/tar-1.27/src/misc.c:377: undefined reference to `strtoimax' misc.o: In function `decode_timespec': /tmp/tar-1.27/src/misc.c:475: undefined reference to `strtoimax' collect2: ld returned 1 exit status gmake[2]: *** [tar] Error 1 gmake[2]: Leaving directory `/tmp/tar-1.27/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/tar-1.27' gmake: *** [all] Error 2 this host/compiler/linker successfully compiled gnu tar 1.25. thanks! jesse