Subject: build.sh release failure on hp700
To: Current Users <current-users@netbsd.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 08/13/2007 10:12:37
cvs up -dPA from a few minutes.

....
CC=/f/tools/bin/hppa--netbsd-gcc /f/tools/bin/nbmkdep -f
infinityl_dbl_ieee754.d --      -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS
-D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include
-I/usr/src/lib/libc -I/usr/src/sys -I/usr/src/lib/libc/compat/stdlib
-I/usr/src/lib/libc/compat/../stdlib
-I/usr/src/lib/libc/../../common/lib/libc/quad
-I/usr/src/lib/libc/../../common/lib/libc/string
-D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn
-I/usr/src/lib/libc/gdtoa -DNO_FENV_H
-I/usr/src/lib/libc/arch/hppa/gdtoa -DCITRUS_ICONV -DWITH_RUNE
-I/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP
-DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT  -D_FORTIFY_SOURCE=2  -nostdinc
-isystem /e/dest/usr/include
/usr/src/lib/libc/gen/infinityl_dbl_ieee754.c
/usr/src/lib/libc/gen/infinityl_dbl_ieee754.c:13:2: error: #error
double / long double mismatch
nbmkdep: compile failed.

*** Failed target:  infinityl_dbl_ieee754.d
*** Failed command: CC=/f/tools/bin/hppa--netbsd-gcc
/f/tools/bin/nbmkdep -f infinityl_dbl_ieee754.d -- -D_LIBC -DLIBC_SCCS
-DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP
-I/usr/src/lib/libc/include -I/usr/src/lib/libc -I/usr/src/sys
-I/usr/src/lib/libc/compat/stdlib -I/usr/src/lib/libc/compat/../stdlib
-I/usr/src/lib/libc/../../common/lib/libc/quad
-I/usr/src/lib/libc/../../common/lib/libc/string
-D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn
-I/usr/src/lib/libc/gdtoa -DNO_FENV_H
-I/usr/src/lib/libc/arch/hppa/gdtoa -DCITRUS_ICONV -DWITH_RUNE
-I/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP
-DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -nostdinc
-isystem /e/dest/usr/include
/usr/src/lib/libc/gen/infinityl_dbl_ieee754.c
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/libc

..................................................

build.sh invoked as follows:


./build.sh  -m hp700 -D /e/dest -M /f/obj -T /f/tools -R /e/release -u
-x release

Cross-compiled on i386 -current from a few days ago (4.99.27).

I guess I could shunt the #ifdef, but don't understand the consequences.

Cheers,

Chavdar Ivanov