Re: [head tinderbox] failure on powerpc64/powerpc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/01/14 15:25, FreeBSD Tinderbox wrote: > TB --- 2014-01-01 21:18:04 - tinderbox 2.20 running on > freebsd-current.sentex.ca TB --- 2014-01-01 21:18:04 - FreeBSD > freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: > Mon Mar 26 13:54:12 EDT 2012 > d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 > TB --- 2014-01-01 21:18:04 - starting HEAD tinderbox run for > powerpc64/powerpc TB --- 2014-01-01 21:18:05 - cleaning the object > tree TB --- 2014-01-01 21:19:24 - /usr/local/bin/svn stat /src TB > --- 2014-01-01 21:19:30 - At svn revision 260159 TB --- 2014-01-01 > 21:19:31 - building world TB --- 2014-01-01 21:19:31 - > CROSS_BUILD_TESTING=YES TB --- 2014-01-01 21:19:31 - > MAKEOBJDIRPREFIX=/obj TB --- 2014-01-01 21:19:31 - > PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-01-01 21:19:31 - > SRCCONF=/dev/null TB --- 2014-01-01 21:19:31 - TARGET=powerpc TB > --- 2014-01-01 21:19:31 - TARGET_ARCH=powerpc64 TB --- 2014-01-01 > 21:19:31 - TZ=UTC TB --- 2014-01-01 21:19:31 - > __MAKE_CONF=/dev/null TB --- 2014-01-01 21:19:31 - cd /src TB --- > 2014-01-01 21:19:31 - /usr/bin/make -B buildworld Building an up-to-date make(1) World build started on Wed Jan 1 21:19:38 UTC 2014 Rebuilding the temporary build tree stage 1.1: legacy release compatibility shims stage 1.2: bootstrap tools stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3: cross tools stage 4.1: building includes stage 4.2: building libraries stage 4.3: make dependencies stage 4.4: building everything > [...] cc -O2 -pipe > -I/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/compat/opensolaris > -I/src/cddl/usr.bin/sgsmsg/../../../cddl/compat/opensolaris/include > -I/src/cddl/usr.bin/sgsmsg/../../../cddl/contrib/opensolaris/cmd/sgs/include > -I/src/cddl/usr.bin/sgsmsg/../../../sys/cddl/contrib/opensolaris/uts/common > -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector > -Wno-pointer-sign -Wno-unknown-pragmas -o sgsmsg avl.o sgsmsg.o > string_table.o findprime.o ===> cddl/usr.bin/zinject (all) cc -O2 > -pipe > -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris > -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include > -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem > -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common > -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common > -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair > -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs > -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys > -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common > -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head > -I/src/cddl/usr.bin/zinject/../../lib/libumem > -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector > -Wno-pointer-sign -Wno-unknown-pragmas -c > /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/zinject.c > > cc -O2 -pipe - -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris - -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include - -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem - -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common - -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair - -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs - -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys - -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common - -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head - -I/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN - -std=gnu89 -fstack-protector -Wno-pointer-sign -Wno-unknown-pragmas -c /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c > /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c: > In function 'translate_record': > /src/cddl/usr.bin/zinject/../../contrib/opensolaris/cmd/zinject/translate.c:383: > warning: passing argument 4 of 'calculate_range' discards > qualifiers from pointer target type cc -O2 -pipe > -I/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris > -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/include > -I/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem > -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common > -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common > -I/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair > -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs > -I/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys > -I/src/cddl/u
Re: [head tinderbox] failure on powerpc64/powerpc
Oops, sorry, I'm wearing the pointy hat. Forgot about the diagnostic that does printf(). rick - Original Message - > TB --- 2013-06-22 16:51:33 - tinderbox 2.10 running on > freebsd-current.sentex.ca > TB --- 2013-06-22 16:51:33 - FreeBSD freebsd-current.sentex.ca > 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT > 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC > amd64 > TB --- 2013-06-22 16:51:33 - starting HEAD tinderbox run for > powerpc64/powerpc > TB --- 2013-06-22 16:51:33 - cleaning the object tree > TB --- 2013-06-22 16:53:17 - /usr/local/bin/svn stat /src > TB --- 2013-06-22 16:53:21 - At svn revision 252094 > TB --- 2013-06-22 16:53:22 - building world > TB --- 2013-06-22 16:53:22 - CROSS_BUILD_TESTING=YES > TB --- 2013-06-22 16:53:22 - MAKEOBJDIRPREFIX=/obj > TB --- 2013-06-22 16:53:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2013-06-22 16:53:22 - SRCCONF=/dev/null > TB --- 2013-06-22 16:53:22 - TARGET=powerpc > TB --- 2013-06-22 16:53:22 - TARGET_ARCH=powerpc64 > TB --- 2013-06-22 16:53:22 - TZ=UTC > TB --- 2013-06-22 16:53:22 - __MAKE_CONF=/dev/null > TB --- 2013-06-22 16:53:22 - cd /src > TB --- 2013-06-22 16:53:22 - /usr/bin/make -B buildworld > >>> Building an up-to-date make(1) > >>> World build started on Sat Jun 22 16:53:29 UTC 2013 > >>> Rebuilding the temporary build tree > >>> stage 1.1: legacy release compatibility shims > >>> stage 1.2: bootstrap tools > >>> stage 2.1: cleaning up the object tree > >>> stage 2.2: rebuilding the object tree > >>> stage 2.3: build tools > >>> stage 3: cross tools > >>> stage 4.1: building includes > >>> stage 4.2: building libraries > >>> stage 4.3: make dependencies > >>> stage 4.4: building everything > >>> stage 5.1: building 32 bit shim libraries > >>> World build completed on Sat Jun 22 19:51:17 UTC 2013 > TB --- 2013-06-22 19:51:17 - generating LINT kernel config > TB --- 2013-06-22 19:51:17 - cd /src/sys/powerpc/conf > TB --- 2013-06-22 19:51:17 - /usr/bin/make -B LINT > TB --- 2013-06-22 19:51:17 - cd /src/sys/powerpc/conf > TB --- 2013-06-22 19:51:17 - /usr/sbin/config -m LINT > TB --- 2013-06-22 19:51:18 - skipping LINT kernel > TB --- 2013-06-22 19:51:18 - cd /src/sys/powerpc/conf > TB --- 2013-06-22 19:51:18 - /usr/sbin/config -m GENERIC > TB --- 2013-06-22 19:51:18 - skipping GENERIC kernel > TB --- 2013-06-22 19:51:18 - cd /src/sys/powerpc/conf > TB --- 2013-06-22 19:51:18 - /usr/sbin/config -m GENERIC64 > TB --- 2013-06-22 19:51:18 - building GENERIC64 kernel > TB --- 2013-06-22 19:51:18 - CROSS_BUILD_TESTING=YES > TB --- 2013-06-22 19:51:18 - MAKEOBJDIRPREFIX=/obj > TB --- 2013-06-22 19:51:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2013-06-22 19:51:18 - SRCCONF=/dev/null > TB --- 2013-06-22 19:51:18 - TARGET=powerpc > TB --- 2013-06-22 19:51:18 - TARGET_ARCH=powerpc64 > TB --- 2013-06-22 19:51:18 - TZ=UTC > TB --- 2013-06-22 19:51:18 - __MAKE_CONF=/dev/null > TB --- 2013-06-22 19:51:18 - cd /src > TB --- 2013-06-22 19:51:18 - /usr/bin/make -B buildkernel > KERNCONF=GENERIC64 > >>> Kernel build for GENERIC64 started on Sat Jun 22 19:51:18 UTC > >>> 2013 > >>> stage 1: configuring the kernel > >>> stage 2.1: cleaning up the object tree > >>> stage 2.2: rebuilding the object tree > >>> stage 2.3: build tools > >>> stage 3.1: making dependencies > >>> stage 3.2: building everything > [...] > cc -c -O -pipe -std=c99 -g -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 -nostdinc -I. > -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > -fno-common -finline-limit=15000 --param inline-unit-growth=100 > --param large-function-growth=1000 -msoft-float -Wa,-many > -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc > -ffreestanding -fstack-protector -Werror > /src/sys/fs/nfsclient/nfs_clcomsubs.c > cc -c -O -pipe -std=c99 -g -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 -nostdinc -I. > -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > -fno-common -finline-limit=15000 --param inline-unit-growth=100 > --param large-function-growth=1000 -msoft-float -Wa,-many > -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc > -ffreestanding -fstack-protector -Werror > /src/sys/fs/nfsclient/nfs_clsubs.c > cc -c -O -pipe -std=c99 -g -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 -nostdinc -I. >
Re: [head tinderbox] failure on powerpc64/powerpc
This is being worked on... There are some casting issues that are causing problems on 32-bit systems, which are not causing errors on 64-bit systems. Glen On Sun, Mar 24, 2013 at 06:57:57AM +, FreeBSD Tinderbox wrote: > [...] pgpg5oEomNKIO.pgp Description: PGP signature
Re: [head tinderbox] failure on powerpc64/powerpc
On Feb 16, 2013, at 2:05 PM, Dag-Erling Smørgrav wrote: > FreeBSD Tinderbox writes: >> cc -O2 -pipe -I/src/lib/libldns/../../contrib/ldns -std=gnu99 >> -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W >> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c >> /src/lib/libldns/../../contrib/ldns/dnssec_verify.c -o dnssec_verify.o >> cc1: warnings being treated as errors >> /src/lib/libldns/../../contrib/ldns/dnssec_verify.c:638: warning: >> ldns_dnssec_trust_tree_print_sm' defined but not used >> *** [dnssec_verify.o] Error code 1 >> >> Stop in /src/lib/libldns. > > Why is this happening? The Makefile sets WARNS to 3, which adds > -Wno-unused-function to CFLAGS, which should suppress this warning. I don't see -Wno-unused-function above. I only see -Wno-unused-parameter. I also don't see -Wno-parentheses-equality nor -Wno-conversion, so I guess that means that the set of flags applicable for WARNS=3 isn't being taken. It looks like WARNS is in fact 3: eris% make -V WARNS 3 Since bsd.sys.mk has grown unreadable, try unraveling the conditionals to see if WARNS for GCC does the equivalent for CLANG. Is the problem specific to architectures that don't use CLANG? -- Marcel Moolenaar mar...@xcllnt.net ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
FreeBSD Tinderbox writes: > cc -O2 -pipe -I/src/lib/libldns/../../contrib/ldns -std=gnu99 > -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c > /src/lib/libldns/../../contrib/ldns/dnssec_verify.c -o dnssec_verify.o > cc1: warnings being treated as errors > /src/lib/libldns/../../contrib/ldns/dnssec_verify.c:638: warning: > ldns_dnssec_trust_tree_print_sm' defined but not used > *** [dnssec_verify.o] Error code 1 > > Stop in /src/lib/libldns. Why is this happening? The Makefile sets WARNS to 3, which adds -Wno-unused-function to CFLAGS, which should suppress this warning. DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
Got bit by compiler not warning on some things. Working on a fix. -Alfred On 12/10/12 10:36 PM, FreeBSD Tinderbox wrote: TB --- 2012-12-11 03:32:04 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-12-11 03:32:04 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-12-11 03:32:04 - starting HEAD tinderbox run for powerpc64/powerpc TB --- 2012-12-11 03:32:04 - cleaning the object tree TB --- 2012-12-11 03:32:04 - checking out /src from svn://svn.freebsd.org/base/head TB --- 2012-12-11 03:32:04 - cd /tinderbox/HEAD/powerpc64/powerpc TB --- 2012-12-11 03:32:04 - /usr/local/bin/svn cleanup /src TB --- 2012-12-11 03:34:07 - /usr/local/bin/svn update /src TB --- 2012-12-11 03:34:14 - At svn revision 244108 TB --- 2012-12-11 03:34:15 - building world TB --- 2012-12-11 03:34:15 - CROSS_BUILD_TESTING=YES TB --- 2012-12-11 03:34:15 - MAKEOBJDIRPREFIX=/obj TB --- 2012-12-11 03:34:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-12-11 03:34:15 - SRCCONF=/dev/null TB --- 2012-12-11 03:34:15 - TARGET=powerpc TB --- 2012-12-11 03:34:15 - TARGET_ARCH=powerpc64 TB --- 2012-12-11 03:34:15 - TZ=UTC TB --- 2012-12-11 03:34:15 - __MAKE_CONF=/dev/null TB --- 2012-12-11 03:34:15 - cd /src TB --- 2012-12-11 03:34:15 - /usr/bin/make -B buildworld Building an up-to-date make(1) World build started on Tue Dec 11 03:34:20 UTC 2012 Rebuilding the temporary build tree stage 1.1: legacy release compatibility shims stage 1.2: bootstrap tools stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3: cross tools stage 4.1: building includes stage 4.2: building libraries stage 4.3: make dependencies stage 4.4: building everything stage 5.1: building 32 bit shim libraries World build completed on Tue Dec 11 06:28:07 UTC 2012 TB --- 2012-12-11 06:28:07 - generating LINT kernel config TB --- 2012-12-11 06:28:07 - cd /src/sys/powerpc/conf TB --- 2012-12-11 06:28:07 - /usr/bin/make -B LINT TB --- 2012-12-11 06:28:07 - cd /src/sys/powerpc/conf TB --- 2012-12-11 06:28:07 - /usr/sbin/config -m LINT TB --- 2012-12-11 06:28:07 - building LINT kernel TB --- 2012-12-11 06:28:07 - CROSS_BUILD_TESTING=YES TB --- 2012-12-11 06:28:07 - MAKEOBJDIRPREFIX=/obj TB --- 2012-12-11 06:28:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-12-11 06:28:07 - SRCCONF=/dev/null TB --- 2012-12-11 06:28:07 - TARGET=powerpc TB --- 2012-12-11 06:28:07 - TARGET_ARCH=powerpc64 TB --- 2012-12-11 06:28:07 - TZ=UTC TB --- 2012-12-11 06:28:07 - __MAKE_CONF=/dev/null TB --- 2012-12-11 06:28:07 - cd /src TB --- 2012-12-11 06:28:07 - /usr/bin/make -B buildkernel KERNCONF=LINT Kernel build for LINT started on Tue Dec 11 06:28:07 UTC 2012 stage 1: configuring the kernel stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3.1: making dependencies stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -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 -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/kern/subr_turnstile.c cc -c -O -pipe -std=c99 -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 -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/kern/subr_uio.c cc -c -O -pipe -std=c99 -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 -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/kern/subr_u
Re: [head tinderbox] failure on powerpc64/powerpc
On Jan 10, 2012, at 4:04 PM, FreeBSD Tinderbox wrote: > cc -O2 -pipe -DLIBC_SCCS -DINET6 -I/src/lib/libutil > -I/src/lib/libutil/../libc/gen/ -std=gnu99 -fstack-protector -Wsystem-headers > -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual > -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > -Wold-style-definition -Wno-pointer-sign -c /src/lib/libutil/pidfile.c -o > pidfile.o > cc1: warnings being treated as errors > /src/lib/libutil/pidfile.c:272: warning: no previous prototype for > 'pidfile_fileno' > *** Error code 1 > > Stop in /src/lib/libutil. > *** Error code 1 I'm not sure how I broke the build -- src/lib/libutil/libutil.h has the pidfile_fileno() prototype. Guy This message has been scanned by ComplianceSafe, powered by Palisade's PacketSure. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On 25. Dec 2011, at 11:42 , Justin Hibbits wrote: >>> Sorry about this, bad patch when I tested the build. I'll fix it tomorrow >>> when I get time. >> >> >> Something like this? >> >> Andreas >> >> Index: hwpmc_powerpc.c >> === >> --- hwpmc_powerpc.c (revision 228872) >> +++ hwpmc_powerpc.c (working copy) >> @@ -686,10 +686,10 @@ >> v = pm->pm_sc.pm_reloadcount; >> config = mfspr(SPR_MMCR0); >> >> - KASSERT((config & ~AMD_PMC_ENABLE) == >> - (pm->pm_md.pm_amd.pm_amd_evsel & ~AMD_PMC_ENABLE), >> + KASSERT((config & ~POWERPC_PMC_ENABLE) == >> + (pm->pm_md.pm_powerpc.pm_powerpc_evsel & > ~POWERPC_PMC_ENABLE), >> ("[powerpc,%d] config mismatch reg=0x%x pm=0x%x", > __LINE__, >> - config, pm->pm_md.pm_amd.pm_amd_evsel)); >> + config, pm->pm_md.pm_powerpc.pm_powerpc_evsel)); >> >> mtspr(SPR_MMCR0, config | SPR_MMCR0_FC); >> powerpc_pmcn_write(i, v); >> >> > > It's fine to delete the assert, I sent Nathan a patch to do so, but don't > expect to commit it until tonight or tomorrow. You could commit a deletion > if you want. I just did in r228874. Happy holidays, /bz -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family. -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On Dec 25, 2011 5:27 AM, "Andreas Tobler" wrote: > > On 25.12.11 00:59, Justin Hibbits wrote: >> >> On Dec 24, 2011 6:46 PM, "FreeBSD Tinderbox" wrote: >>> >>> >>> TB --- 2011-12-24 21:13:44 - tinderbox 2.8 running on >> >> freebsd-current.sentex.ca >>> >>> TB --- 2011-12-24 21:13:44 - starting HEAD tinderbox run for >> >> powerpc64/powerpc >>> >>> TB --- 2011-12-24 21:13:44 - cleaning the object tree >>> TB --- 2011-12-24 21:13:56 - cvsupping the source tree >>> TB --- 2011-12-24 21:13:56 - /usr/bin/csup -z -r 3 -g -L 1 -h >> >> cvsup.sentex.ca /tinderbox/HEAD/powerpc64/powerpc/supfile >>> >>> TB --- 2011-12-24 21:14:08 - building world >>> TB --- 2011-12-24 21:14:08 - CROSS_BUILD_TESTING=YES >>> TB --- 2011-12-24 21:14:08 - MAKEOBJDIRPREFIX=/obj >>> TB --- 2011-12-24 21:14:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin >>> TB --- 2011-12-24 21:14:08 - SRCCONF=/dev/null >>> TB --- 2011-12-24 21:14:08 - TARGET=powerpc >>> TB --- 2011-12-24 21:14:08 - TARGET_ARCH=powerpc64 >>> TB --- 2011-12-24 21:14:08 - TZ=UTC >>> TB --- 2011-12-24 21:14:08 - __MAKE_CONF=/dev/null >>> TB --- 2011-12-24 21:14:08 - cd /src >>> TB --- 2011-12-24 21:14:08 - /usr/bin/make -B buildworld >> >> World build started on Sat Dec 24 21:14:08 UTC 2011 >> Rebuilding the temporary build tree >> stage 1.1: legacy release compatibility shims >> stage 1.2: bootstrap tools >> stage 2.1: cleaning up the object tree >> stage 2.2: rebuilding the object tree >> stage 2.3: build tools >> stage 3: cross tools >> stage 4.1: building includes >> stage 4.2: building libraries >> stage 4.3: make dependencies >> stage 4.4: building everything >> stage 5.1: building 32 bit shim libraries >> World build completed on Sat Dec 24 23:35:25 UTC 2011 >>> >>> TB --- 2011-12-24 23:35:25 - generating LINT kernel config >>> TB --- 2011-12-24 23:35:25 - cd /src/sys/powerpc/conf >>> TB --- 2011-12-24 23:35:25 - /usr/bin/make -B LINT >>> TB --- 2011-12-24 23:35:25 - cd /src/sys/powerpc/conf >>> TB --- 2011-12-24 23:35:25 - /usr/sbin/config -m LINT >>> TB --- 2011-12-24 23:35:25 - building LINT kernel >>> TB --- 2011-12-24 23:35:25 - CROSS_BUILD_TESTING=YES >>> TB --- 2011-12-24 23:35:25 - MAKEOBJDIRPREFIX=/obj >>> TB --- 2011-12-24 23:35:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin >>> TB --- 2011-12-24 23:35:25 - SRCCONF=/dev/null >>> TB --- 2011-12-24 23:35:25 - TARGET=powerpc >>> TB --- 2011-12-24 23:35:25 - TARGET_ARCH=powerpc64 >>> TB --- 2011-12-24 23:35:25 - TZ=UTC >>> TB --- 2011-12-24 23:35:25 - __MAKE_CONF=/dev/null >>> TB --- 2011-12-24 23:35:25 - cd /src >>> TB --- 2011-12-24 23:35:25 - /usr/bin/make -B buildkernel KERNCONF=LINT >> >> Kernel build for LINT started on Sat Dec 24 23:35:25 UTC 2011 >> stage 1: configuring the kernel >> stage 2.1: cleaning up the object tree >> stage 2.2: rebuilding the object tree >> stage 2.3: build tools >> stage 3.1: making dependencies >> stage 3.2: building everything >>> >>> [...] >>> cc -c -O -pipe -std=c99 -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 -nostdinc -I. >> -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common >> -finline-limit=15000 --param inline-unit-growth=100 --param >> large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many >> -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc >> -ffreestanding -fstack-protector -Werror /src/sys/dev/fb/fb.c >>> >>> cc -c -O -pipe -std=c99 -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 -nostdinc -I. >> -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL >> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common >> -finline-limit=15000 --param inline-unit-growth=100 --param >> large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many >> -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc >> -ffreestanding -fstack-protector -Werror /src/sys/dev/hwpmc/hwpmc_powerpc.c >>> >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c: In function 'powerpc_intr': >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'AMD_PMC_ENABLE' >> >> undeclared (first use in this function) >>> >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: (Each undeclared >> >> identifier is reported only once >>> >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: for each function it >> >> appears in.) >>> >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'union pmc_md_pmc' has no >> >> member named 'pm_amd' >>> >>> /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'union pmc_md_pmc' has no >> >> member named 'pm_amd' >>> >>> **
Re: [head tinderbox] failure on powerpc64/powerpc
On 25.12.11 00:59, Justin Hibbits wrote: On Dec 24, 2011 6:46 PM, "FreeBSD Tinderbox" wrote: TB --- 2011-12-24 21:13:44 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-12-24 21:13:44 - starting HEAD tinderbox run for powerpc64/powerpc TB --- 2011-12-24 21:13:44 - cleaning the object tree TB --- 2011-12-24 21:13:56 - cvsupping the source tree TB --- 2011-12-24 21:13:56 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc64/powerpc/supfile TB --- 2011-12-24 21:14:08 - building world TB --- 2011-12-24 21:14:08 - CROSS_BUILD_TESTING=YES TB --- 2011-12-24 21:14:08 - MAKEOBJDIRPREFIX=/obj TB --- 2011-12-24 21:14:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-12-24 21:14:08 - SRCCONF=/dev/null TB --- 2011-12-24 21:14:08 - TARGET=powerpc TB --- 2011-12-24 21:14:08 - TARGET_ARCH=powerpc64 TB --- 2011-12-24 21:14:08 - TZ=UTC TB --- 2011-12-24 21:14:08 - __MAKE_CONF=/dev/null TB --- 2011-12-24 21:14:08 - cd /src TB --- 2011-12-24 21:14:08 - /usr/bin/make -B buildworld World build started on Sat Dec 24 21:14:08 UTC 2011 Rebuilding the temporary build tree stage 1.1: legacy release compatibility shims stage 1.2: bootstrap tools stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3: cross tools stage 4.1: building includes stage 4.2: building libraries stage 4.3: make dependencies stage 4.4: building everything stage 5.1: building 32 bit shim libraries World build completed on Sat Dec 24 23:35:25 UTC 2011 TB --- 2011-12-24 23:35:25 - generating LINT kernel config TB --- 2011-12-24 23:35:25 - cd /src/sys/powerpc/conf TB --- 2011-12-24 23:35:25 - /usr/bin/make -B LINT TB --- 2011-12-24 23:35:25 - cd /src/sys/powerpc/conf TB --- 2011-12-24 23:35:25 - /usr/sbin/config -m LINT TB --- 2011-12-24 23:35:25 - building LINT kernel TB --- 2011-12-24 23:35:25 - CROSS_BUILD_TESTING=YES TB --- 2011-12-24 23:35:25 - MAKEOBJDIRPREFIX=/obj TB --- 2011-12-24 23:35:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-12-24 23:35:25 - SRCCONF=/dev/null TB --- 2011-12-24 23:35:25 - TARGET=powerpc TB --- 2011-12-24 23:35:25 - TARGET_ARCH=powerpc64 TB --- 2011-12-24 23:35:25 - TZ=UTC TB --- 2011-12-24 23:35:25 - __MAKE_CONF=/dev/null TB --- 2011-12-24 23:35:25 - cd /src TB --- 2011-12-24 23:35:25 - /usr/bin/make -B buildkernel KERNCONF=LINT Kernel build for LINT started on Sat Dec 24 23:35:25 UTC 2011 stage 1: configuring the kernel stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3.1: making dependencies stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -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 -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/dev/fb/fb.c cc -c -O -pipe -std=c99 -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 -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/dev/hwpmc/hwpmc_powerpc.c /src/sys/dev/hwpmc/hwpmc_powerpc.c: In function 'powerpc_intr': /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'AMD_PMC_ENABLE' undeclared (first use in this function) /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: (Each undeclared identifier is reported only once /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: for each function it appears in.) /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'union pmc_md_pmc' has no member named 'pm_amd' /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'union pmc_md_pmc' has no member named 'pm_amd' *** Error code 1 Stop in /obj/powerpc.powerpc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-12-24 23:45:43 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-12-24 23:45:43 - ERROR: failed to build LINT kernel TB --- 2011-12-24 23:45:43 - 7497.27 user 1367.80 system 9118.84 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc64-powerpc.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/ma
Re: [head tinderbox] failure on powerpc64/powerpc
On 2011-12-24 19:21, Marius Strobl wrote: On Sat, Dec 24, 2011 at 03:43:51PM +, FreeBSD Tinderbox wrote: ... TB --- 2011-12-24 13:54:50 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-12-24 13:54:50 - starting HEAD tinderbox run for powerpc64/powerpc ... stage 4.4: building everything [...] rsyncfile.o:(.text+0xf8): undefined reference to `MD5Update' stream.o:(.text+0x544): undefined reference to `MD5Init' stream.o:(.text+0xb9c): undefined reference to `MD5Update' stream.o:(.text+0xd0c): undefined reference to `MD5Update' stream.o:(.text+0xd40): undefined reference to `MD5Update' stream.o:(.text+0xd54): undefined reference to `MD5Update' stream.o:(.text+0xd84): undefined reference to `MD5Update' stream.o:(.text+0xd98): more undefined references to `MD5Update' follow *** Error code 1 The tinderbox output isn't very helpful here and I've no idea how this could happen as r228857 also added -lmd nor can I reproduce it. Could this be a transient failure due to the tinderbox updating sources at an unfortunate point in time or a glitch in the exported (according to the sources presented by cvsweb.freebsd.org r228857 has reached the CVS repository just fine though)? Must be something transient, I guess. I tried building r228864 on powerpc64, and buildworld went just fine ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On Dec 24, 2011 6:46 PM, "FreeBSD Tinderbox" wrote: > > TB --- 2011-12-24 21:13:44 - tinderbox 2.8 running on freebsd-current.sentex.ca > TB --- 2011-12-24 21:13:44 - starting HEAD tinderbox run for powerpc64/powerpc > TB --- 2011-12-24 21:13:44 - cleaning the object tree > TB --- 2011-12-24 21:13:56 - cvsupping the source tree > TB --- 2011-12-24 21:13:56 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc64/powerpc/supfile > TB --- 2011-12-24 21:14:08 - building world > TB --- 2011-12-24 21:14:08 - CROSS_BUILD_TESTING=YES > TB --- 2011-12-24 21:14:08 - MAKEOBJDIRPREFIX=/obj > TB --- 2011-12-24 21:14:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2011-12-24 21:14:08 - SRCCONF=/dev/null > TB --- 2011-12-24 21:14:08 - TARGET=powerpc > TB --- 2011-12-24 21:14:08 - TARGET_ARCH=powerpc64 > TB --- 2011-12-24 21:14:08 - TZ=UTC > TB --- 2011-12-24 21:14:08 - __MAKE_CONF=/dev/null > TB --- 2011-12-24 21:14:08 - cd /src > TB --- 2011-12-24 21:14:08 - /usr/bin/make -B buildworld > >>> World build started on Sat Dec 24 21:14:08 UTC 2011 > >>> Rebuilding the temporary build tree > >>> stage 1.1: legacy release compatibility shims > >>> stage 1.2: bootstrap tools > >>> stage 2.1: cleaning up the object tree > >>> stage 2.2: rebuilding the object tree > >>> stage 2.3: build tools > >>> stage 3: cross tools > >>> stage 4.1: building includes > >>> stage 4.2: building libraries > >>> stage 4.3: make dependencies > >>> stage 4.4: building everything > >>> stage 5.1: building 32 bit shim libraries > >>> World build completed on Sat Dec 24 23:35:25 UTC 2011 > TB --- 2011-12-24 23:35:25 - generating LINT kernel config > TB --- 2011-12-24 23:35:25 - cd /src/sys/powerpc/conf > TB --- 2011-12-24 23:35:25 - /usr/bin/make -B LINT > TB --- 2011-12-24 23:35:25 - cd /src/sys/powerpc/conf > TB --- 2011-12-24 23:35:25 - /usr/sbin/config -m LINT > TB --- 2011-12-24 23:35:25 - building LINT kernel > TB --- 2011-12-24 23:35:25 - CROSS_BUILD_TESTING=YES > TB --- 2011-12-24 23:35:25 - MAKEOBJDIRPREFIX=/obj > TB --- 2011-12-24 23:35:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2011-12-24 23:35:25 - SRCCONF=/dev/null > TB --- 2011-12-24 23:35:25 - TARGET=powerpc > TB --- 2011-12-24 23:35:25 - TARGET_ARCH=powerpc64 > TB --- 2011-12-24 23:35:25 - TZ=UTC > TB --- 2011-12-24 23:35:25 - __MAKE_CONF=/dev/null > TB --- 2011-12-24 23:35:25 - cd /src > TB --- 2011-12-24 23:35:25 - /usr/bin/make -B buildkernel KERNCONF=LINT > >>> Kernel build for LINT started on Sat Dec 24 23:35:25 UTC 2011 > >>> stage 1: configuring the kernel > >>> stage 2.1: cleaning up the object tree > >>> stage 2.2: rebuilding the object tree > >>> stage 2.3: build tools > >>> stage 3.1: making dependencies > >>> stage 3.2: building everything > [...] > cc -c -O -pipe -std=c99 -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 -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/dev/fb/fb.c > cc -c -O -pipe -std=c99 -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 -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/dev/hwpmc/hwpmc_powerpc.c > /src/sys/dev/hwpmc/hwpmc_powerpc.c: In function 'powerpc_intr': > /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'AMD_PMC_ENABLE' undeclared (first use in this function) > /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: (Each undeclared identifier is reported only once > /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: for each function it appears in.) > /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'union pmc_md_pmc' has no member named 'pm_amd' > /src/sys/dev/hwpmc/hwpmc_powerpc.c:689: error: 'union pmc_md_pmc' has no member named 'pm_amd' > *** Error code 1 > > Stop in /obj/powerpc.powerpc64/src/sys/LINT. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > TB --- 2011-12-24 23:45:43 - WARNING: /usr/bin/make returned exit code 1 > TB --- 2011-12-24 23:45:43 - ERROR: failed to build LINT kernel > TB --- 2011-12-24 23:45:43 - 7497.27 user 1367.80 system 9118.84 real > > > http://tinderbox.freebsd
Re: [head tinderbox] failure on powerpc64/powerpc
On Sat, Dec 24, 2011 at 03:43:51PM +, FreeBSD Tinderbox wrote: > TB --- 2011-12-24 13:54:50 - tinderbox 2.8 running on > freebsd-current.sentex.ca > TB --- 2011-12-24 13:54:50 - starting HEAD tinderbox run for powerpc64/powerpc > TB --- 2011-12-24 13:54:50 - cleaning the object tree > TB --- 2011-12-24 13:55:13 - cvsupping the source tree > TB --- 2011-12-24 13:55:13 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca > /tinderbox/HEAD/powerpc64/powerpc/supfile > TB --- 2011-12-24 13:55:26 - building world > TB --- 2011-12-24 13:55:26 - CROSS_BUILD_TESTING=YES > TB --- 2011-12-24 13:55:26 - MAKEOBJDIRPREFIX=/obj > TB --- 2011-12-24 13:55:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2011-12-24 13:55:26 - SRCCONF=/dev/null > TB --- 2011-12-24 13:55:26 - TARGET=powerpc > TB --- 2011-12-24 13:55:26 - TARGET_ARCH=powerpc64 > TB --- 2011-12-24 13:55:26 - TZ=UTC > TB --- 2011-12-24 13:55:26 - __MAKE_CONF=/dev/null > TB --- 2011-12-24 13:55:26 - cd /src > TB --- 2011-12-24 13:55:26 - /usr/bin/make -B buildworld > >>> World build started on Sat Dec 24 13:55:27 UTC 2011 > >>> Rebuilding the temporary build tree > >>> stage 1.1: legacy release compatibility shims > >>> stage 1.2: bootstrap tools > >>> stage 2.1: cleaning up the object tree > >>> stage 2.2: rebuilding the object tree > >>> stage 2.3: build tools > >>> stage 3: cross tools > >>> stage 4.1: building includes > >>> stage 4.2: building libraries > >>> stage 4.3: make dependencies > >>> stage 4.4: building everything > [...] > rsyncfile.o:(.text+0xf8): undefined reference to `MD5Update' > stream.o:(.text+0x544): undefined reference to `MD5Init' > stream.o:(.text+0xb9c): undefined reference to `MD5Update' > stream.o:(.text+0xd0c): undefined reference to `MD5Update' > stream.o:(.text+0xd40): undefined reference to `MD5Update' > stream.o:(.text+0xd54): undefined reference to `MD5Update' > stream.o:(.text+0xd84): undefined reference to `MD5Update' > stream.o:(.text+0xd98): more undefined references to `MD5Update' follow > *** Error code 1 > The tinderbox output isn't very helpful here and I've no idea how this could happen as r228857 also added -lmd nor can I reproduce it. Could this be a transient failure due to the tinderbox updating sources at an unfortunate point in time or a glitch in the exported (according to the sources presented by cvsweb.freebsd.org r228857 has reached the CVS repository just fine though)? Marius ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
* FreeBSD Tinderbox , 2006 20:28: > atrun.o:(.got+0x28): undefined reference to `effective_uid' > atrun.o:(.got+0x30): undefined reference to `effective_gid' > atrun.o:(.got+0x40): undefined reference to `real_gid' > atrun.o:(.got+0x48): undefined reference to `real_uid' Sorry about that. Should be fixed now! -- Ed Schouten WWW: http://80386.nl/ pgp7bdMrUzqTc.pgp Description: PGP signature
Re: [head tinderbox] failure on powerpc64/powerpc
[Picking a random tinderbox mail] As I've broken the powerpc64 build a couple of days ago, I was amazed that none of these emails went to my Inbox. Whenever the ports' INDEX build is broken, there's a list of committers that are most likely to blame for it. I would welcome the same type of emails from the tinderboxen; and it is really easy to generate this list, e.g.: if !exists(committers-on-the-hook) svn info -> record last non-broken revision fi svn up if !exists(committers-on-the-hook) svn info -> record new revision run svn log -rlast:new and store all login-names in committers-on-the-hook fi do the tinderbox if !error rm committers-on-the-hook else send build breakage to current@ send nastygrams to all committers-on-the-hook fi ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On Wed, 22 Dec 2010, Robert Watson wrote: On Tue, 21 Dec 2010, Mike Tancsa wrote: I think Tinderbox has a bad source tree. Lines 557 and 569 make sense from the old version of kern_fail.c before either of my commits. So is Tinderbox somehow building with an old kern_fail.c but an updated sys/fail.h? That would explain the build error, but I have no idea how it could have gotten into such a situation. Sometimes the Subversion->CVS exporter becomes upset. It would be worth checking out the CVS version of those files and making sure they contain what you expect -- if not, it could well be a problem there. The exporter is running happily. I checked that the branching went well and the commits from head came in after that. I just checked again and it's running. /bz -- Bjoern A. Zeeb Welcome a new stage of life. Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On Tue, 21 Dec 2010, Mike Tancsa wrote: I think Tinderbox has a bad source tree. Lines 557 and 569 make sense from the old version of kern_fail.c before either of my commits. So is Tinderbox somehow building with an old kern_fail.c but an updated sys/fail.h? That would explain the build error, but I have no idea how it could have gotten into such a situation. Sometimes the Subversion->CVS exporter becomes upset. It would be worth checking out the CVS version of those files and making sure they contain what you expect -- if not, it could well be a problem there. Robert It updates from my local mirror which updates from cvsup18. The last update was CVSup update ends at 2010-12-21 16:44:39 CVSup update begins at 2010-12-21 17:43:00 Updating from cvsup18.freebsd.org Connected to cvsup18.freebsd.org Updating collection cvs-all/cvs Append to CVSROOT-ports/commitlogs/ports Append to CVSROOT-src/commitlogs/sys Edit ports/devel/p5-DateTime-Format-Strptime/Makefile,v Edit ports/devel/p5-DateTime-Format-Strptime/distinfo,v Edit ports/multimedia/playd/Makefile,v Edit ports/multimedia/playd/distinfo,v Edit src/sys/nfsserver/nfs_srvsubs.c,v src/sys/nfsserver/nfs_srvsubs.c,v: Checksum mismatch -- will transfer entire file Edit src/sys/sparc64/include/cpufunc.h,v src/sys/sparc64/include/cpufunc.h,v: Checksum mismatch -- will transfer entire file Edit src/sys/sparc64/include/vmparam.h,v src/sys/sparc64/include/vmparam.h,v: Checksum mismatch -- will transfer entire file Edit src/sys/sparc64/sparc64/tick.c,v src/sys/sparc64/sparc64/tick.c,v: Checksum mismatch -- will transfer entire file Edit src/sys/sys/mount.h,v src/sys/sys/mount.h,v: Checksum mismatch -- will transfer entire file Skipping collection gnats/current Skipping collection www/current Skipping collection mail-archive/current Updating collection distrib/self Applying fixups for collection cvs-all/cvs Fixup src/sys/nfsserver/nfs_srvsubs.c,v Fixup src/sys/sparc64/include/cpufunc.h,v Fixup src/sys/sparc64/include/vmparam.h,v Fixup src/sys/sparc64/sparc64/tick.c,v Fixup src/sys/sys/mount.h,v Finished successfully CVSup update ends at 2010-12-21 17:45:11 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On Tue, 21 Dec 2010, Mike Tancsa wrote: On 12/21/2010 5:49 PM, Matthew Fleming wrote: /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete type /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete type /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete type /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete type /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete type /src/sys/kern/kern_fail.c: In function 'clear_entries': /src/sys/kern/kern_fail.c:569: error: dereferencing pointer to incomplete type /src/sys/kern/kern_fail.c:569: warning: left-hand operand of comma expression has no effect *** Error code 1 I think Tinderbox has a bad source tree. Lines 557 and 569 make sense from the old version of kern_fail.c before either of my commits. So is Tinderbox somehow building with an old kern_fail.c but an updated sys/fail.h? That would explain the build error, but I have no idea how it could have gotten into such a situation. It updates from my local mirror which updates from cvsup18. The last update was it might have been an intermediate problem not ctaching up quickly enough after branching happened for 7.4 and 8.2, which usually "kills" cvsup mirrors the hours following for a short time. I haven't checked times though if those things might correlate. /bz -- Bjoern A. Zeeb Welcome a new stage of life. Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On 12/21/2010 5:49 PM, Matthew Fleming wrote: >> /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete >> type >> /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete >> type >> /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete >> type >> /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete >> type >> /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete >> type >> /src/sys/kern/kern_fail.c: In function 'clear_entries': >> /src/sys/kern/kern_fail.c:569: error: dereferencing pointer to incomplete >> type >> /src/sys/kern/kern_fail.c:569: warning: left-hand operand of comma >> expression has no effect >> *** Error code 1 > > I think Tinderbox has a bad source tree. Lines 557 and 569 make sense > from the old version of kern_fail.c before either of my commits. So > is Tinderbox somehow building with an old kern_fail.c but an updated > sys/fail.h? That would explain the build error, but I have no idea > how it could have gotten into such a situation. It updates from my local mirror which updates from cvsup18. The last update was CVSup update ends at 2010-12-21 16:44:39 CVSup update begins at 2010-12-21 17:43:00 Updating from cvsup18.freebsd.org Connected to cvsup18.freebsd.org Updating collection cvs-all/cvs Append to CVSROOT-ports/commitlogs/ports Append to CVSROOT-src/commitlogs/sys Edit ports/devel/p5-DateTime-Format-Strptime/Makefile,v Edit ports/devel/p5-DateTime-Format-Strptime/distinfo,v Edit ports/multimedia/playd/Makefile,v Edit ports/multimedia/playd/distinfo,v Edit src/sys/nfsserver/nfs_srvsubs.c,v src/sys/nfsserver/nfs_srvsubs.c,v: Checksum mismatch -- will transfer entire file Edit src/sys/sparc64/include/cpufunc.h,v src/sys/sparc64/include/cpufunc.h,v: Checksum mismatch -- will transfer entire file Edit src/sys/sparc64/include/vmparam.h,v src/sys/sparc64/include/vmparam.h,v: Checksum mismatch -- will transfer entire file Edit src/sys/sparc64/sparc64/tick.c,v src/sys/sparc64/sparc64/tick.c,v: Checksum mismatch -- will transfer entire file Edit src/sys/sys/mount.h,v src/sys/sys/mount.h,v: Checksum mismatch -- will transfer entire file Skipping collection gnats/current Skipping collection www/current Skipping collection mail-archive/current Updating collection distrib/self Applying fixups for collection cvs-all/cvs Fixup src/sys/nfsserver/nfs_srvsubs.c,v Fixup src/sys/sparc64/include/cpufunc.h,v Fixup src/sys/sparc64/include/vmparam.h,v Fixup src/sys/sparc64/sparc64/tick.c,v Fixup src/sys/sys/mount.h,v Finished successfully CVSup update ends at 2010-12-21 17:45:11 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On Tue, Dec 21, 2010 at 2:37 PM, FreeBSD Tinderbox wrote: > TB --- 2010-12-21 20:56:55 - tinderbox 2.6 running on > freebsd-current.sentex.ca > TB --- 2010-12-21 20:56:55 - starting HEAD tinderbox run for powerpc64/powerpc > TB --- 2010-12-21 20:56:55 - cleaning the object tree > TB --- 2010-12-21 20:57:12 - cvsupping the source tree > TB --- 2010-12-21 20:57:12 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca > /tinderbox/HEAD/powerpc64/powerpc/supfile > TB --- 2010-12-21 20:57:29 - building world > TB --- 2010-12-21 20:57:29 - MAKEOBJDIRPREFIX=/obj > TB --- 2010-12-21 20:57:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2010-12-21 20:57:29 - TARGET=powerpc > TB --- 2010-12-21 20:57:29 - TARGET_ARCH=powerpc64 > TB --- 2010-12-21 20:57:29 - TZ=UTC > TB --- 2010-12-21 20:57:29 - __MAKE_CONF=/dev/null > TB --- 2010-12-21 20:57:29 - cd /src > TB --- 2010-12-21 20:57:29 - /usr/bin/make -B buildworld World build started on Tue Dec 21 20:57:29 UTC 2010 Rebuilding the temporary build tree stage 1.1: legacy release compatibility shims stage 1.2: bootstrap tools stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3: cross tools stage 4.1: building includes stage 4.2: building libraries stage 4.3: make dependencies stage 4.4: building everything stage 5.1: building 32 bit shim libraries World build completed on Tue Dec 21 22:29:06 UTC 2010 > TB --- 2010-12-21 22:29:06 - generating LINT kernel config > TB --- 2010-12-21 22:29:06 - cd /src/sys/powerpc/conf > TB --- 2010-12-21 22:29:06 - /usr/bin/make -B LINT > TB --- 2010-12-21 22:29:06 - building LINT kernel > TB --- 2010-12-21 22:29:06 - MAKEOBJDIRPREFIX=/obj > TB --- 2010-12-21 22:29:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2010-12-21 22:29:06 - TARGET=powerpc > TB --- 2010-12-21 22:29:06 - TARGET_ARCH=powerpc64 > TB --- 2010-12-21 22:29:06 - TZ=UTC > TB --- 2010-12-21 22:29:06 - __MAKE_CONF=/dev/null > TB --- 2010-12-21 22:29:06 - cd /src > TB --- 2010-12-21 22:29:06 - /usr/bin/make -B buildkernel KERNCONF=LINT Kernel build for LINT started on Tue Dec 21 22:29:06 UTC 2010 stage 1: configuring the kernel stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3.1: making dependencies stage 3.2: building everything > [...] > /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete type > /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete type > /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete type > /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete type > /src/sys/kern/kern_fail.c:557: error: dereferencing pointer to incomplete type > /src/sys/kern/kern_fail.c: In function 'clear_entries': > /src/sys/kern/kern_fail.c:569: error: dereferencing pointer to incomplete type > /src/sys/kern/kern_fail.c:569: warning: left-hand operand of comma expression > has no effect > *** Error code 1 I think Tinderbox has a bad source tree. Lines 557 and 569 make sense from the old version of kern_fail.c before either of my commits. So is Tinderbox somehow building with an old kern_fail.c but an updated sys/fail.h? That would explain the build error, but I have no idea how it could have gotten into such a situation. But line 557 is a comment in between functions after both r216616 and r216620. Thanks, matthew ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
At 07:29 PM 8/29/2010, Nathan Whitehorn wrote: Is something wrong with cvsup? This bug was fixed two days ago in SVN. Hi, There was a problem with the crontab entry on the local cvsup mirror that the tinder box syncs from for weekend runs / updates. I have fixed the ctab entry and kicked cvsup to start its updates now. ---Mike -Nathan ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" Mike Tancsa, tel +1 519 651 3400 Sentex Communications,m...@sentex.net Providing Internet since 1994www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On 08/29/10 18:23, FreeBSD Tinderbox wrote: TB --- 2010-08-29 22:54:57 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-08-29 22:54:57 - starting HEAD tinderbox run for powerpc64/powerpc TB --- 2010-08-29 22:54:57 - cleaning the object tree TB --- 2010-08-29 22:55:09 - cvsupping the source tree TB --- 2010-08-29 22:55:09 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc64/powerpc/supfile TB --- 2010-08-29 22:55:37 - building world TB --- 2010-08-29 22:55:37 - MAKEOBJDIRPREFIX=/obj TB --- 2010-08-29 22:55:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-08-29 22:55:37 - TARGET=powerpc TB --- 2010-08-29 22:55:37 - TARGET_ARCH=powerpc64 TB --- 2010-08-29 22:55:37 - TZ=UTC TB --- 2010-08-29 22:55:37 - __MAKE_CONF=/dev/null TB --- 2010-08-29 22:55:37 - cd /src TB --- 2010-08-29 22:55:37 - /usr/bin/make -B buildworld World build started on Sun Aug 29 22:55:37 UTC 2010 Rebuilding the temporary build tree stage 1.1: legacy release compatibility shims stage 1.2: bootstrap tools stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3: cross tools stage 4.1: building includes stage 4.2: building libraries [...] ===> gnu/lib/libgomp (all) cc -O2 -pipe -DHAVE_CONFIG_H -I/src/gnu/lib/libgomp -I. -I/src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp -I/src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/config/posix -std=gnu99 -fstack-protector -c /src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/alloc.c cc -O2 -pipe -DHAVE_CONFIG_H -I/src/gnu/lib/libgomp -I. -I/src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp -I/src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/config/posix -std=gnu99 -fstack-protector -c /src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/barrier.c cc -O2 -pipe -DHAVE_CONFIG_H -I/src/gnu/lib/libgomp -I. -I/src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp -I/src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/config/posix -std=gnu99 -fstack-protector -c /src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/critical.c cc -O2 -pipe -DHAVE_CONFIG_H -I/src/gnu/lib/libgomp -I. -I/src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp -I/src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/config/posix -std=gnu99 -fstack-protector -c /src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/env.c In file included from /src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/env.c:32: ./libgomp_f.h: In function 'omp_check_defines': ./libgomp_f.h:65: error: size of array 'test' is negative *** Error code 1 Is something wrong with cvsup? This bug was fixed two days ago in SVN. -Nathan ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On 08/22/10 07:10, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: Dag-Erling Smørgrav writes: I'm not sure I understand what you mean (or rather, how it would help the tinderbox). What *would* help would be an easy way to determine, *before* trying to build it, whether a specific kernel config is appropriate for a specific target. Can you think of an easier way to do this than to scan the config for the "machine" line? That's exactly what I proposed. You use config, before trying the build, to look up the machine specification for the config file. I sent you a 5 line patch to tinderbox.pl that does this by private email. Here's a solution that works regadless of config(8) version, though I'm not sure it qualifies as either easy or clean: Index: tinderbox.pl === RCS file: /home/projcvs/projects/tinderbox/tinderbox.pl,v retrieving revision 1.68 diff -u -r1.68 tinderbox.pl --- tinderbox.pl25 Aug 2009 17:28:14 - 1.68 +++ tinderbox.pl22 Aug 2010 12:08:46 - @@ -722,10 +722,29 @@ } # Build additional kernels + kernel: foreach my $kernel (sort(keys(%kernels))) { if (! -f "$srcdir/sys/$machine/conf/$kernel") { warning("no kernel config for $kernel"); - next; + next kernel; + } + # Hack: check that the config is appropriate for this target. + # If no "machine" declaration is present, assume that it is. + local *KERNCONF; + if (open(KERNCONF, "<", "$srcdir/sys/$machine/conf/$kernel")) { + while () { + next unless m/^machine\s+(\w+(?:\s+\w+)?)\s*(?:\#.*)?$/; + if ($1 !~ m/^\Q$machine\E(\s+\Q$arch\E)?$/) { + warning("skipping $kernel"); + close(KERNCONF); + next kernel; + } + last; + } + close(KERNCONF); + } else { + warning("$kernel: $!"); + next kernel; } logstage("building $kernel kernel"); logenv(); It will break if the "machine" declaration ever moves into an included file, since it does not follow include statements, but it will do for now. Thanks! I think we are pretty likely to stay in the situation where this hack works for the foreseeable future. -Nathan ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
Nathan Whitehorn writes: > Dag-Erling Smørgrav writes: > > I'm not sure I understand what you mean (or rather, how it would > > help the tinderbox). What *would* help would be an easy way to > > determine, *before* trying to build it, whether a specific kernel > > config is appropriate for a specific target. Can you think of an > > easier way to do this than to scan the config for the "machine" > > line? > That's exactly what I proposed. You use config, before trying the > build, to look up the machine specification for the config file. I > sent you a 5 line patch to tinderbox.pl that does this by private > email. Here's a solution that works regadless of config(8) version, though I'm not sure it qualifies as either easy or clean: Index: tinderbox.pl === RCS file: /home/projcvs/projects/tinderbox/tinderbox.pl,v retrieving revision 1.68 diff -u -r1.68 tinderbox.pl --- tinderbox.pl25 Aug 2009 17:28:14 - 1.68 +++ tinderbox.pl22 Aug 2010 12:08:46 - @@ -722,10 +722,29 @@ } # Build additional kernels + kernel: foreach my $kernel (sort(keys(%kernels))) { if (! -f "$srcdir/sys/$machine/conf/$kernel") { warning("no kernel config for $kernel"); - next; + next kernel; + } + # Hack: check that the config is appropriate for this target. + # If no "machine" declaration is present, assume that it is. + local *KERNCONF; + if (open(KERNCONF, "<", "$srcdir/sys/$machine/conf/$kernel")) { + while () { + next unless m/^machine\s+(\w+(?:\s+\w+)?)\s*(?:\#.*)?$/; + if ($1 !~ m/^\Q$machine\E(\s+\Q$arch\E)?$/) { + warning("skipping $kernel"); + close(KERNCONF); + next kernel; + } + last; + } + close(KERNCONF); + } else { + warning("$kernel: $!"); + next kernel; } logstage("building $kernel kernel"); logenv(); It will break if the "machine" declaration ever moves into an included file, since it does not follow include statements, but it will do for now. DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On 08/21/10 16:54, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: I'm the first to admit that many of the config tricks involved in this port, and GENERIC64, are ugly hacks, largely because config(8) was not designed with such things in mind. It's not just "config tricks and ugly hacks", it also violates the assumption that target names are unique. This was discussed on arch several months ago. Breaking that assumption seems much better, in the long term, than any of the alternatives in order to accomodate mips[64][el|eb], arm[eb], powerpc[64], and any other similar situations we may run into in the future. Sharing an include/machine directory, which is a side effect, also means that things like cc -m32 work out of the box. To address the immediate problem, I think the best solution is to use the -m option to config to reject kernel configs for different architectures, I'm not sure I understand what you mean (or rather, how it would help the tinderbox). What *would* help would be an easy way to determine, *before* trying to build it, whether a specific kernel config is appropriate for a specific target. Can you think of an easier way to do this than to scan the config for the "machine" line? That's exactly what I proposed. You use config, before trying the build, to look up the machine specification for the config file. I sent you a 5 line patch to tinderbox.pl that does this by private email. Other alternatives would be having sys/$MACHINE/conf.$MACHINE_ARCH directories or something, but that invites far more breakage. -Nathan ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
Nathan Whitehorn writes: > I'm the first to admit that many of the config tricks involved in this > port, and GENERIC64, are ugly hacks, largely because config(8) was not > designed with such things in mind. It's not just "config tricks and ugly hacks", it also violates the assumption that target names are unique. > To address the immediate problem, I think the best solution is to use > the -m option to config to reject kernel configs for different > architectures, I'm not sure I understand what you mean (or rather, how it would help the tinderbox). What *would* help would be an easy way to determine, *before* trying to build it, whether a specific kernel config is appropriate for a specific target. Can you think of an easier way to do this than to scan the config for the "machine" line? DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On 08/20/10 14:20, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: Next up: tinderbox needs to build GENERIC64, not GENERIC, on powerpc64. make buildkernel is programmed to do the right thing is you don't pass a KERNCONF, but tinderbox apparently passes GENERIC explicitly. This one's in your court! There is no way to fix this with the current tinderbox code. MHO is that the entire powerpc64 thing is very poorly thought out. I'm the first to admit that many of the config tricks involved in this port, and GENERIC64, are ugly hacks, largely because config(8) was not designed with such things in mind. But the alternatives were much worse: - A sys/powerpc64 that duplicated most of sys/powerpc, which would have been a maintenance nightmare (see sun4v). - A sys/powerpc64 that was mostly symlinks and stub includes, which is inelegant at best, and could cause kinds of fascinating problems for user programs including things in machine/. - Bunches of new make variables like TARGET_BIG_ENDIAN and TARGET_64BIT and such like mips and arm have, which is way more awful, as well as precluding tinderbox and make universe coverage in a reasonable way. powerpc64 is the first architecture trying out this new multi-architecture MACHINE approach, which Warner designed to kill off things like TARGET_BIG_ENDIAN, so there are going to be some interesting rough patches along the way, and I really appreciate your patience in sorting them out. To address the immediate problem, I think the best solution is to use the -m option to config to reject kernel configs for different architectures, the way the tinderbox scripts currently skip kernel configs that they are asked to build that don't exist. If you think this is a reasonable approach, I'm happy to code up a patch to tinderbox to do this over the weekend. You can feel free to disconnect powerpc64 from tinderbox in the interim. -Nathan ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
Nathan Whitehorn writes: > Next up: tinderbox needs to build GENERIC64, not GENERIC, on > powerpc64. make buildkernel is programmed to do the right thing is you > don't pass a KERNCONF, but tinderbox apparently passes GENERIC > explicitly. This one's in your court! There is no way to fix this with the current tinderbox code. MHO is that the entire powerpc64 thing is very poorly thought out. DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On 08/20/10 04:26, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: The problem is that until yesterday, you could not build a powerpc64 LINT, and so it was trying to build a PPC32 kernel with a 64-bit toolchain. An actual powerpc64 kernel does not include ofw_standard.c. This should be fixed now with r211483, so long as the LINT config is made with TARGET_ARCH set (and is not reused for 32 and 64-bit builds). There is a seat-belt mechanism I should add soon that will complain earlier about architecture mismatches like this. Thanks for your patience. stage 3.2: building everything [...] /src/sys/powerpc/fpu/fpu_emu.c: In function 'fpu_execute': /src/sys/powerpc/fpu/fpu_emu.c:329: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:329: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:359: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:359: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:376: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:376: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'vm_offset_t' /src/sys/powerpc/fpu/fpu_emu.c:778: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'register_t' *** Error code 1 Stop in /obj/powerpc.powerpc64/src/sys/LINT. OK, that one is fixed now too. :) Next up: tinderbox needs to build GENERIC64, not GENERIC, on powerpc64. make buildkernel is programmed to do the right thing is you don't pass a KERNCONF, but tinderbox apparently passes GENERIC explicitly. This one's in your court! -Nathan ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
Nathan Whitehorn writes: > The problem is that until yesterday, you could not build a powerpc64 > LINT, and so it was trying to build a PPC32 kernel with a 64-bit > toolchain. An actual powerpc64 kernel does not include > ofw_standard.c. This should be fixed now with r211483, so long as the > LINT config is made with TARGET_ARCH set (and is not reused for 32 and > 64-bit builds). There is a seat-belt mechanism I should add soon that > will complain earlier about architecture mismatches like this. Thanks > for your patience. >>> stage 3.2: building everything [...] /src/sys/powerpc/fpu/fpu_emu.c: In function 'fpu_execute': /src/sys/powerpc/fpu/fpu_emu.c:329: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:329: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:359: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:359: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:376: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long int' /src/sys/powerpc/fpu/fpu_emu.c:376: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'vm_offset_t' /src/sys/powerpc/fpu/fpu_emu.c:778: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'register_t' *** Error code 1 Stop in /obj/powerpc.powerpc64/src/sys/LINT. :) DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
On 08/19/10 01:40, Dag-Erling Smørgrav wrote: FreeBSD Tinderbox writes: Kernel build for LINT started on Thu Aug 19 02:51:08 UTC 2010 stage 1: configuring the kernel stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3.1: making dependencies stage 3.2: building everything [...] /src/sys/dev/ofw/ofw_standard.c:705: warning: cast to pointer from integer of different size /src/sys/dev/ofw/ofw_standard.c: In function 'ofw_std_release': /src/sys/dev/ofw/ofw_standard.c:719: warning: cast from pointer to integer of different size /src/sys/dev/ofw/ofw_standard.c:724: warning: cast from pointer to integer of different size /src/sys/dev/ofw/ofw_standard.c: In function 'ofw_std_enter': /src/sys/dev/ofw/ofw_standard.c:742: warning: cast from pointer to integer of different size /src/sys/dev/ofw/ofw_standard.c: In function 'ofw_std_exit': /src/sys/dev/ofw/ofw_standard.c:760: warning: cast from pointer to integer of different size *** Error code 1 Stop in /obj/powerpc.powerpc64/src/sys/LINT. Line 705 in ofw_standard.c is return ((void *)args.baseaddr); args.baseaddr is a cell_t, which is defined in: typedef uint32_tcell_t; which I assume is correct for powerpc (32-bits), but probably not for powerpc64. Note that it is defined as uint64_t on sparc64 and sun4v, and in sys/boot as unsigned long int, which is the correct size on both 32-bit and 64-bit machines (assuming I32LP64). The problem is that until yesterday, you could not build a powerpc64 LINT, and so it was trying to build a PPC32 kernel with a 64-bit toolchain. An actual powerpc64 kernel does not include ofw_standard.c. This should be fixed now with r211483, so long as the LINT config is made with TARGET_ARCH set (and is not reused for 32 and 64-bit builds). There is a seat-belt mechanism I should add soon that will complain earlier about architecture mismatches like this. Thanks for your patience. -Nathan ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc64/powerpc
FreeBSD Tinderbox writes: Kernel build for LINT started on Thu Aug 19 02:51:08 UTC 2010 stage 1: configuring the kernel stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3.1: making dependencies stage 3.2: building everything > [...] > /src/sys/dev/ofw/ofw_standard.c:705: warning: cast to pointer from integer of > different size > /src/sys/dev/ofw/ofw_standard.c: In function 'ofw_std_release': > /src/sys/dev/ofw/ofw_standard.c:719: warning: cast from pointer to integer of > different size > /src/sys/dev/ofw/ofw_standard.c:724: warning: cast from pointer to integer of > different size > /src/sys/dev/ofw/ofw_standard.c: In function 'ofw_std_enter': > /src/sys/dev/ofw/ofw_standard.c:742: warning: cast from pointer to integer of > different size > /src/sys/dev/ofw/ofw_standard.c: In function 'ofw_std_exit': > /src/sys/dev/ofw/ofw_standard.c:760: warning: cast from pointer to integer of > different size > *** Error code 1 > > Stop in /obj/powerpc.powerpc64/src/sys/LINT. Line 705 in ofw_standard.c is return ((void *)args.baseaddr); args.baseaddr is a cell_t, which is defined in : typedef uint32_tcell_t; which I assume is correct for powerpc (32-bits), but probably not for powerpc64. Note that it is defined as uint64_t on sparc64 and sun4v, and in sys/boot as unsigned long int, which is the correct size on both 32-bit and 64-bit machines (assuming I32LP64). DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"