Subject: toolchain/26488: configure: netbsd 2.0 not supported
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <Christoph_Egger@gmx.de>
List: netbsd-bugs
Date: 07/31/2004 10:58:00
>Number:         26488
>Category:       toolchain
>Synopsis:       configure: netbsd 2.0 not supported
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 31 13:23:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Christoph Egger
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD phoenix.eggernet.de 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Sat Jul 31 14:12:00 CEST 2004 root@phoenix.eggernet.de:/usr/objdir.sparc64/sys/arch/sparc64/compile/GENERIC sparc64
Architecture: sparc64
Machine: sparc64

>Description:

configure says, netbsd 2.0 is not supported:

dependall ===> gcc
Configuring for a unknown-unknown-netbsd2.0. host.
Created "Makefile" in /usr/objdir.sparc64/tools/gcc/build
./config.status is unchanged
Configuring libiberty...
loading cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... (cached) makeinfo
checking for perl... (cached) perl
checking host system type... unknown-unknown-netbsd2.0.
checking build system type... unknown-unknown-netbsd2.0.
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for gcc... (cached) cc
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking whether cc understands -c and -o together... (cached) yes
checking for POSIXized ISC... no
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for a BSD compatible install... /usr/toolchain/tooldir.NetBSD-2.0B-sparc64/bin/nbinstall -c -p -r
xhost-mkfrag is unchanged
checking how to run the C preprocessor... (cached) cc -E
checking for sys/file.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for alloca.h... (cached) no
checking for sys/pstat.h... (cached) no
checking for sys/sysmp.h... (cached) no
checking for sys/sysinfo.h... (cached) no
checking for machine/hal_sysinfo.h... (cached) no
checking for sys/table.h... (cached) no
checking for sys/sysctl.h... (cached) yes
checking for sys/systemcfg.h... (cached) no
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether errno must be declared... (cached) no
checking for ANSI C header files... (cached) yes
checking for uintptr_t... (cached) no
checking for pid_t... (cached) yes
checking whether the C compiler (cc -O ) works... yes
checking whether the C compiler (cc -O ) is a cross-compiler... no
checking for asprintf... (cached) yes
checking for atexit... (cached) yes
checking for basename... (cached) yes
checking for bcmp... (cached) yes
checking for bcopy... (cached) yes
checking for bsearch... (cached) yes
checking for bzero... (cached) yes
checking for calloc... (cached) yes
checking for clock... (cached) yes
checking for ffs... (cached) yes
checking for getcwd... (cached) yes
checking for getpagesize... (cached) yes
checking for index... (cached) yes
checking for insque... (cached) no
checking for memchr... (cached) yes
checking for memcmp... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for memset... (cached) yes
checking for mkstemps... (cached) no
checking for putenv... (cached) yes
checking for random... (cached) yes
checking for rename... (cached) yes
checking for rindex... (cached) yes
checking for setenv... (cached) yes
checking for sigsetmask... (cached) yes
checking for strcasecmp... (cached) yes
checking for strchr... (cached) yes
checking for strdup... (cached) yes
checking for strncasecmp... (cached) yes
checking for strrchr... (cached) yes
checking for strstr... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for strtoul... (cached) yes
checking for tmpnam... (cached) yes
checking for vasprintf... (cached) yes
checking for vfprintf... (cached) yes
checking for vprintf... (cached) yes
checking for vsprintf... (cached) yes
checking for waitpid... (cached) yes
checking whether alloca needs Cray hooks... (cached) no
checking stack direction for C alloca... (cached) -1
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for _doprnt... (cached) no
checking for sys_errlist... (cached) yes
checking for sys_nerr... (cached) yes
checking for sys_siglist... (cached) yes
checking for external symbol _system_configuration... no
checking whether canonicalize_file_name must be declared... (cached) yes
checking for getrusage... (cached) yes
checking for on_exit... (cached) no
checking for psignal... (cached) yes
checking for strerror... (cached) yes
checking for strsignal... (cached) yes
checking for sysconf... (cached) yes
checking for times... (cached) yes
checking for sbrk... (cached) yes
checking for gettimeofday... (cached) yes
checking for realpath... (cached) yes
checking for canonicalize_file_name... (cached) no
checking for pstat_getstatic... (cached) no
checking for pstat_getdynamic... (cached) no
checking for sysmp... (cached) no
checking for getsysinfo... (cached) no
checking for table... (cached) no
checking for sysctl... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for working strncmp... (cached) yes
creating ./config.status
creating Makefile
creating testsuite/Makefile
creating config.h
config.h is unchanged
Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... unknown-unknown-netbsd2.0.
checking target system type... sparc64--netbsd
checking build system type... unknown-unknown-netbsd2.0.
checking for gcc... (cached) cc
checking whether the C compiler (cc -O ) works... yes
checking whether the C compiler (cc -O ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking whether cc understands -c and -o together... (cached) yes
checking for gnatbind... no
checking for compiler driver that understands Ada... no
checking whether cc accepts -Wno-long-long... yes
checking how to run the C preprocessor... (cached) cc -E
checking for inline... (cached) inline
checking for volatile... yes
checking for long double... yes
checking for long long int... yes
checking for __int64... no
checking for built-in _Bool... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking execution character set... ASCII
checking whether /usr/toolchain/tooldir.NetBSD-2.0B-sparc64/bin/nbmake sets ${MAKE}... yes
checking whether a default assembler was specified... no
checking whether a default linker was specified... no
checking for GNU C library... no
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether ln works... yes
checking whether ln -s works... yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... /usr/toolchain/tooldir.NetBSD-2.0B-sparc64/bin/nbinstall -c -p -r
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for working stdbool.h... yes
checking whether string.h and strings.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for limits.h... (cached) yes
checking for stddef.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/times.h... yes
checking for sys/stat.h... (cached) yes
checking for direct.h... no
checking for malloc.h... (cached) yes
checking for langinfo.h... yes
checking for thread.h... no
checking for pthread.h... yes
checking for CHAR_BIT... yes
checking byte ordering... big-endian
checking floating point format... IEEE (big-endian)
checking for mktemp... yes
checking for makeinfo... (cached) makeinfo
checking for modern makeinfo... yes
checking for recent Pod::Man... yes
checking for flex... flex
checking for bison... /bin/sh /usr/src-2.0/tools/gcc/../../gnu/dist/gcc/gcc/../missing bison
checking for collect2 libraries... none required
checking for library containing exc_resume... no
checking for library containing ldexp... none required
checking for preprocessor stringizing operator... yes
checking for inttypes.h... yes
checking for times... (cached) yes
checking for clock... (cached) yes
checking for dup2... yes
checking for kill... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking for atoll... yes
checking for atoq... no
checking for sysconf... (cached) yes
checking for strsignal... (cached) yes
checking for putc_unlocked... yes
checking for fputc_unlocked... no
checking for fputs_unlocked... no
checking for fwrite_unlocked... no
checking for fprintf_unlocked... no
checking for getrusage... (cached) yes
checking for nl_langinfo... yes
checking for lstat... yes
checking for scandir... yes
checking for alphasort... yes
checking for gettimeofday... (cached) yes
checking for mmap... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking whether the printf functions support %p... yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for pid_t... (cached) yes
checking for vfork.h... (cached) no
checking for working vfork... (cached) yes
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft
);
checking whether getenv is declared... yes
checking whether atol is declared... yes
checking whether sbrk is declared... yes
checking whether abort is declared... yes
checking whether atof is declared... yes
checking whether getcwd is declared... yes
checking whether getwd is declared... yes
checking whether strsignal is declared... yes
checking whether putc_unlocked is declared... yes
checking whether fputs_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether fprintf_unlocked is declared... no
checking whether strstr is declared... yes
checking whether errno is declared... yes
checking whether vasprintf is declared... yes
checking whether malloc is declared... yes
checking whether realloc is declared... yes
checking whether calloc is declared... yes
checking whether free is declared... yes
checking whether basename is declared... no
checking whether getopt is declared... yes
checking whether clock is declared... yes
checking whether getrlimit is declared... yes
checking whether setrlimit is declared... yes
checking whether getrusage is declared... yes
checking whether times is declared... yes
checking for struct tms... yes
checking for clock_t... yes
checking for uchar... 
checking for .preinit_array/.init_array/.fini_array support... no
checking if mkdir takes one argument... no
checking for main in -lunwind... no
*** Configuration unknown-unknown-netbsd2.0. not supported
Configure in /usr/objdir.sparc64/tools/gcc/build/gcc failed, exiting.

*** Failed target:  .configure_done
*** Failed command: (cd build && CC=cc CFLAGS=-O CPPFLAGS= CXX=c++ CXXFLAGS=-O INSTALL=/usr/toolchain/tooldir.NetBSD-2.0
B-sparc64/bin/nbinstall\ -c\ -p\ -r LDFLAGS= LEX=/usr/toolchain/tooldir.NetBSD-2.0B-sparc64/bin/nblex MAKE=/usr/toolchai
n/tooldir.NetBSD-2.0B-sparc64/bin/nbmake PATH="/usr/toolchain/tooldir.NetBSD-2.0B-sparc64/bin:$PATH" YACC=/usr/toolchain
/tooldir.NetBSD-2.0B-sparc64/bin/nbyacc sh /usr/src-2.0/tools/gcc/../../gnu/dist/gcc/configure --target=sparc64--netbsd 
--disable-nls --enable-long-long --disable-multilib --enable-threads --program-transform-name="s,^,sparc64--netbsd-," --
enable-languages="c c++ objc f77" --prefix=/usr/toolchain/tooldir.NetBSD-2.0B-sparc64)
*** Error code 1

Stop.
nbmake: stopped in /usr/src-2.0/tools/gcc

*** Failed target:  dependall
*** Failed command: cd /usr/src-2.0/tools/gcc; /usr/toolchain/tooldir.NetBSD-2.0B-sparc64/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src-2.0/tools/gcc

*** Failed target:  dependall-gcc
*** Failed command: targ=dependall;dir=gcc; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /usr/toolchain/tooldir
.NetBSD-2.0B-sparc64/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/usr/src-2.0/tools/$dir"; /us
r/toolchain/tooldir.NetBSD-2.0B-sparc64/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1

Stop.
nbmake: stopped in /usr/src-2.0/tools

*** Failed target:  do-tools
*** Failed command: (cd /usr/src-2.0/tools && /usr/toolchain/tooldir.NetBSD-2.0B-sparc64/bin/nbmake dependall)
*** Error code 1

Stop.
nbmake: stopped in /usr/src-2.0

*** Failed target:  build
*** Failed command: (cd /usr/src-2.0 && /usr/toolchain/tooldir.NetBSD-2.0B-sparc64/bin/nbmake do-tools)
*** Error code 1

Stop.
nbmake: stopped in /usr/src-2.0

*** Failed target:  distribution
*** Failed command: (cd /usr/src-2.0 && /usr/toolchain/tooldir.NetBSD-2.0B-sparc64/bin/nbmake NOPOSTINSTALL=1 build)
*** Error code 1

Stop.
nbmake: stopped in /usr/src-2.0

ERROR: Failed to make distribution
*** BUILD ABORTED ***

>How-To-Repeat:

get the netbsd-2-0 branch and build a sparc64 distribution.

I do a native build. I don't know, if this is reproducable when
crosscompiling.

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: