Hi. Basically it seems that this is because cc is whinging about a warning. Optimally -Werror shouldn't be used as different compilers do different things with the language anyway, as i see it.. Error follows. (note, this is an error with -CURRENT as checked out in the last twelve hours.) ===> lib/libthr (obj,depend,all,install) rm -f .depend mkdep -f .depend -a -DPTHREAD_KERNEL -I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread -I/usr/src/lib/libthr/../../include -I/usr/src/lib/libthr/arch/powerpc/include -I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -I/usr/src/lib/libthr/../../libexec/rtld-elf/powerpc -I/usr/src/lib/libthr/../libthread_db -D_PTHREADS_INVARIANTS /usr/src/lib/libthr/arch/powerpc/powerpc/pthread_md.c /usr/src/lib/libthr/sys/thr_error.c /usr/src/lib/libthr/thread/thr_affinity.c /usr/src/lib/libthr/thread/thr_attr.c /usr/src/lib/libthr/thread/thr_barrier.c /usr/src/lib/libthr/thread/thr_barrierattr.c /usr/src/lib/libthr/thread/thr_cancel.c /usr/src/lib/libthr/thread/thr_clean.c /usr/src/lib/libthr/thread/thr_concurrency.c /usr/src/lib/libthr/thread/thr_cond.c /usr/src/lib/libthr/thread/thr_condattr.c /usr/src/lib/libthr/thread/thr_create.c /usr/src/lib/libthr/thread/thr_detach.c /usr/src/lib/libthr/thread/thr_equal.c /usr/src/lib/libthr/thread/thr_event.c /usr/src/lib/libthr/thread/thr_exit.c /usr/src/lib/libthr/thread/thr_fork.c /usr/src/lib/libthr/thread/thr_getprio.c /usr/src/lib/libthr/thread/thr_getcpuclockid.c /usr/src/lib/libthr/thread/thr_getschedparam.c /usr/src/lib/libthr/thread/thr_info.c /usr/src/lib/libthr/thread/thr_init.c /usr/src/lib/libthr/thread/thr_join.c /usr/src/lib/libthr/thread/thr_list.c /usr/src/lib/libthr/thread/thr_kern.c /usr/src/lib/libthr/thread/thr_kill.c /usr/src/lib/libthr/thread/thr_main_np.c /usr/src/lib/libthr/thread/thr_multi_np.c /usr/src/lib/libthr/thread/thr_mutex.c /usr/src/lib/libthr/thread/thr_mutexattr.c /usr/src/lib/libthr/thread/thr_once.c /usr/src/lib/libthr/thread/thr_printf.c /usr/src/lib/libthr/thread/thr_pspinlock.c /usr/src/lib/libthr/thread/thr_resume_np.c /usr/src/lib/libthr/thread/thr_rtld.c /usr/src/lib/libthr/thread/thr_rwlock.c /usr/src/lib/libthr/thread/thr_rwlockattr.c /usr/src/lib/libthr/thread/thr_self.c /usr/src/lib/libthr/thread/thr_sem.c /usr/src/lib/libthr/thread/thr_setprio.c /usr/src/lib/libthr/thread/thr_setschedparam.c /usr/src/lib/libthr/thread/thr_sig.c /usr/src/lib/libthr/thread/thr_single_np.c /usr/src/lib/libthr/thread/thr_spec.c /usr/src/lib/libthr/thread/thr_spinlock.c /usr/src/lib/libthr/thread/thr_stack.c /usr/src/lib/libthr/thread/thr_syscalls.c /usr/src/lib/libthr/thread/thr_suspend_np.c /usr/src/lib/libthr/thread/thr_switch_np.c /usr/src/lib/libthr/thread/thr_symbols.c /usr/src/lib/libthr/thread/thr_umtx.c /usr/src/lib/libthr/thread/thr_yield.c cc -Os -pipe -mcpu=7400 -mtune=7400 -mno-altivec -DPTHREAD_KERNEL -I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread -I/usr/src/lib/libthr/../../include -I/usr/src/lib/libthr/arch/powerpc/include -I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -I/usr/src/lib/libthr/../../libexec/rtld-elf/powerpc -I/usr/src/lib/libthr/../libthread_db -Winline -D_PTHREADS_INVARIANTS -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libthr/arch/powerpc/powerpc/pthread_md.c cc -Os -pipe -mcpu=7400 -mtune=7400 -mno-altivec -DPTHREAD_KERNEL -I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread -I/usr/src/lib/libthr/../../include -I/usr/src/lib/libthr/arch/powerpc/include -I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -I/usr/src/lib/libthr/../../libexec/rtld-elf/powerpc -I/usr/src/lib/libthr/../libthread_db -Winline -D_PTHREADS_INVARIANTS -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libthr/sys/thr_error.c cc -Os -pipe -mcpu=7400 -mtune=7400 -mno-altivec -DPTHREAD_KERNEL -I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread -I/usr/src/lib/libthr/../../include -I/usr/src/lib/libthr/arch/powerpc/include -I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -I/usr/src/lib/libthr/../../libexec/rtld-elf/powerpc -I/usr/src/lib/libthr/../libthread_db -Winline -D_PTHREADS_INVARIANTS -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libthr/thread/thr_affinity.c cc1: warnings being treated as errors /usr/src/lib/libthr/thread/thr_affinity.c: In function '_pthread_setaffinity_np': /usr/src/lib/libthr/thread/thr_umtx.h:102: warning: inlining failed in call to '_thr_umutex_unlock': --param max-inline-insns-single limit reached /usr/src/lib/libthr/thread/thr_affinity.c:56: warning: called from here /usr/src/lib/libthr/thread/thr_umtx.h:102: warning: inlining failed in call to '_thr_umutex_unlock': --param max-inline-insns-single limit reached /usr/src/lib/libthr/thread/thr_affinity.c:64: warning: called from here *** Error code 1 Stop in /usr/src/lib/libthr. *** Error code 1 Stop in /usr/src.
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:43 UTC