Subject: amd64 -current compilation failure
To: NetBSD-current Discussion List <current-users@netbsd.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 03/14/2006 16:36:04
Hi,
This was my third attempt in as many days - remove all traces from
previous compilation (obj and release dirs), 'make cleandir' in
/usr/src, 'cvs up -dPA' in /usr/src and /usr/xsrc. build.sh release
crosscompile on i386 -current with amd64 target fails as follows:
......
# compile libc/iconv.o
/d/netbsd-builds/3_99/amd64/tools/bin/x86_64--netbsd-gcc -O2 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow
-Wcast-qual -Wwrite-strings -std=3Dgnu99 -Werror -I/usr/pkg/include
-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
-I/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/string
-D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=3D4 -DCITRUS
-I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn
-I/usr/src/lib/libc/arch/x86_64/gdtoa -DNO_FENV_H -DCITRUS_ICONV
-DWITH_RUNE -I/usr/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES
-DPORTMAP -DALL_STATE -DUSG_COMPAT -nostdinc -isystem
/d/netbsd-builds/3_99/amd64/destdir/usr/include -c =20
/usr/src/lib/libc/iconv/iconv.c -o iconv.o
In file included from /usr/src/lib/libc/iconv/iconv.c:40:
/usr/pkg/include/iconv.h:70:1: "iconv_open" redefined
In file included from /usr/src/lib/libc/iconv/iconv.c:34:
/usr/src/lib/libc/include/namespace.h:348:1: this is the location of
the previous definition
In file included from /usr/src/lib/libc/iconv/iconv.c:40:
/usr/pkg/include/iconv.h:80:1: "iconv" redefined
In file included from /usr/src/lib/libc/iconv/iconv.c:34:
/usr/src/lib/libc/include/namespace.h:347:1: this is the location of
the previous definition
In file included from /usr/src/lib/libc/iconv/iconv.c:40:
/usr/pkg/include/iconv.h:86:1: "iconv_close" redefined
In file included from /usr/src/lib/libc/iconv/iconv.c:34:
/usr/src/lib/libc/include/namespace.h:349:1: this is the location of
the previous definition
/usr/src/lib/libc/iconv/iconv.c:60: warning: no previous prototype for
`_iconv_open'
/usr/src/lib/libc/iconv/iconv.c:75: warning: no previous prototype for
`_iconv_close'
/usr/src/lib/libc/iconv/iconv.c:88: warning: no previous prototype for `_ic=
onv'
/usr/src/lib/libc/iconv/iconv.c:111: warning: no previous prototype
for `__iconv'
/usr/src/lib/libc/iconv/iconv.c:135: warning: no previous prototype
for `__iconv_get_list'
/usr/src/lib/libc/iconv/iconv.c:149: warning: no previous prototype
for `__iconv_free_list'
*** Failed target: iconv.o
---------------
I am probably missing some step, but I had a successful build.sh
release on the same machine on the 9th...
TIA,
Chavdar