[head tinderbox] failure on powerpc/powerpc

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 05:34:44 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 05:34:44 - 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-04-28 05:34:44 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2012-04-28 05:34:44 - cleaning the object tree
TB --- 2012-04-28 05:34:44 - cvsupping the source tree
TB --- 2012-04-28 05:34:44 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2012-04-28 05:35:36 - building world
TB --- 2012-04-28 05:35:36 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 05:35:36 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 05:35:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 05:35:36 - SRCCONF=/dev/null
TB --- 2012-04-28 05:35:36 - TARGET=powerpc
TB --- 2012-04-28 05:35:36 - TARGET_ARCH=powerpc
TB --- 2012-04-28 05:35:36 - TZ=UTC
TB --- 2012-04-28 05:35:36 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 05:35:36 - cd /src
TB --- 2012-04-28 05:35:36 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 05:35:37 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
>>> World build completed on Sat Apr 28 06:47:10 UTC 2012
TB --- 2012-04-28 06:47:10 - generating LINT kernel config
TB --- 2012-04-28 06:47:10 - cd /src/sys/powerpc/conf
TB --- 2012-04-28 06:47:10 - /usr/bin/make -B LINT
TB --- 2012-04-28 06:47:10 - cd /src/sys/powerpc/conf
TB --- 2012-04-28 06:47:10 - /usr/sbin/config -m LINT
TB --- 2012-04-28 06:47:10 - building LINT kernel
TB --- 2012-04-28 06:47:10 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 06:47:10 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 06:47:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 06:47:10 - SRCCONF=/dev/null
TB --- 2012-04-28 06:47:10 - TARGET=powerpc
TB --- 2012-04-28 06:47:10 - TARGET_ARCH=powerpc
TB --- 2012-04-28 06:47:10 - TZ=UTC
TB --- 2012-04-28 06:47:10 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 06:47:10 - cd /src
TB --- 2012-04-28 06:47:10 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 06:47:10 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 -ffreestanding 
-fstack-protector -Werror  /src/sys/powerpc/aim/mmu_oea.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 -ffreestanding 
-fstack-protector -Werror  /src/sys/powerpc/aim/mmu_oea64.c
awk -f /src/sys/tools/makeobjops.awk /src/sys/powerpc/aim/moea64_if.m -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 -ffreestanding 
-fstack-protector -Werror  moea64_if.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  

Re: [RFC] Un-staticise the toolchain

2012-04-28 Thread Bob Bishop
Hi,

On 28 Apr 2012, at 04:12, David O'Brien wrote:

> On Thu, Apr 26, 2012 at 12:38:03PM +0100, Bob Bishop wrote:
>>> Apparently, current dependencies are much more spread, e.g. /bin/sh
>>> is dynamically linked [etc]
>> 
>> That seems like a bad mistake, because it would prevent even booting
>> single-user if rtld/libraries are broken.
> 
> When one enters single user they are prompted for which shell to use.
> If /bin/sh is broken due to being dynamic, '/rescue/sh' will likely still
> work.

Yes. You to have a statically linked /rescue/sh on board, so what's the point 
of /bin/sh being dynamic? The memory footprint really isn't an issue, and for 
my money the default shell ought to be bombproof.

--
Bob Bishop
r...@gid.co.uk




___
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"


New Xorg: graphics/dri: fails to compile with CLANG: nouveau_array.c:49:16: error: illegal storage class on function, *extract_u = EXTRACT(char, unsigned, 1);

2012-04-28 Thread O. Hartmann
Compiling Xorg stuff with the switch set in /etc/make.conf for the new
Xorg graphics/dri  mesa 7.11.x and xorg-server 1.10.6 with CLANG on bot
FreeBSD 10 and 9 end up in an error:

nouveau_array.c:49:16: error: illegal storage class on function
*extract_u = EXTRACT(char, unsigned, 1);

This error seem to be well known since last year, as this links states:

http://lists.freedesktop.org/archives/nouveau/2011-December/009768.html

and claimed to be resolved, as this link indicates:

http://lists.freedesktop.org/archives/mesa-dev/2012-March/019815.html

and

http://cgit.freedesktop.org/mesa/mesa/commit/?id=4aa1ac5fe94b5696095229ee3568bf4fa7cfed95

Is there in "official" way to get this fixed with CLANG? I see that
files folder in graphics/dri is missing, so none of the  fixes for both
the faulty source files

nouveau_array.c
nouveau_render_t.c

as indicated by the patches have been fixed permanently for CLANG with
FreeBSD so far.

It would be a pleasure having a "nice" solution using CLANG. I was
looking for a switch allowing to patch the sources upon a criteria, but
the ports framework seems not to be capable of such a thing. If there is
already a solution I would be pleased to have it, too, if available,
otherwise I will go for installation of GIT, sucking in the patches and
create myself patchfiles. I'm hesitating to do so at the moment since I
don't want to have git installed since I do not use it, yet (updating
useless/unused ports is sometimes a waste of time on slow boxes, sorry).

Thanks in advance,
Oliver



signature.asc
Description: OpenPGP digital signature


[head tinderbox] failure on arm/arm

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 09:30:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 09:30:00 - 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-04-28 09:30:00 - starting HEAD tinderbox run for arm/arm
TB --- 2012-04-28 09:30:00 - cleaning the object tree
TB --- 2012-04-28 09:30:00 - cvsupping the source tree
TB --- 2012-04-28 09:30:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/arm/arm/supfile
TB --- 2012-04-28 09:32:20 - building world
TB --- 2012-04-28 09:32:20 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 09:32:20 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 09:32:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 09:32:20 - SRCCONF=/dev/null
TB --- 2012-04-28 09:32:20 - TARGET=arm
TB --- 2012-04-28 09:32:20 - TARGET_ARCH=arm
TB --- 2012-04-28 09:32:20 - TZ=UTC
TB --- 2012-04-28 09:32:20 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 09:32:20 - cd /src
TB --- 2012-04-28 09:32:20 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 09:32: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
>>> World build completed on Sat Apr 28 10:30:51 UTC 2012
TB --- 2012-04-28 10:30:51 - cd /src/sys/arm/conf
TB --- 2012-04-28 10:30:51 - /usr/sbin/config -m AVILA
TB --- 2012-04-28 10:30:51 - building AVILA kernel
TB --- 2012-04-28 10:30:51 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 10:30:51 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 10:30:51 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 10:30:51 - SRCCONF=/dev/null
TB --- 2012-04-28 10:30:51 - TARGET=arm
TB --- 2012-04-28 10:30:51 - TARGET_ARCH=arm
TB --- 2012-04-28 10:30:51 - TZ=UTC
TB --- 2012-04-28 10:30:51 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 10:30:51 - cd /src
TB --- 2012-04-28 10:30:51 - /usr/bin/make -B buildkernel KERNCONF=AVILA
>>> Kernel build for AVILA started on Sat Apr 28 10:30:52 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 -mbig-endian -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=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -mbig-endian -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=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -mbig-endian -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=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -mbig-endian -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=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror  
/src/

Re: New Xorg: graphics/dri: fails to compile with CLANG: nouveau_array.c:49:16: error: illegal storage class on function, *extract_u = EXTRACT(char, unsigned, 1);

2012-04-28 Thread Volodymyr Kostyrko

O. Hartmann wrote:

Is there in "official" way to get this fixed with CLANG? I see that
files folder in graphics/dri is missing, so none of the  fixes for both
the faulty source files


I think the patch should go to graphics/libGL.

cd /usr/ports/graphics/libGL/files
fetch -rao - 
'http://cgit.freedesktop.org/mesa/mesa/patch/?id=4aa1ac5fe94b5696095229ee3568bf4fa7cfed95' 
| sed -e 's|^--- a/src|--- src|' -e 's|^+++ b/src|+++ src|' > patch-nouveau


Should do.

--
Sphinx of black quartz judge my vow.
___
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"


[head tinderbox] failure on i386/pc98

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 09:30:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 09:30:00 - 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-04-28 09:30:00 - starting HEAD tinderbox run for i386/pc98
TB --- 2012-04-28 09:30:00 - cleaning the object tree
TB --- 2012-04-28 09:30:00 - cvsupping the source tree
TB --- 2012-04-28 09:30:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/pc98/supfile
TB --- 2012-04-28 09:32:19 - building world
TB --- 2012-04-28 09:32:19 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 09:32:19 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 09:32:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 09:32:19 - SRCCONF=/dev/null
TB --- 2012-04-28 09:32:19 - TARGET=pc98
TB --- 2012-04-28 09:32:19 - TARGET_ARCH=i386
TB --- 2012-04-28 09:32:19 - TZ=UTC
TB --- 2012-04-28 09:32:19 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 09:32:19 - cd /src
TB --- 2012-04-28 09:32:19 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 09:32:19 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
>>> World build completed on Sat Apr 28 12:00:32 UTC 2012
TB --- 2012-04-28 12:00:32 - generating LINT kernel config
TB --- 2012-04-28 12:00:32 - cd /src/sys/pc98/conf
TB --- 2012-04-28 12:00:32 - /usr/bin/make -B LINT
TB --- 2012-04-28 12:00:32 - cd /src/sys/pc98/conf
TB --- 2012-04-28 12:00:32 - /usr/sbin/config -m LINT
TB --- 2012-04-28 12:00:32 - building LINT kernel
TB --- 2012-04-28 12:00:32 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 12:00:32 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 12:00:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 12:00:32 - SRCCONF=/dev/null
TB --- 2012-04-28 12:00:32 - TARGET=pc98
TB --- 2012-04-28 12:00:32 - TARGET_ARCH=i386
TB --- 2012-04-28 12:00:32 - TZ=UTC
TB --- 2012-04-28 12:00:32 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 12:00:32 - cd /src
TB --- 2012-04-28 12:00:32 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 12:00:32 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 -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/d

Re: : jemalloc_arena.c:182: Failed assertion: "p[i] == 0"

2012-04-28 Thread Aleksandr Rybalko
On Sat, 21 Apr 2012 13:11:16 -0700
Jason Evans  wrote:

>> On Apr 21, 2012, at 11:54 AM, David Wolfskill wrote:
>> > After applying Dimitry Andric's patches to contrib/jemalloc and
>> > replacing /usr/bin/as with one built last Sunday, I was finally(!)
>> > able to rebuild head as of 234536:
>> > 
>> > FreeBSD freebeast.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT
>> > #797 234536M: Sat Apr 21 10:23:33 PDT 2012
>> > #r...@freebeast.catwhisker.org:/usr/obj/usr/src/sys/GENERIC  i386
>> > 
>> > However, as I was copying a /usr/obj hierarchy via tar -- e.g.:
>> > 
>> > root@freebeast:/common/home/david # (cd /var/tmp && rm -fr obj &&
>> > mkdir obj) && (cd /usr && tar cpf - obj) | (cd /var/tmp && tar xpf
>> > -)
>> > 
>> > it ran for a while, then:
>> > 
>> > : jemalloc_arena.c:182: Failed assertion: "p[i] == 0"
>> > Abort (core dumped) 
>> > root@freebeast:/common/home/david # echo $?
>> > 134
>> > root@freebeast:/common/home/david # ls -lTio *.core
>> > ls: No match.
>> > root@freebeast:/common/home/david # 
>> > 
>> > So ... no core file, apparently.
>> > 
>> > freebeast(10.0-C)[2] find /usr/src/contrib/jemalloc -type f -name
>> > jemalloc_arena.c freebeast(10.0-C)[3] 
>> > 
>> > No file named "jemalloc_arena.c", either.
>> > 
>> > But contrib/jemalloc/src/arena.c contains a function,
>> > arena_chunk_validate_zeroed():
>> > 
>> >175 static inline void
>> >176 arena_chunk_validate_zeroed(arena_chunk_t *chunk, size_t
>> > run_ind) 177 {
>> >178 size_t i;
>> >179 UNUSED size_t *p = (size_t *)((uintptr_t)chunk +
>> > (run_ind << LG_PAGE)); 180
>> >181 for (i = 0; i < PAGE / sizeof(size_t); i++)
>> >182 assert(p[i] == 0);
>> >183 }
>> > 
>> > Thoughts?
>> 
>> I received a similar report yesterday in the context of filezilla,
>> but didn't get as far as reproducing it.  I think the problem is in
>> chunk_alloc_dss(), which dangerously claims that newly allocated
>> memory is zeroed.  It looks like I formalized this bad assumption in
>> early 2010, though the bug existed before that.  It's a bigger deal
>> now because sbrk() is preferred over mmap(), so the bug has
>> languished for a couple of years.  I'll get a fix committed today
>> (and revert the order of preference between sbrk() and mmap()).
>> 
>> By the way, I wonder why not everyone hits this (I don't).
>> 
>> Thanks,
>> Jason___
>> 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"

Hi,

maybe it somehow related to low count of free memory, because I see
that very frequently on my box. (Atheros AR7242 mips32be with 32M of
RAM)

After "#ifdef" of that function body, box behave good (seems) :)

WBW
-- 
Alexandr Rybalko  
aka Alex RAY 
___
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"


[head tinderbox] failure on i386/i386

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 09:30:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 09:30:00 - 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-04-28 09:30:00 - starting HEAD tinderbox run for i386/i386
TB --- 2012-04-28 09:30:00 - cleaning the object tree
TB --- 2012-04-28 09:30:00 - cvsupping the source tree
TB --- 2012-04-28 09:30:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/i386/supfile
TB --- 2012-04-28 09:32:19 - building world
TB --- 2012-04-28 09:32:19 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 09:32:19 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 09:32:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 09:32:19 - SRCCONF=/dev/null
TB --- 2012-04-28 09:32:19 - TARGET=i386
TB --- 2012-04-28 09:32:19 - TARGET_ARCH=i386
TB --- 2012-04-28 09:32:19 - TZ=UTC
TB --- 2012-04-28 09:32:19 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 09:32:19 - cd /src
TB --- 2012-04-28 09:32:19 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 09:32:19 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
>>> World build completed on Sat Apr 28 12:02:00 UTC 2012
TB --- 2012-04-28 12:02:00 - generating LINT kernel config
TB --- 2012-04-28 12:02:00 - cd /src/sys/i386/conf
TB --- 2012-04-28 12:02:00 - /usr/bin/make -B LINT
TB --- 2012-04-28 12:02:00 - cd /src/sys/i386/conf
TB --- 2012-04-28 12:02:00 - /usr/sbin/config -m LINT
TB --- 2012-04-28 12:02:00 - building LINT kernel
TB --- 2012-04-28 12:02:00 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 12:02:00 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 12:02:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 12:02:00 - SRCCONF=/dev/null
TB --- 2012-04-28 12:02:00 - TARGET=i386
TB --- 2012-04-28 12:02:00 - TARGET_ARCH=i386
TB --- 2012-04-28 12:02:00 - TZ=UTC
TB --- 2012-04-28 12:02:00 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 12:02:00 - cd /src
TB --- 2012-04-28 12:02:00 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 12:02:01 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 -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/d

[head tinderbox] failure on ia64/ia64

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 10:31:37 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 10:31:37 - 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-04-28 10:31:37 - starting HEAD tinderbox run for ia64/ia64
TB --- 2012-04-28 10:31:37 - cleaning the object tree
TB --- 2012-04-28 10:31:37 - cvsupping the source tree
TB --- 2012-04-28 10:31:37 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/ia64/ia64/supfile
TB --- 2012-04-28 10:32:31 - building world
TB --- 2012-04-28 10:32:31 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 10:32:31 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 10:32:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 10:32:31 - SRCCONF=/dev/null
TB --- 2012-04-28 10:32:31 - TARGET=ia64
TB --- 2012-04-28 10:32:31 - TARGET_ARCH=ia64
TB --- 2012-04-28 10:32:31 - TZ=UTC
TB --- 2012-04-28 10:32:31 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 10:32:31 - cd /src
TB --- 2012-04-28 10:32:31 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 10:32:32 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
>>> World build completed on Sat Apr 28 12:11:48 UTC 2012
TB --- 2012-04-28 12:11:48 - generating LINT kernel config
TB --- 2012-04-28 12:11:48 - cd /src/sys/ia64/conf
TB --- 2012-04-28 12:11:48 - /usr/bin/make -B LINT
TB --- 2012-04-28 12:11:48 - cd /src/sys/ia64/conf
TB --- 2012-04-28 12:11:48 - /usr/sbin/config -m LINT
TB --- 2012-04-28 12:11:48 - building LINT kernel
TB --- 2012-04-28 12:11:48 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 12:11:48 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 12:11:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 12:11:48 - SRCCONF=/dev/null
TB --- 2012-04-28 12:11:48 - TARGET=ia64
TB --- 2012-04-28 12:11:48 - TARGET_ARCH=ia64
TB --- 2012-04-28 12:11:48 - TZ=UTC
TB --- 2012-04-28 12:11:48 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 12:11:48 - cd /src
TB --- 2012-04-28 12:11:48 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 12:11:48 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 -O2 -pipe -fno-strict-aliasing  -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/ia64/libuwx/src -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 -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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/ia64/libuwx/src -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 -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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/ia64/libuwx/src -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 -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -W

[head tinderbox] failure on amd64/amd64

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 09:30:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 09:30:00 - 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-04-28 09:30:00 - starting HEAD tinderbox run for amd64/amd64
TB --- 2012-04-28 09:30:00 - cleaning the object tree
TB --- 2012-04-28 09:30:00 - cvsupping the source tree
TB --- 2012-04-28 09:30:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/amd64/amd64/supfile
TB --- 2012-04-28 09:36:07 - building world
TB --- 2012-04-28 09:36:07 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 09:36:07 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 09:36:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 09:36:07 - SRCCONF=/dev/null
TB --- 2012-04-28 09:36:07 - TARGET=amd64
TB --- 2012-04-28 09:36:07 - TARGET_ARCH=amd64
TB --- 2012-04-28 09:36:07 - TZ=UTC
TB --- 2012-04-28 09:36:07 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 09:36:07 - cd /src
TB --- 2012-04-28 09:36:07 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 09:36:08 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 Sat Apr 28 12:36:15 UTC 2012
TB --- 2012-04-28 12:36:15 - generating LINT kernel config
TB --- 2012-04-28 12:36:15 - cd /src/sys/amd64/conf
TB --- 2012-04-28 12:36:15 - /usr/bin/make -B LINT
TB --- 2012-04-28 12:36:15 - cd /src/sys/amd64/conf
TB --- 2012-04-28 12:36:15 - /usr/sbin/config -m LINT
TB --- 2012-04-28 12:36:15 - building LINT kernel
TB --- 2012-04-28 12:36:15 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 12:36:15 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 12:36:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 12:36:15 - SRCCONF=/dev/null
TB --- 2012-04-28 12:36:15 - TARGET=amd64
TB --- 2012-04-28 12:36:15 - TARGET_ARCH=amd64
TB --- 2012-04-28 12:36:15 - TZ=UTC
TB --- 2012-04-28 12:36:15 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 12:36:15 - cd /src
TB --- 2012-04-28 12:36:15 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 12:36:15 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 -O2 -frename-registers -pipe -fno-strict-aliasing  -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 -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
-fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx 
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -Werror -pg -mprofiler-epilogue 
/src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -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 -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
-fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx 
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -Werror -pg -mprofiler-epilogue 
/src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -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 -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF

[head tinderbox] failure on mips/mips

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 12:07:32 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 12:07:32 - 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-04-28 12:07:32 - starting HEAD tinderbox run for mips/mips
TB --- 2012-04-28 12:07:32 - cleaning the object tree
TB --- 2012-04-28 12:07:32 - cvsupping the source tree
TB --- 2012-04-28 12:07:32 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/mips/mips/supfile
TB --- 2012-04-28 12:09:04 - building world
TB --- 2012-04-28 12:09:04 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 12:09:04 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 12:09:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 12:09:04 - SRCCONF=/dev/null
TB --- 2012-04-28 12:09:04 - TARGET=mips
TB --- 2012-04-28 12:09:04 - TARGET_ARCH=mips
TB --- 2012-04-28 12:09:04 - TZ=UTC
TB --- 2012-04-28 12:09:04 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 12:09:04 - cd /src
TB --- 2012-04-28 12:09:04 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 12:09:05 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
>>> World build completed on Sat Apr 28 13:11:21 UTC 2012
TB --- 2012-04-28 13:11:21 - cd /src/sys/mips/conf
TB --- 2012-04-28 13:11:21 - /usr/sbin/config -m ADM5120
TB --- 2012-04-28 13:11:21 - skipping ADM5120 kernel
TB --- 2012-04-28 13:11:21 - cd /src/sys/mips/conf
TB --- 2012-04-28 13:11:21 - /usr/sbin/config -m ALCHEMY
TB --- 2012-04-28 13:11:21 - skipping ALCHEMY kernel
TB --- 2012-04-28 13:11:21 - cd /src/sys/mips/conf
TB --- 2012-04-28 13:11:21 - /usr/sbin/config -m AP94
TB --- 2012-04-28 13:11:21 - building AP94 kernel
TB --- 2012-04-28 13:11:21 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 13:11:21 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 13:11:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 13:11:21 - SRCCONF=/dev/null
TB --- 2012-04-28 13:11:21 - TARGET=mips
TB --- 2012-04-28 13:11:21 - TARGET_ARCH=mips
TB --- 2012-04-28 13:11:21 - TZ=UTC
TB --- 2012-04-28 13:11:21 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 13:11:21 - cd /src
TB --- 2012-04-28 13:11:21 - /usr/bin/make -B buildkernel KERNCONF=AP94
>>> Kernel build for AP94 started on Sat Apr 28 13:11:21 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 -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=8000 --param inline-unit-growth=1 
--param large-function-growth=10 --param max-inline-insns-single=1  
-fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x8005 -march=mips32 -msoft-float 
-ffreestanding -Werror  /src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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=8000 --param inline-unit-growth=1 
--param large-function-growth=10 --param max-inline-insns-single=1  
-fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x8005 -march=mips32 -msoft-float 
-ffreestanding -Werror  /src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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=8000 --param inline-unit-growth=1 
--param large-function-growth=10 --param max-inline-insns-single=1  
-fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x8005 -march=mips32 -msoft-float 
-ffreestanding -Werror  /src/sys/dev/ath/ath

[head tinderbox] failure on powerpc/powerpc

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 12:11:05 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 12:11:05 - 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-04-28 12:11:05 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2012-04-28 12:11:05 - cleaning the object tree
TB --- 2012-04-28 12:12:44 - cvsupping the source tree
TB --- 2012-04-28 12:12:44 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2012-04-28 12:13:47 - building world
TB --- 2012-04-28 12:13:47 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 12:13:47 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 12:13:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 12:13:47 - SRCCONF=/dev/null
TB --- 2012-04-28 12:13:47 - TARGET=powerpc
TB --- 2012-04-28 12:13:47 - TARGET_ARCH=powerpc
TB --- 2012-04-28 12:13:47 - TZ=UTC
TB --- 2012-04-28 12:13:47 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 12:13:47 - cd /src
TB --- 2012-04-28 12:13:47 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 12:13:48 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
>>> World build completed on Sat Apr 28 13:24:28 UTC 2012
TB --- 2012-04-28 13:24:28 - generating LINT kernel config
TB --- 2012-04-28 13:24:28 - cd /src/sys/powerpc/conf
TB --- 2012-04-28 13:24:28 - /usr/bin/make -B LINT
TB --- 2012-04-28 13:24:28 - cd /src/sys/powerpc/conf
TB --- 2012-04-28 13:24:28 - /usr/sbin/config -m LINT
TB --- 2012-04-28 13:24:28 - building LINT kernel
TB --- 2012-04-28 13:24:28 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 13:24:28 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 13:24:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 13:24:28 - SRCCONF=/dev/null
TB --- 2012-04-28 13:24:28 - TARGET=powerpc
TB --- 2012-04-28 13:24:28 - TARGET_ARCH=powerpc
TB --- 2012-04-28 13:24:28 - TZ=UTC
TB --- 2012-04-28 13:24:28 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 13:24:28 - cd /src
TB --- 2012-04-28 13:24:28 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 13:24:29 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 -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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 -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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 -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointe

[head tinderbox] failure on sparc64/sparc64

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 12:43:56 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 12:43:56 - 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-04-28 12:43:56 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2012-04-28 12:43:57 - cleaning the object tree
TB --- 2012-04-28 12:43:57 - cvsupping the source tree
TB --- 2012-04-28 12:43:57 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sparc64/supfile
TB --- 2012-04-28 12:45:01 - building world
TB --- 2012-04-28 12:45:01 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 12:45:01 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 12:45:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 12:45:01 - SRCCONF=/dev/null
TB --- 2012-04-28 12:45:01 - TARGET=sparc64
TB --- 2012-04-28 12:45:01 - TARGET_ARCH=sparc64
TB --- 2012-04-28 12:45:01 - TZ=UTC
TB --- 2012-04-28 12:45:01 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 12:45:01 - cd /src
TB --- 2012-04-28 12:45:01 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 12:45:02 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
>>> World build completed on Sat Apr 28 13:47:46 UTC 2012
TB --- 2012-04-28 13:47:46 - generating LINT kernel config
TB --- 2012-04-28 13:47:46 - cd /src/sys/sparc64/conf
TB --- 2012-04-28 13:47:46 - /usr/bin/make -B LINT
TB --- 2012-04-28 13:47:46 - cd /src/sys/sparc64/conf
TB --- 2012-04-28 13:47:46 - /usr/sbin/config -m LINT
TB --- 2012-04-28 13:47:47 - building LINT kernel
TB --- 2012-04-28 13:47:47 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 13:47:47 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 13:47:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 13:47:47 - SRCCONF=/dev/null
TB --- 2012-04-28 13:47:47 - TARGET=sparc64
TB --- 2012-04-28 13:47:47 - TARGET_ARCH=sparc64
TB --- 2012-04-28 13:47:47 - TZ=UTC
TB --- 2012-04-28 13:47:47 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 13:47:47 - cd /src
TB --- 2012-04-28 13:47:47 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 13:47:47 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 -O2 -pipe -fno-strict-aliasing  -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 -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 -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -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 -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -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 -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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-o

[head tinderbox] failure on powerpc64/powerpc

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 12:19:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 12:19:00 - 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-04-28 12:19:00 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2012-04-28 12:19:00 - cleaning the object tree
TB --- 2012-04-28 12:19:00 - cvsupping the source tree
TB --- 2012-04-28 12:19:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc64/powerpc/supfile
TB --- 2012-04-28 12:20:07 - building world
TB --- 2012-04-28 12:20:07 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 12:20:07 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 12:20:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 12:20:07 - SRCCONF=/dev/null
TB --- 2012-04-28 12:20:07 - TARGET=powerpc
TB --- 2012-04-28 12:20:07 - TARGET_ARCH=powerpc64
TB --- 2012-04-28 12:20:07 - TZ=UTC
TB --- 2012-04-28 12:20:07 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 12:20:07 - cd /src
TB --- 2012-04-28 12:20:07 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 12:20:08 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 Sat Apr 28 14:56:28 UTC 2012
TB --- 2012-04-28 14:56:28 - generating LINT kernel config
TB --- 2012-04-28 14:56:28 - cd /src/sys/powerpc/conf
TB --- 2012-04-28 14:56:28 - /usr/bin/make -B LINT
TB --- 2012-04-28 14:56:28 - cd /src/sys/powerpc/conf
TB --- 2012-04-28 14:56:28 - /usr/sbin/config -m LINT
TB --- 2012-04-28 14:56:28 - building LINT kernel
TB --- 2012-04-28 14:56:28 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 14:56:28 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 14:56:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 14:56:28 - SRCCONF=/dev/null
TB --- 2012-04-28 14:56:28 - TARGET=powerpc
TB --- 2012-04-28 14:56:28 - TARGET_ARCH=powerpc64
TB --- 2012-04-28 14:56:28 - TZ=UTC
TB --- 2012-04-28 14:56:28 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 14:56:28 - cd /src
TB --- 2012-04-28 14:56:28 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 14:56:28 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/dev/ath/ath_hal/ar5212/ar5212_reset.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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/ath/ath_hal/ar5212/ar5212_rfgain.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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/ath/ath_hal/ar5212/ar5212_xmit.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O -pipe  -st

[head tinderbox] failure on arm/arm

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 15:00:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 15:00:00 - 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-04-28 15:00:00 - starting HEAD tinderbox run for arm/arm
TB --- 2012-04-28 15:00:00 - cleaning the object tree
TB --- 2012-04-28 15:04:00 - cvsupping the source tree
TB --- 2012-04-28 15:04:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/arm/arm/supfile
TB --- 2012-04-28 15:05:08 - building world
TB --- 2012-04-28 15:05:08 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 15:05:08 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 15:05:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 15:05:08 - SRCCONF=/dev/null
TB --- 2012-04-28 15:05:08 - TARGET=arm
TB --- 2012-04-28 15:05:08 - TARGET_ARCH=arm
TB --- 2012-04-28 15:05:08 - TZ=UTC
TB --- 2012-04-28 15:05:08 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 15:05:08 - cd /src
TB --- 2012-04-28 15:05:08 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 15:05:09 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
>>> World build completed on Sat Apr 28 16:05:40 UTC 2012
TB --- 2012-04-28 16:05:40 - cd /src/sys/arm/conf
TB --- 2012-04-28 16:05:40 - /usr/sbin/config -m AVILA
TB --- 2012-04-28 16:05:40 - building AVILA kernel
TB --- 2012-04-28 16:05:40 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 16:05:40 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 16:05:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 16:05:40 - SRCCONF=/dev/null
TB --- 2012-04-28 16:05:40 - TARGET=arm
TB --- 2012-04-28 16:05:40 - TARGET_ARCH=arm
TB --- 2012-04-28 16:05:40 - TZ=UTC
TB --- 2012-04-28 16:05:40 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 16:05:40 - cd /src
TB --- 2012-04-28 16:05:40 - /usr/bin/make -B buildkernel KERNCONF=AVILA
>>> Kernel build for AVILA started on Sat Apr 28 16:05:40 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 -mbig-endian -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=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -mbig-endian -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=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -mbig-endian -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=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -mbig-endian -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=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror  
/src/

Re: New Xorg: graphics/dri: fails to compile with CLANG: nouveau_array.c:49:16: error: illegal storage class on function, *extract_u = EXTRACT(char, unsigned, 1);

2012-04-28 Thread Dimitry Andric
On 2012-04-28 13:12, Volodymyr Kostyrko wrote:
> O. Hartmann wrote:
>> Is there in "official" way to get this fixed with CLANG? I see that
>> files folder in graphics/dri is missing, so none of the  fixes for both
>> the faulty source files
> 
> I think the patch should go to graphics/libGL.
> 
> cd /usr/ports/graphics/libGL/files
> fetch -rao - 
> 'http://cgit.freedesktop.org/mesa/mesa/patch/?id=4aa1ac5fe94b5696095229ee3568bf4fa7cfed95'
>  
> | sed -e 's|^--- a/src|--- src|' -e 's|^+++ b/src|+++ src|' > patch-nouveau
> 
> Should do.

Please try this patch (lightly tested):

http://www.andric.com/freebsd/clang/clangports-graphics-libGL-3.diff
___
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: [RFC] Un-staticise the toolchain

2012-04-28 Thread Tim Kientzle
On Apr 28, 2012, at 3:03 AM, Bob Bishop wrote:
> 
> On 28 Apr 2012, at 04:12, David O'Brien wrote:
> 
>> On Thu, Apr 26, 2012 at 12:38:03PM +0100, Bob Bishop wrote:
 Apparently, current dependencies are much more spread, e.g. /bin/sh
 is dynamically linked [etc]
>>> 
>>> That seems like a bad mistake, because it would prevent even booting
>>> single-user if rtld/libraries are broken.
>> 
>> When one enters single user they are prompted for which shell to use.
>> If /bin/sh is broken due to being dynamic, '/rescue/sh' will likely still
>> work.
> 
> Yes. You to have a statically linked /rescue/sh on board, so what's the point 
> of /bin/sh being dynamic? The memory footprint really isn't an issue, and for 
> my money the default shell ought to be bombproof.

By "default shell", I think you mean "the shell loaded by default
in single user mode".  That shell could be /rescue/sh.

Single-user recovery does not require /bin/sh being static.

Tim

___
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: updating from r231158 to 234465: mounting from ufs:/dev/ad4s1a failed with error 19

2012-04-28 Thread Anton Shterenlikht
On Fri, Apr 27, 2012 at 07:51:11AM -0400, John Baldwin wrote:
> On Thursday, April 26, 2012 6:42:15 pm Anton Shterenlikht wrote:
> > I was updating from r231158 to 234465
> > (amd64 laptop Compaq 6715s),
> > and I think I must've messed someting
> > up in the kernel config. Now I get
> > build error, panic of a loader error,
> > depending on which kernel I build.
> > 
> > *
> > 
> > If I build GENERIC, I get:
> > 
> > (transcribed by hand)
> > 
> > mountroot: waiting for device /dev/ad4s1a
> > Mounting from ufs:/dev/ad4s1a failed with error 19.
> > 
> > mountroot> ?
> > 
> >  List of GEOM managed disk devices:
> > 
> >   cd0
> > 
> > mountroot>
> 
> Hmm, so GENERIC is not finding ad4.  Can you look in the dmesg
> (using scroll-lock) to see if GENERIC finds your ATA controller
> ok?

I see only one line:

ata0:  at channel 0 on atapci0

ata does not appear anywhere else.

> 
> > The device is certainly correct in r231158:
> > 
> > BUZI> df
> > Filesystem  512-blocks UsedAvail Capacity  Mounted on
> > /dev/ad4s1a  101554068 46474368 4695537650%/
> > devfs220   100%/dev
> > BUZI> 
> > 
> > *
> > 
> > If I add
> > 
> >  device atadisk
> > 
> > to GENERIC, then I get this linking error:
> 
> Yes, you aren't supposed to use 'atadisk' with ATA_CAM.  See the UPDATING 
> entry 20110424 for more details on that.
> 
> However, can you obtain a verbose dmesg from your old kernel?

Amazingly (for me) I can't!

Twice I got a panic. The third time,
and thereafter, I get the same error as with GENERIC:

 Mounting from ufs:/dev/ad4s1a failed with error 19.

I also see:

ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0exb
ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=00 stat1=00 devices=0x1

Thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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"


[head tinderbox] failure on i386/pc98

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 15:00:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 15:00:00 - 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-04-28 15:00:00 - starting HEAD tinderbox run for i386/pc98
TB --- 2012-04-28 15:00:00 - cleaning the object tree
TB --- 2012-04-28 15:06:09 - cvsupping the source tree
TB --- 2012-04-28 15:06:09 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/pc98/supfile
TB --- 2012-04-28 15:08:32 - building world
TB --- 2012-04-28 15:08:32 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 15:08:32 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 15:08:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 15:08:32 - SRCCONF=/dev/null
TB --- 2012-04-28 15:08:32 - TARGET=pc98
TB --- 2012-04-28 15:08:32 - TARGET_ARCH=i386
TB --- 2012-04-28 15:08:32 - TZ=UTC
TB --- 2012-04-28 15:08:32 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 15:08:32 - cd /src
TB --- 2012-04-28 15:08:32 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 15:08:34 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
>>> World build completed on Sat Apr 28 17:36:50 UTC 2012
TB --- 2012-04-28 17:36:50 - generating LINT kernel config
TB --- 2012-04-28 17:36:50 - cd /src/sys/pc98/conf
TB --- 2012-04-28 17:36:50 - /usr/bin/make -B LINT
TB --- 2012-04-28 17:36:50 - cd /src/sys/pc98/conf
TB --- 2012-04-28 17:36:50 - /usr/sbin/config -m LINT
TB --- 2012-04-28 17:36:50 - building LINT kernel
TB --- 2012-04-28 17:36:50 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 17:36:50 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 17:36:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 17:36:50 - SRCCONF=/dev/null
TB --- 2012-04-28 17:36:50 - TARGET=pc98
TB --- 2012-04-28 17:36:50 - TARGET_ARCH=i386
TB --- 2012-04-28 17:36:50 - TZ=UTC
TB --- 2012-04-28 17:36:50 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 17:36:50 - cd /src
TB --- 2012-04-28 17:36:50 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 17:36:51 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 -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/d

[head tinderbox] failure on i386/i386

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 15:00:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 15:00:00 - 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-04-28 15:00:00 - starting HEAD tinderbox run for i386/i386
TB --- 2012-04-28 15:00:00 - cleaning the object tree
TB --- 2012-04-28 15:06:39 - cvsupping the source tree
TB --- 2012-04-28 15:06:39 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/i386/supfile
TB --- 2012-04-28 15:08:49 - building world
TB --- 2012-04-28 15:08:49 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 15:08:49 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 15:08:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 15:08:49 - SRCCONF=/dev/null
TB --- 2012-04-28 15:08:49 - TARGET=i386
TB --- 2012-04-28 15:08:49 - TARGET_ARCH=i386
TB --- 2012-04-28 15:08:49 - TZ=UTC
TB --- 2012-04-28 15:08:49 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 15:08:49 - cd /src
TB --- 2012-04-28 15:08:49 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 15:08:51 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
>>> World build completed on Sat Apr 28 17:37:31 UTC 2012
TB --- 2012-04-28 17:37:31 - generating LINT kernel config
TB --- 2012-04-28 17:37:31 - cd /src/sys/i386/conf
TB --- 2012-04-28 17:37:31 - /usr/bin/make -B LINT
TB --- 2012-04-28 17:37:31 - cd /src/sys/i386/conf
TB --- 2012-04-28 17:37:31 - /usr/sbin/config -m LINT
TB --- 2012-04-28 17:37:31 - building LINT kernel
TB --- 2012-04-28 17:37:31 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 17:37:31 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 17:37:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 17:37:31 - SRCCONF=/dev/null
TB --- 2012-04-28 17:37:31 - TARGET=i386
TB --- 2012-04-28 17:37:31 - TARGET_ARCH=i386
TB --- 2012-04-28 17:37:31 - TZ=UTC
TB --- 2012-04-28 17:37:31 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 17:37:31 - cd /src
TB --- 2012-04-28 17:37:31 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 17:37:31 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 -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 
-DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 
-mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror -pg 
-mprofiler-epilogue /src/sys/d

[head tinderbox] failure on ia64/ia64

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 16:06:28 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 16:06:28 - 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-04-28 16:06:28 - starting HEAD tinderbox run for ia64/ia64
TB --- 2012-04-28 16:06:29 - cleaning the object tree
TB --- 2012-04-28 16:07:19 - cvsupping the source tree
TB --- 2012-04-28 16:07:19 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/ia64/ia64/supfile
TB --- 2012-04-28 16:07:44 - building world
TB --- 2012-04-28 16:07:44 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 16:07:44 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 16:07:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 16:07:44 - SRCCONF=/dev/null
TB --- 2012-04-28 16:07:44 - TARGET=ia64
TB --- 2012-04-28 16:07:44 - TARGET_ARCH=ia64
TB --- 2012-04-28 16:07:44 - TZ=UTC
TB --- 2012-04-28 16:07:44 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 16:07:44 - cd /src
TB --- 2012-04-28 16:07:44 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 16:07:45 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
>>> World build completed on Sat Apr 28 17:46:28 UTC 2012
TB --- 2012-04-28 17:46:28 - generating LINT kernel config
TB --- 2012-04-28 17:46:28 - cd /src/sys/ia64/conf
TB --- 2012-04-28 17:46:28 - /usr/bin/make -B LINT
TB --- 2012-04-28 17:46:28 - cd /src/sys/ia64/conf
TB --- 2012-04-28 17:46:28 - /usr/sbin/config -m LINT
TB --- 2012-04-28 17:46:28 - building LINT kernel
TB --- 2012-04-28 17:46:28 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 17:46:28 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 17:46:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 17:46:28 - SRCCONF=/dev/null
TB --- 2012-04-28 17:46:28 - TARGET=ia64
TB --- 2012-04-28 17:46:28 - TARGET_ARCH=ia64
TB --- 2012-04-28 17:46:28 - TZ=UTC
TB --- 2012-04-28 17:46:28 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 17:46:28 - cd /src
TB --- 2012-04-28 17:46:28 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 17:46:29 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 -O2 -pipe -fno-strict-aliasing  -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/ia64/libuwx/src -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 -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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/ia64/libuwx/src -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 -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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/ia64/libuwx/src -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 -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -W

Re: Using TMPFS for /tmp and /var/run?

2012-04-28 Thread Luke Dean



On Fri, 30 Mar 2012, Chris Rees wrote:


On 30 Mar 2012 14:26,  wrote:



However, if you always want to use tmpfs instead of stable storage,

please do not.  Some people expect /tmp to be persistent.  This is why
/etc/defaults/rc.conf has clear_tmp_enable="NO".  Changing this would

break

the POLA.



This is a mistake.

The default should be clear_tmp_enable="YES"
if only to uncover those broken configurations that expect /tmp to be
persistent.


If you want to break POLA and make a lot of people angry, sure.
Otherwise no.



I would very much like an example of where /tmp is expected to persist.

Chris


Yes, I'm a month behind on my mailing list reading and this conversation 
is probably over, but I do have a personal example.


In my periodic.conf, I have:
daily_clean_tmps_enable="YES"
daily_clean_tmps_days="30"

I tend to have many distractions and work on many projects at the same
time.  I don't always know when I'm finished.  Sometimes I just lose
interest.  I often don't remember to clean up after myself.

These settings in periodic.conf allow me to set up temporary workspaces in 
/tmp.  If I keep working on a project, my files remain.  If I forget about 
it for a month, periodic will clean up my mess.


If someday the default behavior were changed to make /tmp a memory-mounted 
filesystem or to clean it out on every reboot, I think I could set 
daily_clean_tmps_dirs to another directory and move my sandbox someplace 
else.  I would very much appreciate some warning, but this would not be a 
problem for me.

___
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: Using TMPFS for /tmp and /var/run?

2012-04-28 Thread Chris Rees
On 28 Apr 2012 19:04, "Luke Dean"  wrote:
>
>
>
> On Fri, 30 Mar 2012, Chris Rees wrote:
>
>> On 30 Mar 2012 14:26,  wrote:
>>>
>>>
> However, if you always want to use tmpfs instead of stable storage,

 please do not.  Some people expect /tmp to be persistent.  This is why
 /etc/defaults/rc.conf has clear_tmp_enable="NO".  Changing this would
>>
>> break

 the POLA.
>
>
 This is a mistake.

 The default should be clear_tmp_enable="YES"
 if only to uncover those broken configurations that expect /tmp to be
 persistent.
>>>
>>>
>>> If you want to break POLA and make a lot of people angry, sure.
>>> Otherwise no.
>>>
>>
>> I would very much like an example of where /tmp is expected to persist.
>>
>> Chris
>
>
> Yes, I'm a month behind on my mailing list reading and this conversation
is probably over, but I do have a personal example.
>
> In my periodic.conf, I have:
> daily_clean_tmps_enable="YES"
> daily_clean_tmps_days="30"
>
> I tend to have many distractions and work on many projects at the same
> time.  I don't always know when I'm finished.  Sometimes I just lose
> interest.  I often don't remember to clean up after myself.
>
> These settings in periodic.conf allow me to set up temporary workspaces
in /tmp.  If I keep working on a project, my files remain.  If I forget
about it for a month, periodic will clean up my mess.
>
> If someday the default behavior were changed to make /tmp a
memory-mounted filesystem or to clean it out on every reboot, I think I
could set daily_clean_tmps_dirs to another directory and move my sandbox
someplace else.  I would very much appreciate some warning, but this would
not be a problem for me.

You should use /var/tmp for that, or another custom directory if you want
your files safe.

Chris
___
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"


[head tinderbox] failure on amd64/amd64

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 15:00:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 15:00:00 - 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-04-28 15:00:00 - starting HEAD tinderbox run for amd64/amd64
TB --- 2012-04-28 15:00:00 - cleaning the object tree
TB --- 2012-04-28 15:09:18 - cvsupping the source tree
TB --- 2012-04-28 15:09:18 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/amd64/amd64/supfile
TB --- 2012-04-28 15:09:58 - building world
TB --- 2012-04-28 15:09:58 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 15:09:58 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 15:09:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 15:09:58 - SRCCONF=/dev/null
TB --- 2012-04-28 15:09:58 - TARGET=amd64
TB --- 2012-04-28 15:09:58 - TARGET_ARCH=amd64
TB --- 2012-04-28 15:09:58 - TZ=UTC
TB --- 2012-04-28 15:09:58 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 15:09:58 - cd /src
TB --- 2012-04-28 15:09:58 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 15:09:59 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 Sat Apr 28 18:11:49 UTC 2012
TB --- 2012-04-28 18:11:49 - generating LINT kernel config
TB --- 2012-04-28 18:11:49 - cd /src/sys/amd64/conf
TB --- 2012-04-28 18:11:49 - /usr/bin/make -B LINT
TB --- 2012-04-28 18:11:49 - cd /src/sys/amd64/conf
TB --- 2012-04-28 18:11:49 - /usr/sbin/config -m LINT
TB --- 2012-04-28 18:11:50 - building LINT kernel
TB --- 2012-04-28 18:11:50 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 18:11:50 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 18:11:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 18:11:50 - SRCCONF=/dev/null
TB --- 2012-04-28 18:11:50 - TARGET=amd64
TB --- 2012-04-28 18:11:50 - TARGET_ARCH=amd64
TB --- 2012-04-28 18:11:50 - TZ=UTC
TB --- 2012-04-28 18:11:50 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 18:11:50 - cd /src
TB --- 2012-04-28 18:11:50 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 18:11:50 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 -O2 -frename-registers -pipe -fno-strict-aliasing  -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 -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
-fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx 
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -Werror -pg -mprofiler-epilogue 
/src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -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 -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
-fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx 
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -Werror -pg -mprofiler-epilogue 
/src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -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 -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF

Re: : jemalloc_arena.c:182: Failed assertion: "p[i] == 0"

2012-04-28 Thread Jason Evans
On Apr 28, 2012, at 5:09 AM, Aleksandr Rybalko wrote:
>>> On Apr 21, 2012, at 11:54 AM, David Wolfskill wrote:
 
 But contrib/jemalloc/src/arena.c contains a function,
 arena_chunk_validate_zeroed():
 
   175 static inline void
   176 arena_chunk_validate_zeroed(arena_chunk_t *chunk, size_t
 run_ind) 177 {
   178 size_t i;
   179 UNUSED size_t *p = (size_t *)((uintptr_t)chunk +
 (run_ind << LG_PAGE)); 180
   181 for (i = 0; i < PAGE / sizeof(size_t); i++)
   182 assert(p[i] == 0);
   183 }
> 
> maybe it somehow related to low count of free memory, because I see
> that very frequently on my box. (Atheros AR7242 mips32be with 32M of
> RAM)
> 
> After "#ifdef" of that function body, box behave good (seems) :)

Yes, arena_chunk_validate_zeroed() (which is debug-only code) has the side 
effect of faulting in untouched pages, so it potentially increases physical 
memory usage.  In practice, this sanity checking has saved jemalloc from 
regressions that would otherwise manifest as mysterious application memory 
corruption (and would have prevented even more regressions, had it existed 
earlier).  You can disable it and many other performance-sacrificing debug 
features by defining MALLOC_PRODUCTION in /etc/make.conf.

Jason___
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"


[head tinderbox] failure on mips/mips

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 17:44:18 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 17:44:18 - 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-04-28 17:44:18 - starting HEAD tinderbox run for mips/mips
TB --- 2012-04-28 17:44:18 - cleaning the object tree
TB --- 2012-04-28 17:45:24 - cvsupping the source tree
TB --- 2012-04-28 17:45:24 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/mips/mips/supfile
TB --- 2012-04-28 17:46:10 - building world
TB --- 2012-04-28 17:46:10 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 17:46:10 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 17:46:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 17:46:10 - SRCCONF=/dev/null
TB --- 2012-04-28 17:46:10 - TARGET=mips
TB --- 2012-04-28 17:46:10 - TARGET_ARCH=mips
TB --- 2012-04-28 17:46:10 - TZ=UTC
TB --- 2012-04-28 17:46:10 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 17:46:10 - cd /src
TB --- 2012-04-28 17:46:10 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 17:46:11 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
>>> World build completed on Sat Apr 28 18:49:06 UTC 2012
TB --- 2012-04-28 18:49:06 - cd /src/sys/mips/conf
TB --- 2012-04-28 18:49:06 - /usr/sbin/config -m ADM5120
TB --- 2012-04-28 18:49:06 - skipping ADM5120 kernel
TB --- 2012-04-28 18:49:06 - cd /src/sys/mips/conf
TB --- 2012-04-28 18:49:06 - /usr/sbin/config -m ALCHEMY
TB --- 2012-04-28 18:49:06 - skipping ALCHEMY kernel
TB --- 2012-04-28 18:49:06 - cd /src/sys/mips/conf
TB --- 2012-04-28 18:49:06 - /usr/sbin/config -m AP94
TB --- 2012-04-28 18:49:06 - building AP94 kernel
TB --- 2012-04-28 18:49:06 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 18:49:06 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 18:49:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 18:49:06 - SRCCONF=/dev/null
TB --- 2012-04-28 18:49:06 - TARGET=mips
TB --- 2012-04-28 18:49:06 - TARGET_ARCH=mips
TB --- 2012-04-28 18:49:06 - TZ=UTC
TB --- 2012-04-28 18:49:06 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 18:49:06 - cd /src
TB --- 2012-04-28 18:49:06 - /usr/bin/make -B buildkernel KERNCONF=AP94
>>> Kernel build for AP94 started on Sat Apr 28 18:49:06 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 -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=8000 --param inline-unit-growth=1 
--param large-function-growth=10 --param max-inline-insns-single=1  
-fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x8005 -march=mips32 -msoft-float 
-ffreestanding -Werror  /src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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=8000 --param inline-unit-growth=1 
--param large-function-growth=10 --param max-inline-insns-single=1  
-fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x8005 -march=mips32 -msoft-float 
-ffreestanding -Werror  /src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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=8000 --param inline-unit-growth=1 
--param large-function-growth=10 --param max-inline-insns-single=1  
-fno-pic -mno-abicalls -G0 -DKERNLOADADDR=0x8005 -march=mips32 -msoft-float 
-ffreestanding -Werror  /src/sys/dev/ath/ath

[head tinderbox] failure on powerpc/powerpc

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 17:46:10 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 17:46:10 - 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-04-28 17:46:10 - starting HEAD tinderbox run for powerpc/powerpc
TB --- 2012-04-28 17:46:10 - cleaning the object tree
TB --- 2012-04-28 17:48:41 - cvsupping the source tree
TB --- 2012-04-28 17:48:41 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc/powerpc/supfile
TB --- 2012-04-28 17:49:52 - building world
TB --- 2012-04-28 17:49:52 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 17:49:52 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 17:49:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 17:49:52 - SRCCONF=/dev/null
TB --- 2012-04-28 17:49:52 - TARGET=powerpc
TB --- 2012-04-28 17:49:52 - TARGET_ARCH=powerpc
TB --- 2012-04-28 17:49:52 - TZ=UTC
TB --- 2012-04-28 17:49:52 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 17:49:52 - cd /src
TB --- 2012-04-28 17:49:52 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 17:49:52 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
>>> World build completed on Sat Apr 28 19:00:26 UTC 2012
TB --- 2012-04-28 19:00:26 - generating LINT kernel config
TB --- 2012-04-28 19:00:26 - cd /src/sys/powerpc/conf
TB --- 2012-04-28 19:00:26 - /usr/bin/make -B LINT
TB --- 2012-04-28 19:00:26 - cd /src/sys/powerpc/conf
TB --- 2012-04-28 19:00:26 - /usr/sbin/config -m LINT
TB --- 2012-04-28 19:00:27 - building LINT kernel
TB --- 2012-04-28 19:00:27 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 19:00:27 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 19:00:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 19:00:27 - SRCCONF=/dev/null
TB --- 2012-04-28 19:00:27 - TARGET=powerpc
TB --- 2012-04-28 19:00:27 - TARGET_ARCH=powerpc
TB --- 2012-04-28 19:00:27 - TZ=UTC
TB --- 2012-04-28 19:00:27 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 19:00:27 - cd /src
TB --- 2012-04-28 19:00:27 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 19:00:27 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 -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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 -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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 -ffreestanding 
-fstack-protector -Werror  /src/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointe

[head tinderbox] failure on sparc64/sparc64

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 18:19:00 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 18:19:00 - 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-04-28 18:19:00 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2012-04-28 18:19:00 - cleaning the object tree
TB --- 2012-04-28 18:20:41 - cvsupping the source tree
TB --- 2012-04-28 18:20:41 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sparc64/supfile
TB --- 2012-04-28 18:21:57 - building world
TB --- 2012-04-28 18:21:57 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 18:21:57 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 18:21:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 18:21:57 - SRCCONF=/dev/null
TB --- 2012-04-28 18:21:57 - TARGET=sparc64
TB --- 2012-04-28 18:21:57 - TARGET_ARCH=sparc64
TB --- 2012-04-28 18:21:57 - TZ=UTC
TB --- 2012-04-28 18:21:57 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 18:21:57 - cd /src
TB --- 2012-04-28 18:21:57 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 18:21:58 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
>>> World build completed on Sat Apr 28 19:25:45 UTC 2012
TB --- 2012-04-28 19:25:45 - generating LINT kernel config
TB --- 2012-04-28 19:25:45 - cd /src/sys/sparc64/conf
TB --- 2012-04-28 19:25:45 - /usr/bin/make -B LINT
TB --- 2012-04-28 19:25:45 - cd /src/sys/sparc64/conf
TB --- 2012-04-28 19:25:45 - /usr/sbin/config -m LINT
TB --- 2012-04-28 19:25:45 - building LINT kernel
TB --- 2012-04-28 19:25:45 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 19:25:45 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 19:25:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 19:25:45 - SRCCONF=/dev/null
TB --- 2012-04-28 19:25:45 - TARGET=sparc64
TB --- 2012-04-28 19:25:45 - TARGET_ARCH=sparc64
TB --- 2012-04-28 19:25:45 - TZ=UTC
TB --- 2012-04-28 19:25:45 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 19:25:45 - cd /src
TB --- 2012-04-28 19:25:45 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 19:25:45 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 -O2 -pipe -fno-strict-aliasing  -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 -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 -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_reset.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -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 -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_rfgain.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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 -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 -mcmodel=medany -msoft-float 
-ffreestanding -fstack-protector -Werror  
/src/sys/dev/ath/ath_hal/ar5212/ar5212_xmit.c -I/src/sys/dev/ath 
-I/src/sys/dev/ath/ath_hal
cc -c -O2 -pipe -fno-strict-aliasing  -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-o

Re: : jemalloc_arena.c:182: Failed assertion: "p[i] == 0"

2012-04-28 Thread Aleksandr Rybalko
On Sat, 28 Apr 2012 11:29:01 -0700
Jason Evans  wrote:

> On Apr 28, 2012, at 5:09 AM, Aleksandr Rybalko wrote:
> >>> On Apr 21, 2012, at 11:54 AM, David Wolfskill wrote:
>  
>  But contrib/jemalloc/src/arena.c contains a function,
>  arena_chunk_validate_zeroed():
>  
>    175 static inline void
>    176 arena_chunk_validate_zeroed(arena_chunk_t *chunk, size_t
>  run_ind) 177 {
>    178 size_t i;
>    179 UNUSED size_t *p = (size_t *)((uintptr_t)chunk +
>  (run_ind << LG_PAGE)); 180
>    181 for (i = 0; i < PAGE / sizeof(size_t); i++)
>    182 assert(p[i] == 0);
>    183 }
> > 
> > maybe it somehow related to low count of free memory, because I see
> > that very frequently on my box. (Atheros AR7242 mips32be with 32M of
> > RAM)
> > 
> > After "#ifdef" of that function body, box behave good (seems) :)
> 
> Yes, arena_chunk_validate_zeroed() (which is debug-only code) has the
> side effect of faulting in untouched pages, so it potentially
> increases physical memory usage.  In practice, this sanity checking
> has saved jemalloc from regressions that would otherwise manifest as
> mysterious application memory corruption (and would have prevented
> even more regressions, had it existed earlier).  You can disable it
> and many other performance-sacrificing debug features by defining
> MALLOC_PRODUCTION in /etc/make.conf.

Yeah, found it. Thank you.

It is possible to hide such debug code under debug macro, so embedded
guys will be more happy about sizes? :) 

Thank you for that big job!

> 
> Jason___
> 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"


-- 
Aleksandr Rybalko 
___
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"


[head tinderbox] failure on powerpc64/powerpc

2012-04-28 Thread FreeBSD Tinderbox
TB --- 2012-04-28 17:54:06 - tinderbox 2.9 running on freebsd-current.sentex.ca
TB --- 2012-04-28 17:54:06 - 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-04-28 17:54:06 - starting HEAD tinderbox run for powerpc64/powerpc
TB --- 2012-04-28 17:54:06 - cleaning the object tree
TB --- 2012-04-28 17:55:36 - cvsupping the source tree
TB --- 2012-04-28 17:55:36 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/powerpc64/powerpc/supfile
TB --- 2012-04-28 17:56:09 - building world
TB --- 2012-04-28 17:56:09 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 17:56:09 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 17:56:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 17:56:09 - SRCCONF=/dev/null
TB --- 2012-04-28 17:56:09 - TARGET=powerpc
TB --- 2012-04-28 17:56:09 - TARGET_ARCH=powerpc64
TB --- 2012-04-28 17:56:09 - TZ=UTC
TB --- 2012-04-28 17:56:09 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 17:56:09 - cd /src
TB --- 2012-04-28 17:56:09 - /usr/bin/make -B buildworld
>>> World build started on Sat Apr 28 17:56:10 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 Sat Apr 28 20:33:12 UTC 2012
TB --- 2012-04-28 20:33:12 - generating LINT kernel config
TB --- 2012-04-28 20:33:12 - cd /src/sys/powerpc/conf
TB --- 2012-04-28 20:33:12 - /usr/bin/make -B LINT
TB --- 2012-04-28 20:33:13 - cd /src/sys/powerpc/conf
TB --- 2012-04-28 20:33:13 - /usr/sbin/config -m LINT
TB --- 2012-04-28 20:33:13 - building LINT kernel
TB --- 2012-04-28 20:33:13 - CROSS_BUILD_TESTING=YES
TB --- 2012-04-28 20:33:13 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-04-28 20:33:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-04-28 20:33:13 - SRCCONF=/dev/null
TB --- 2012-04-28 20:33:13 - TARGET=powerpc
TB --- 2012-04-28 20:33:13 - TARGET_ARCH=powerpc64
TB --- 2012-04-28 20:33:13 - TZ=UTC
TB --- 2012-04-28 20:33:13 - __MAKE_CONF=/dev/null
TB --- 2012-04-28 20:33:13 - cd /src
TB --- 2012-04-28 20:33:13 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sat Apr 28 20:33:13 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/dev/ath/ath_hal/ar5212/ar5212_reset.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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/ath/ath_hal/ar5212/ar5212_rfgain.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
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/ath/ath_hal/ar5212/ar5212_xmit.c 
-I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal
cc -c -O -pipe  -st

Re: compiling world fails with 9.0 and 10.0 from today (28.04)

2012-04-28 Thread Erich Dollansky
Hi,

I just came back to the machine and the world and the kernel of 9.0 was 
compiled without problems on a 8.3 machine.

I assume the failure is caused by the default configuration of the 9.0 machine.

I will investigate this now.

Erich

On Saturday 28 April 2012 08:59:15 David Wolfskill wrote:
> On Sat, Apr 28, 2012 at 08:50:47AM +0700, Erich Dollansky wrote:
> > ...
> > I use the following commands to do the compilation:
> > 
> > cd /usr/src
> > /usr/bin/nice -n 20 make buildworld
> 
> OK.  That should build the userland OK.
> 
> > > Have you reviewed /usr/src/UPDATING?  Near the end of that file, there
> > > is a list of commands to use to build from sources.  Scan for "COMMON
> > > ITEMS".
> > > 
> > Do you mean this one?
> > 
> > make kernel-toolchain
> > make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
> > make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
> > 
> > Isn't this the next step after building the world?
> 
> No; I was referring to the part with the sub-heading
> 
> To rebuild everything and install it on the current system.
> 
> or
> 
> To upgrade in-place from 8.x-stable to current
> 
> depending on whether you're tring to update release/9.0 to stable/9 or
> release/9.0 to head (for example).
> 
> > ...
> > I am currently downloading the 9.0 sources into an empty source tree on a 
> > 8.3 machine to see what happens there.
> 
> Note that this is also an upgrade.
> 
> Peace,
> david
> -- 
> David H. Wolfskillda...@catwhisker.org
> Depriving a girl or boy of an opportunity for education is evil.
> 
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.
> 
___
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"