Current-Users archive

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

Re: build failure, amd64



This looks like possible fallout from rmind's commit:

Module Name:    src
Committed By:   rmind
Date:           Mon May  2 00:29:54 UTC 2011

Modified Files:
        src/sys/arch/mips/include: cpu.h
        src/sys/arch/mips/mips: compat_16_machdep.c cpu_subr.c mips_fpu.c
            netbsd32_machdep.c process_machdep.c vm_machdep.c
        src/sys/kern: kern_synch.c subr_pcu.c
        src/sys/sys: pcu.h

Log Message:
Extend PCU:
- Add pcu_ops_t::pcu_state_release() operation for PCU_RELEASE case.
- Add pcu_switchpoint() to perform release operation on context switch.
- Sprinkle const, misc.  Also, sync MIPS with changes.

Per discussions with matt@.


On Mon, 2 May 2011, bch%methodlogic.net@localhost wrote:



--- confstr.o ---
/usr/src/obj/tooldir.NetBSD-5.99.51-amd64/bin/x86_64--netbsd-gcc -O2 -Wall 
-Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings 
-Wreturn-type -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wextra -Wno-unused-parameter -Wsign-compare -std=gnu99  
-Werror  -fstack-protector -Wstack-protecto
r --param ssp-buffer-size=1  --sysroot=/usr/src/obj/destdir.amd64 -D_LIBC 
-DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D
HESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include -I/usr/src/lib/libc 
-I/usr/src/sys -I/usr/src/lib/libc/compat/
../locale -I/usr/src/lib/libc/compat/stdlib 
-I/usr/src/lib/libc/compat/../stdlib -I/usr/src/lib/libc/../../common/li
b/libc/quad -I/usr/src/lib/libc/../../common/lib/libc/string 
-I/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/s
tring -D__DBINTERFACE_PRIVATE -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/x86_64/gdtoa -DWITH_RUNE -I/usr/src/lib/libc 
-DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POL
L -DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT  -D_FORTIFY_SOURCE=2 -c    
/usr/src/lib/libc/gen/confstr.c -o con
fstr.o
--- gethostid.o ---
In file included from /usr/src/sys/sys/lwp.h:47,
                from /usr/src/sys/sys/proc.h:83,
                from /usr/src/sys/sys/sysctl.h:46,
                from /usr/src/lib/libc/compat-43/gethostid.c:44:
--- sethostid.o ---
In file included from /usr/src/sys/sys/lwp.h:47,
                from /usr/src/sys/sys/proc.h:83,
                from /usr/src/sys/sys/sysctl.h:46,
                from /usr/src/lib/libc/compat-43/sethostid.c:43:
/usr/src/sys/sys/pcu.h:36:2: error: #error "not supposed to be exposed to 
userland"
--- gethostid.o ---
/usr/src/sys/sys/pcu.h:36:2: error: #error "not supposed to be exposed to 
userland"
--- confstr.o ---
In file included from /usr/src/sys/sys/lwp.h:47,
                from /usr/src/sys/sys/proc.h:83,
                from /usr/src/sys/sys/sysctl.h:46,
                from /usr/src/lib/libc/gen/confstr.c:43:
/usr/src/sys/sys/pcu.h:36:2: error: #error "not supposed to be exposed to 
userland"
--- arc4random.o ---
In file included from /usr/src/sys/sys/lwp.h:47,
                from /usr/src/sys/sys/proc.h:83,
                from /usr/src/sys/sys/sysctl.h:46,
                from /usr/src/lib/libc/gen/arc4random.c:40:
/usr/src/sys/sys/pcu.h:36:2: error: #error "not supposed to be exposed to 
userland"
--- gethostid.o ---
*** [gethostid.o] Error code 1
nbmake: stopped in /usr/src/lib/libc
--- arc4random.o ---
*** [arc4random.o] Error code 1
nbmake: stopped in /usr/src/lib/libc
--- sethostid.o ---
*** [sethostid.o] Error code 1
nbmake: stopped in /usr/src/lib/libc
--- confstr.o ---
*** [confstr.o] Error code 1
nbmake: stopped in /usr/src/lib/libc
4 errors
nbmake: stopped in /usr/src/lib/libc
*** [dependall] Error code 2
nbmake: stopped in /usr/src/lib/libc



--
Brad Harder
Method Logic Digital Consulting
http://methodlogic.net/
http://twitter.com/bcharder


!DSPAM:4dbe150a2431735619912!




-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index