Current-Users archive

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

Re: amd64 5.0_STABLE -> i386 -current cross build fails in lint?



On Thu, Nov 05, 2009 at 11:18:19AM -0500, Rafal Boni wrote:
> This is an odd one, I see lint failures even after cleaning out both the
> objdir and destdir and rebuilding tools:
> 
> --- LintSysNoerr.ln ---
> CC=/extra/tools/i386/bin/i486--netbsdelf-gcc 
> /extra/tools/i386/bin/i486--netbsde
> lf-lint -chapbxzFS -w -X 272 -d /extra/i386/root/usr/include  -D_LIBC 
> -DLIBC_SCC
> S -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP 
> -I/extra/netbsd-src/cu
> rrent/lib/libc/include -I/extra/netbsd-src/current/lib/libc 
> -I/extra/netbsd-src/
> current/sys -I/extra/netbsd-src/current/lib/libc/compat/stdlib 
> -I/extra/netbsd-s
> rc/current/lib/libc/compat/../stdlib 
> -I/extra/netbsd-src/current/lib/libc/../../
> common/lib/libc/quad 
> -I/extra/netbsd-src/current/lib/libc/../../common/lib/libc/
> string 
> -I/extra/netbsd-src/current/lib/libc/../../common/lib/libc/arch/i386/stri
> ng -D__DBINTERFACE_PRIVATE -I/extra/netbsd-src/current/libexec/ld.elf_so 
> -I/extr
> a/netbsd-src/current/lib/libc/dlfcn 
> -I/extra/netbsd-src/current/lib/libc/gdtoa -
> DNO_FENV_H -I/extra/netbsd-src/current/lib/libc/arch/i386/gdtoa -DWITH_RUNE 
> -I/e
> xtra/netbsd-src/current/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL 
> -DPORT
> MAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2    -i 
> LintSysNoer
> r.c
> /extra/netbsd-src/current/sys/compat/sys/time.h(131): redeclaration of 
> getitimer
>  [27]
> /extra/netbsd-src/current/sys/compat/sys/time.h(132): redeclaration of 
> gettimeof
> day [27]
> /extra/netbsd-src/current/sys/compat/sys/time.h(134): redeclaration of 
> setitimer
>  [27]
> /extra/netbsd-src/current/sys/compat/sys/time.h(135): redeclaration of utimes 
> [2
> 7]
> /extra/netbsd-src/current/sys/compat/sys/time.h(144): redeclaration of 
> adjtime [
> 27]
> /extra/netbsd-src/current/sys/compat/sys/time.h(145): redeclaration of 
> futimes [
> 27]
> /extra/netbsd-src/current/sys/compat/sys/time.h(146): redeclaration of 
> lutimes [
> 27]
> /extra/netbsd-src/current/sys/compat/sys/time.h(148): redeclaration of 
> settimeof
> day [27]
> *** [LintSysPseudoNoerr.ln] Error code 1
> 
> The build got through this phase last night, then I updated (and nothing
> relevant changed AFAICT) and I'm stuck here.

This is related to recent lfs compat changes ... LintSys*.c files do
include both `sys/time.h' and `compat/sys/time.h' (from ufs/lfs/lfs.h)
which have conflicting definitions ...

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index