Date: Mon, 18 May 2015 16:04:49 +0300 From: Jukka Ukkonen <jau789@gmail.com> To: freebsd-ppc@FreeBSD.org Subject: Is this a sign that nobody has tested 10.1-stable on a 32-bit ppc? Message-ID: <5559E371.9080602@gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] Find attached a trailing snippet of build time messages while running buildkernel on a 32 bit ppc (PowerMac G4 Quicksilver). During the last 2 months or so there have been some changes to sys/dev/drm2/radeon/radeon_fence.c in 10.1-stable which now break buildkernel. Previously I had rebuilt the whole operating system on this ppc platform on Apr 23 and then the build worked just fine. Now the whole oddity starts with an announcement... "cc1: warnings being treated as errors" and then begin warning messages about implicit declarations of this and that atomic 64 bit functions and more warnings about nested extern declarations of those same functions. I guess that some of the code seen by the compiler was never intended to be used on a 32 bit ppc system, but those changes were never actually tested on a 32 bit ppc either. Has anyone else noticed this? --jau [-- Attachment #2 --] --- all_subdir_radeonkms --- --- radeon_fence.o --- cc1: warnings being treated as errors --- all_subdir_radeonkmsfw --- --- radeonkmsfw_SUMO2_me.ko --- --- all_subdir_radeonkms --- /usr/src-10.1/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/radeon_fence.c: In function 'radeon_fence_process': /usr/src-10.1/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/radeon_fence.c:158: warning: implicit declaration of function 'atomic_load_acq_64' /usr/src-10.1/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/radeon_fence.c:158: warning: nested extern declaration of 'atomic_load_acq_64' [-Wnested-externs] --- all_subdir_radeonkmsfw --- objcopy --strip-debug --add-gnu-debuglink=radeonkmsfw_SUMO2_me.ko.symbols radeonkmsfw_SUMO2_me.ko.debug radeonkmsfw_SUMO2_me.ko --- all_subdir_drm --- --- r128_cce.o --- --- all_subdir_drm2 --- --- all_subdir_radeonkms --- /usr/src-10.1/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/radeon_fence.c:185: warning: implicit declaration of function 'atomic_swap_64' --- all_subdir_drm --- cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /opt2/obj/usr/src-10.1/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -mlongcall -fno-omit-frame-pointer -I/opt2/obj/usr/src-10.1/sys/GENERIC -msoft-float -mno-altivec -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-uninitialized -Wno-unused -c /usr/src-10.1/sys/modules/drm/r128/../../../dev/drm/r128_cce.c -o r128_cce.o --- all_subdir_drm2 --- --- all_subdir_radeonkmsfw --- --- all_subdir_SUMO2_pfp --- --- all_subdir_radeonkms --- /usr/src-10.1/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/radeon_fence.c:185: warning: nested extern declaration of 'atomic_swap_64' [-Wnested-externs] --- all_subdir_radeonkmsfw --- ===> drm2/radeonkmsfw/SUMO2_pfp (all) --- all_subdir_radeonkms --- /usr/src-10.1/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/radeon_fence.c: In function 'radeon_fence_driver_init_ring': /usr/src-10.1/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/radeon_fence.c:863: warning: implicit declaration of function 'atomic_store_rel_64' /usr/src-10.1/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/radeon_fence.c:863: warning: nested extern declaration of 'atomic_store_rel_64' [-Wnested-externs] *** [radeon_fence.o] Error code 1 make[5]: stopped in /usr/src-10.1/sys/modules/drm2/radeonkms --- all_subdir_radeonkmsfw --- A failure has been detected in another branch of the parallel make make[6]: stopped in /usr/src-10.1/sys/modules/drm2/radeonkmsfw/SUMO2_pfp *** [all_subdir_SUMO2_pfp] Error code 2 make[5]: stopped in /usr/src-10.1/sys/modules/drm2/radeonkmsfw 1 error make[5]: stopped in /usr/src-10.1/sys/modules/drm2/radeonkmsfw *** [all_subdir_radeonkmsfw] Error code 2 make[4]: stopped in /usr/src-10.1/sys/modules/drm2 --- all_subdir_drm --- ctfconvert -L VERSION -g r128_cce.o A failure has been detected in another branch of the parallel make make[5]: stopped in /usr/src-10.1/sys/modules/drm/r128 *** [_sub.all] Error code 2 make[4]: stopped in /usr/src-10.1/sys/modules/drm 1 error make[4]: stopped in /usr/src-10.1/sys/modules/drm *** [all_subdir_drm] Error code 2 make[3]: stopped in /usr/src-10.1/sys/modules --- all_subdir_drm2 --- --- all_subdir_radeonkms --- --- radeon_gart.o --- ctfconvert -L VERSION -g radeon_gart.o 1 error make[5]: stopped in /usr/src-10.1/sys/modules/drm2/radeonkms *** [all_subdir_radeonkms] Error code 2 make[4]: stopped in /usr/src-10.1/sys/modules/drm2 --- all_subdir_drm2 --- ctfconvert -L VERSION -g drm_edid.o A failure has been detected in another branch of the parallel make make[5]: stopped in /usr/src-10.1/sys/modules/drm2/drm2 *** [all_subdir_drm2] Error code 2 make[4]: stopped in /usr/src-10.1/sys/modules/drm2 3 errors make[4]: stopped in /usr/src-10.1/sys/modules/drm2 *** [all_subdir_drm2] Error code 2 make[3]: stopped in /usr/src-10.1/sys/modules --- all_subdir_dtrace --- --- dtrace.o --- ctfconvert -L VERSION -g dtrace.o A failure has been detected in another branch of the parallel make make[5]: stopped in /usr/src-10.1/sys/modules/dtrace/dtrace *** [_sub.all] Error code 2 make[4]: stopped in /usr/src-10.1/sys/modules/dtrace 1 error make[4]: stopped in /usr/src-10.1/sys/modules/dtrace *** [all_subdir_dtrace] Error code 2 make[3]: stopped in /usr/src-10.1/sys/modules 3 errors make[3]: stopped in /usr/src-10.1/sys/modules *** [modules-all] Error code 2 make[2]: stopped in /opt2/obj/usr/src-10.1/sys/GENERIC 1 error make[2]: stopped in /opt2/obj/usr/src-10.1/sys/GENERIC *** [buildkernel] Error code 2 make[1]: stopped in /usr/src-10.1 1 error make[1]: stopped in /usr/src-10.1 *** [buildkernel] Error code 2 make: stopped in /usr/src-10.1 1 error make: stopped in /usr/src-10.1help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5559E371.9080602>
