buildworld breakage (RE: cvs commit: src/lib/libpthread/arch/amd64/include pthread_md.h src/lib/libpthread/arch/i386/include pthread_md.h)

From: Daniel Eriksson <daniel_k_eriksson_at_telia.com>
Date: Thu, 26 Aug 2004 04:42:51 +0200
David Xu wrote:

>   Modified files:
>     lib/libpthread/arch/amd64/include pthread_md.h 
>     lib/libpthread/arch/i386/include pthread_md.h 
>   Log:
>   gcc -O2 cleanup. tested for a long time.

This breaks buildworld:

cc -fpic -DPIC -O2 -pipe -march=athlon-xp -DPTHREAD_KERNEL
-I/usr/src/lib/libpthread/../libc/include -I/usr/src/lib/libpthread/thread
-I/usr/src/lib/libpthread/../../include
-I/usr/src/lib/libpthread/arch/i386/include -I/usr/src/lib/libpthread/sys
-I/usr/src/lib/libpthread/../../libexec/rtld-elf
-I/usr/src/lib/libpthread/../../libexec/rtld-elf/i386 -fno-builtin
-D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall
-I/usr/src/lib/libpthread/../libc/i386    -c
/usr/src/lib/libpthread/arch/i386/i386/pthread_md.c -o pthread_md.So^M
In file included from
/usr/src/lib/libpthread/arch/i386/i386/pthread_md.c:43:
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function
`_kcb_get':
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h:163: error: syntax
error before "typeof"
In file included from
/usr/src/lib/libpthread/arch/i386/i386/pthread_md.c:43:
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function
`_kcb_get':
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h:163: error: syntax
error before "typeof"
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function
`_kcb_in_critical':
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h:184: error: syntax
error before "typeof"
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function
`_kcb_in_critical':
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h:184: error: syntax
error before "typeof"
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function
`_tcb_get':
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h:196: error: syntax
error before "typeof"
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function
`_tcb_get':
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h:196: error: syntax
error before "typeof"
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function
`_get_curthread':
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h:204: error: syntax
error before "typeof"
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function
`_get_curthread':
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h:204: error: syntax
error before "typeof"
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function
`_get_curkse':
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h:214: error: syntax
error before "typeof"
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h: In function
`_get_curkse':
/usr/src/lib/libpthread/arch/i386/include/pthread_md.h:214: error: syntax
error before "typeof"
*** Error code 1

/Daniel Eriksson
Received on Thu Aug 26 2004 - 00:42:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC