Re: [head tinderbox] failure on i386/i386

2014-06-28 Thread Cy Schubert
In message 201406280518.s5s5ia5q086...@freebsd-current.sentex.ca, FreeBSD 
Tin
derbox writes:
 TB --- 2014-06-28 04:10:47 - tinderbox 2.22 running on freebsd-current.sentex
 .ca
 TB --- 2014-06-28 04:10:47 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE Fre
 eBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 des@freebsd-curr
 ent.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
 TB --- 2014-06-28 04:10:47 - starting HEAD tinderbox run for i386/i386
 TB --- 2014-06-28 04:10:47 - cleaning the object tree
 TB --- 2014-06-28 04:11:57 - /usr/local/bin/svn stat --no-ignore /src
 TB --- 2014-06-28 04:12:02 - At svn revision 267993
 TB --- 2014-06-28 04:12:03 - building world
 TB --- 2014-06-28 04:12:03 - CROSS_BUILD_TESTING=YES
 TB --- 2014-06-28 04:12:03 - MAKEOBJDIRPREFIX=/obj
 TB --- 2014-06-28 04:12:03 - MAKESYSPATH=/src/share/mk
 TB --- 2014-06-28 04:12:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2014-06-28 04:12:03 - SRCCONF=/dev/null
 TB --- 2014-06-28 04:12:03 - TARGET=i386
 TB --- 2014-06-28 04:12:03 - TARGET_ARCH=i386
 TB --- 2014-06-28 04:12:03 - TZ=UTC
 TB --- 2014-06-28 04:12:03 - __MAKE_CONF=/dev/null
 TB --- 2014-06-28 04:12:03 - cd /src
 TB --- 2014-06-28 04:12:03 - /usr/bin/make -B buildworld
  Building an up-to-date bmake(1)
  World build started on Sat Jun 28 04:12:10 UTC 2014
  Rebuilding the temporary build tree
  stage 1.1: legacy release compatibility shims
  stage 1.2: bootstrap tools
  stage 2.1: cleaning up the object tree
  stage 2.2: rebuilding the object tree
  stage 2.3: build tools
  stage 3: cross tools
 [...]
 === lib/clang/libllvmmipsinfo (all)
 c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/include
  -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/tools/clang/include -
 I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips/TargetI
 nfo -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/lib/Target/Mips -I
 . -I/src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/../../lib/clang/incl
 ude -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_
 MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freeb
 sd11.0\ -DLLVM_HOST_TRIPLE=\x86_64-unknown-freebsd11.0\ -DDEFAULT_SYSROOT=
 \/obj/i386.i386/src/tmp\ -I/obj/i386.i386/src/tmp/legacy/usr/include -fno-e
 xceptions -fno-rtti  -c /src/lib/clang/libllvmmipsinfo/../../../contrib/llvm/
 lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp -o MipsTargetInfo.o
 building static llvmmipsinfo library
 ranlib -D libllvmmipsinfo.a
 === lib/clang/libllvmmipsinstprinter (all)
 c++  -O2 -pipe -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/
 include -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/tools/c
 lang/include -I/src/lib/clang/libllvmmipsinstprinter/../../../contrib/llvm/li
 b/Target/Mips/InstPrinter -I/src/lib/clang/libllvmmipsinstprinter/../../../co
 ntrib/llvm/lib/Target/Mips -I. -I/src/lib/clang/libllvmmipsinstprinter/../../
 ../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__
 STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAUL
 T_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ -DLLVM_HOST_TRIPLE=\x86_64-unkn
 own-freebsd11.0\ -DDEFAULT_SYSROOT=\/obj/i386.i386/src/tmp\ -I/obj/i386.i3
 86/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c /src/lib/clang/li
 bllvmmipsinstprinter/../../../contrib/llvm/lib/Target/Mips/InstPrinter/MipsIn
 stPrinter.cpp -o MipsInstPrinter.o
 building static llvmmipsinstprinter library
 ranlib -D libllvmmipsinstprinter.a
 === lib/clang/libllvmpowerpcasmparser (all)
 c++  -O2 -pipe -I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm
 /include -I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm/tools
 /clang/include -I/src/lib/clang/libllvmpowerpcasmparser/../../../contrib/llvm
 /lib/Target/PowerPC/AsmParser -I/src/lib/clang/libllvmpowerpcasmparser/../../
 ../contrib/llvm/lib/Target/PowerPC -I. -I/src/lib/clang/libllvmpowerpcasmpars
 er/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FRE
 EBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLL
 VM_DEFAULT_TARGET_TRIPLE=\i386-unknown-freebsd11.0\ -DLLVM_HOST_TRIPLE=\x8
 6_64-unknown-freebsd11.0\ -DDEFAULT_SYSROOT=\/obj/i386.i386/src/tmp\ -I/ob
 j/i386.i386/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti  -c /src/lib
 /clang/libllvmpowerpcasmparser/../../../contrib/llvm/lib/Target/PowerPC/AsmPa
 rser/PPCAsmParser.cpp -o PPCAsmParser.o
 building static llvmpowerpcasmparser library
 ranlib -D libllvmpowerpcasmparser.a
 === lib/clang/libllvmpowerpccodegen (all)
 c++  -O2 -pipe -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/i
 nclude -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/tools/cla
 ng/include -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/T
 arget/PowerPC -I. -I/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llv
 m/../../lib/clang/include -DLLVM_ON_UNIX 

Re: [head tinderbox] failure on i386/i386

2014-03-31 Thread Warner Losh

On Mar 31, 2014, at 1:08 PM, FreeBSD Tinderbox tinder...@freebsd.org wrote:
 [...]
 ^
 /src/sys/contrib/dev/acpica/include/acoutput.h:310:69: note: expanded from 
 macro 'ACPI_DO_DEBUG_PRINT'
Function (Level, Line, Filename, Modulename, Component, 
 __VA_ARGS__); \
^
 /src/sys/contrib/dev/acpica/include/acoutput.h:294:44: note: expanded from 
 macro 'ACPI_DO_WHILE0'
 #define ACPI_DO_WHILE0(a)   do a while(0)
   ^

I think this one is mine. Will have a fix shortly.

Warner


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2013-12-24 Thread John Baldwin
On Monday, December 23, 2013 6:21:30 pm FreeBSD Tinderbox wrote:
 TB --- 2013-12-23 19:50:20 - tinderbox 2.20 running on freebsd-
current.sentex.ca
 TB --- 2013-12-23 19:50:20 - FreeBSD freebsd-current.sentex.ca 8.3-
PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
 TB --- 2013-12-23 19:50:20 - starting HEAD tinderbox run for i386/i386
 TB --- 2013-12-23 19:50:20 - cleaning the object tree
 TB --- 2013-12-23 19:50:20 - /usr/local/bin/svn stat /src
 TB --- 2013-12-23 19:50:25 - At svn revision 259782
 TB --- 2013-12-23 19:50:26 - building world
 TB --- 2013-12-23 19:50:26 - CROSS_BUILD_TESTING=YES
 TB --- 2013-12-23 19:50:26 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-12-23 19:50:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-12-23 19:50:26 - SRCCONF=/dev/null
 TB --- 2013-12-23 19:50:26 - TARGET=i386
 TB --- 2013-12-23 19:50:26 - TARGET_ARCH=i386
 TB --- 2013-12-23 19:50:26 - TZ=UTC
 TB --- 2013-12-23 19:50:26 - __MAKE_CONF=/dev/null
 TB --- 2013-12-23 19:50:26 - cd /src
 TB --- 2013-12-23 19:50:26 - /usr/bin/make -B buildworld
  Building an up-to-date make(1)
  World build started on Mon Dec 23 19:50:35 UTC 2013
  Rebuilding the temporary build tree
  stage 1.1: legacy release compatibility shims
  stage 1.2: bootstrap tools
  stage 2.1: cleaning up the object tree
  stage 2.2: rebuilding the object tree
  stage 2.3: build tools
  stage 3: cross tools
  stage 4.1: building includes
  stage 4.2: building libraries
  stage 4.3: make dependencies
  stage 4.4: building everything
  World build completed on Mon Dec 23 22:59:47 UTC 2013
 TB --- 2013-12-23 22:59:47 - generating LINT kernel config
 TB --- 2013-12-23 22:59:47 - cd /src/sys/i386/conf
 TB --- 2013-12-23 22:59:47 - /usr/bin/make -B LINT
 TB --- 2013-12-23 22:59:47 - cd /src/sys/i386/conf
 TB --- 2013-12-23 22:59:47 - /usr/sbin/config -m LINT
 TB --- 2013-12-23 22:59:47 - building LINT kernel
 TB --- 2013-12-23 22:59:47 - CROSS_BUILD_TESTING=YES
 TB --- 2013-12-23 22:59:47 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-12-23 22:59:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-12-23 22:59:47 - SRCCONF=/dev/null
 TB --- 2013-12-23 22:59:47 - TARGET=i386
 TB --- 2013-12-23 22:59:47 - TARGET_ARCH=i386
 TB --- 2013-12-23 22:59:47 - TZ=UTC
 TB --- 2013-12-23 22:59:47 - __MAKE_CONF=/dev/null
 TB --- 2013-12-23 22:59:47 - cd /src
 TB --- 2013-12-23 22:59:47 - /usr/bin/make -B buildkernel KERNCONF=LINT
  Kernel build for LINT started on Mon Dec 23 22:59:47 UTC 2013
  stage 1: configuring the kernel
  stage 2.1: cleaning up the object tree
  stage 2.2: rebuilding the object tree
  stage 2.3: build tools
  stage 3.1: making dependencies
  stage 3.2: building everything
 [...]
 In file included from 
/src/sys/contrib/dev/acpica/include/platform/acfreebsd.h:73:
 /src/sys/sys/systm.h:306:20: error: redefinition of 'cpu_ticks' as different 
kind of symbol
 extern cpu_tick_f *cpu_ticks;
^
 ./machine/cpu.h:86:10: note: previous definition is here
 return (cpu_ticks());
 ^
 2 errors generated.
 *** Error code 1
 
 Stop.

This is my fault, I'm looking.

-- 
John Baldwin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2013-12-16 Thread Adrian Chadd
My bad, lemme go figure out what the hell causes this to break on
these platforms.


-a

On 16 December 2013 17:34, FreeBSD Tinderbox tinder...@freebsd.org wrote:
 TB --- 2013-12-16 22:00:19 - tinderbox 2.20 running on 
 freebsd-current.sentex.ca
 TB --- 2013-12-16 22:00:19 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
 FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
 TB --- 2013-12-16 22:00:19 - starting HEAD tinderbox run for i386/i386
 TB --- 2013-12-16 22:00:19 - cleaning the object tree
 TB --- 2013-12-16 22:08:09 - /usr/local/bin/svn stat /src
 TB --- 2013-12-16 22:08:13 - At svn revision 259483
 TB --- 2013-12-16 22:08:14 - building world
 TB --- 2013-12-16 22:08:14 - CROSS_BUILD_TESTING=YES
 TB --- 2013-12-16 22:08:14 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-12-16 22:08:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-12-16 22:08:14 - SRCCONF=/dev/null
 TB --- 2013-12-16 22:08:14 - TARGET=i386
 TB --- 2013-12-16 22:08:14 - TARGET_ARCH=i386
 TB --- 2013-12-16 22:08:14 - TZ=UTC
 TB --- 2013-12-16 22:08:14 - __MAKE_CONF=/dev/null
 TB --- 2013-12-16 22:08:14 - cd /src
 TB --- 2013-12-16 22:08:14 - /usr/bin/make -B buildworld
 Building an up-to-date make(1)
 World build started on Mon Dec 16 22:08:21 UTC 2013
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Tue Dec 17 01:18:49 UTC 2013
 TB --- 2013-12-17 01:18:49 - generating LINT kernel config
 TB --- 2013-12-17 01:18:49 - cd /src/sys/i386/conf
 TB --- 2013-12-17 01:18:49 - /usr/bin/make -B LINT
 TB --- 2013-12-17 01:18:49 - cd /src/sys/i386/conf
 TB --- 2013-12-17 01:18:49 - /usr/sbin/config -m LINT
 TB --- 2013-12-17 01:18:49 - building LINT kernel
 TB --- 2013-12-17 01:18:49 - CROSS_BUILD_TESTING=YES
 TB --- 2013-12-17 01:18:49 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-12-17 01:18:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-12-17 01:18:49 - SRCCONF=/dev/null
 TB --- 2013-12-17 01:18:49 - TARGET=i386
 TB --- 2013-12-17 01:18:49 - TARGET_ARCH=i386
 TB --- 2013-12-17 01:18:49 - TZ=UTC
 TB --- 2013-12-17 01:18:49 - __MAKE_CONF=/dev/null
 TB --- 2013-12-17 01:18:49 - cd /src
 TB --- 2013-12-17 01:18:49 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Tue Dec 17 01:18:49 UTC 2013
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 [...]
 In file included from /src/sys/kern/uipc_syscalls.c:94:
 /src/sys/vm/vm_page.h:379:11: error: conflicting types for 'PHYS_TO_VM_PAGE'
 vm_page_t PHYS_TO_VM_PAGE(vm_paddr_t pa);
   ^
 /src/sys/vm/uma_int.h:409:6: note: previous implicit declaration is here
 p = PHYS_TO_VM_PAGE(pmap_kextract(va));
 ^
 8 errors generated.
 *** Error code 1

 Stop.
 bmake[1]: stopped in /obj/i386.i386/src/sys/LINT
 *** Error code 1

 Stop.
 bmake: stopped in /src
 *** Error code 1

 Stop in /src.
 TB --- 2013-12-17 01:34:35 - WARNING: /usr/bin/make returned exit code  1
 TB --- 2013-12-17 01:34:35 - ERROR: failed to build LINT kernel
 TB --- 2013-12-17 01:34:35 - 9915.93 user 1757.76 system 12855.37 real


 http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-i386.full
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2013-07-30 Thread David Wolfskill
On Tue, Jul 30, 2013 at 07:58:43AM +, FreeBSD Tinderbox wrote:
 TB --- 2013-07-30 04:40:20 - tinderbox 2.10 running on 
 freebsd-current.sentex.ca
 TB --- 2013-07-30 04:40:20 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
 FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
 TB --- 2013-07-30 04:40:20 - starting HEAD tinderbox run for i386/i386
 TB --- 2013-07-30 04:40:20 - cleaning the object tree
 TB --- 2013-07-30 04:45:33 - /usr/local/bin/svn stat /src
 TB --- 2013-07-30 04:45:36 - At svn revision 253790
 ...
 cc  -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector 
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
 -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int 
 -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
 -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum 
 -Wno-knr-promoted-parameter  -o watch watch.o -ltermcap
 gzip -cn /src/usr.sbin/watch/watch.8  watch.8.gz
 === usr.sbin/watchdogd (all)
 cc  -O2 -pipe  -std=gnu99 -Qunused-arguments -fstack-protector 
 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter 
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type 
 -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align 
 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
 -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign 
 -Wno-empty-body -Wno-string-plus-int -c /src/usr.sbin/watchdogd/watchdogd.c
 /src/usr.sbin/watchdogd/watchdogd.c:777:18: error: comparison of integers of 
 different signs: 'u_int' (aka 'unsigned int') and 'time_t' (aka 'int') 
 [-Werror,-Wsign-compare]
 if (pretimeout = ts.tv_sec) {
 ~~ ^  ~
 1 error generated.
 *** Error code 1
 
 Stop.
 bmake: stopped in /src/usr.sbin/watchdogd
 *** Error code 1
 

OK that's been bugging me enough that I looked for a way to address it
this morning as I was on the train heading in to work.

The following appears to fix it for me:

Index: usr.sbin/watchdogd/watchdogd.c
===
--- usr.sbin/watchdogd/watchdogd.c  (revision 253798)
+++ usr.sbin/watchdogd/watchdogd.c  (working copy)
@@ -774,7 +774,7 @@
struct timespec ts;
 
pow2ns_to_ts(timeout, ts);
-   if (pretimeout = ts.tv_sec) {
+   if (pretimeout = (intmax_t)ts.tv_sec) {
errx(EX_USAGE,
pretimeout (%d) = timeout (%d - %ld)\n
see manual section TIMEOUT RESOLUTION,

This was running:
FreeBSD 10.0-CURRENT #967  r253701M/253704:140: Sat Jul 27 05:40:04 PDT 
2013 r...@g1-227.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  i386


and which built:
FreeBSD 10.0-CURRENT #968  r253795M/253798:140: Tue Jul 30 07:59:28 PDT 
2013 r...@g1-227.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  i386

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgp40d4kwKGIV.pgp
Description: PGP signature


Re: [head tinderbox] failure on i386/i386

2013-05-12 Thread David Wolfskill
On Sun, May 12, 2013 at 11:45:37AM +, FreeBSD Tinderbox wrote:
 TB --- 2013-05-12 05:50:18 - tinderbox 2.10 running on 
 freebsd-current.sentex.ca
 TB --- 2013-05-12 05:50: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 --- 2013-05-12 05:50:18 - starting HEAD tinderbox run for i386/i386
 TB --- 2013-05-12 05:50:18 - cleaning the object tree
 TB --- 2013-05-12 05:50:18 - /usr/local/bin/svn stat /src
 TB --- 2013-05-12 05:50:23 - At svn revision 250553
 TB --- 2013-05-12 05:50:24 - building world
 ...
  World build completed on Sun May 12 08:58:44 UTC 2013
 ...
 TB --- 2013-05-12 08:58:45 - /usr/bin/make -B buildkernel KERNCONF=LINT
 
  Kernel build for LINT completed on Sun May 12 09:32:30 UTC 2013
 ...
 TB --- 2013-05-12 11:03:39 - /usr/bin/make -B buildkernel KERNCONF=LINT-VIMAGE
  Kernel build for LINT-VIMAGE started on Sun May 12 11:03:39 UTC 2013
  stage 1: configuring the kernel
  stage 2.1: cleaning up the object tree
  stage 2.2: rebuilding the object tree
  stage 2.3: build tools
  stage 3.1: making dependencies
  stage 3.2: building everything
  Kernel build for LINT-VIMAGE completed on Sun May 12 11:33:52 UTC 2013
 TB --- 2013-05-12 11:33:52 - cd /src/sys/i386/conf
 TB --- 2013-05-12 11:33:52 - /usr/sbin/config -m GENERIC
 TB --- 2013-05-12 11:33:52 - building GENERIC kernel
 TB --- 2013-05-12 11:33:52 - CROSS_BUILD_TESTING=YES
 TB --- 2013-05-12 11:33:52 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-05-12 11:33:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-05-12 11:33:52 - SRCCONF=/dev/null
 TB --- 2013-05-12 11:33:52 - TARGET=i386
 TB --- 2013-05-12 11:33:52 - TARGET_ARCH=i386
 TB --- 2013-05-12 11:33:52 - TZ=UTC
 TB --- 2013-05-12 11:33:52 - __MAKE_CONF=/dev/null
 TB --- 2013-05-12 11:33:52 - cd /src
 TB --- 2013-05-12 11:33:52 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
  Kernel build for GENERIC started on Sun May 12 11:33:52 UTC 2013
  stage 1: configuring the kernel
  stage 2.1: cleaning up the object tree
  stage 2.2: rebuilding the object tree
  stage 2.3: build tools
  stage 3.1: making dependencies
  stage 3.2: building everything
 [...]
 ^~~
 /src/sys/sys/cdefs.h:252:31: note: expanded from macro '__Static_assert'
 #define __Static_assert(x, y)   ___Static_assert(x, y)
 ^~
 /src/sys/sys/cdefs.h:253:60: note: expanded from macro '___Static_assert'
 #define ___Static_assert(x, y)  typedef char __assert_ ## y[(x) ? 1 : -1]
 ^~~~
 1 error generated.
 *** [vfs_subr.o] Error code 1
 
 Stop in /obj/i386.i386/src/sys/GENERIC.
 *** [buildkernel] Error code 1

Above didn't go quite far enough back to get all of the relevant
context; here's what I saw in my typescript during make buildkernel:

...
ctfconvert -L VERSION -g vfs_lookup.o
clang -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  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality -nostdinc  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -mno-aes -mno-avx -mno-mmx 
-mno-sse -msoft-float -ffreestanding -fstack-protector -Werror  
/usr/src/sys/kern/vfs_mountroot.c
: export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk drm2.kld  export_syms | xargs -J% 
objcopy % drm2.kld
clang -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  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality -nostdinc  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -mno-aes -mno-avx -mno-mmx 
-mno-sse -msoft-float -ffreestanding -fstack-protector -Werror  
/usr/src/sys/kern/vfs_subr.c
ctfconvert -L VERSION -g vfs_mount.o
/usr/src/sys/kern/vfs_subr.c:305:1: error: '__assert_4' declared as an array 
with a negative size
PCTRIE_DEFINE(BUF, buf, b_lblkno, buf_trie_alloc, buf_trie_free);
^~~~
/usr/src/sys/sys/pctrie.h:40:66: note: expanded from macro 'PCTRIE_DEFINE'
CTASSERT(sizeof(((struct type *)0)-field) == sizeof(uint64_t));\
^
/usr/src/sys/sys/systm.h:100:21: note: expanded from macro '\
CTASSERT'
#define CTASSERT(x) _Static_assert(x, compile-time assertion failed)

Re: [head tinderbox] failure on i386/i386

2013-05-12 Thread David Wolfskill
It appears that the issue is i386- (or 32-bit-) specific.

On Sun, May 12, 2013 at 07:16:48AM -0700, David Wolfskill wrote:
 On Sun, May 12, 2013 at 11:45:37AM +, FreeBSD Tinderbox wrote:
  TB --- 2013-05-12 05:50:18 - tinderbox 2.10 running on 
  freebsd-current.sentex.ca
  TB --- 2013-05-12 05:50: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 --- 2013-05-12 05:50:18 - starting HEAD tinderbox run for i386/i386
  TB --- 2013-05-12 05:50:18 - cleaning the object tree
  TB --- 2013-05-12 05:50:18 - /usr/local/bin/svn stat /src
  TB --- 2013-05-12 05:50:23 - At svn revision 250553
  TB --- 2013-05-12 05:50:24 - building world
 ...
 ...
 ctfconvert -L VERSION -g vfs_lookup.o
 clang -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  
 -Wno-error-tautological-compare -Wno-error-empty-body  
 -Wno-error-parentheses-equality -nostdinc  -I. -I/usr/src/sys 
 -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
 opt_global.h  -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding 
 -fstack-protector -Werror  /usr/src/sys/kern/vfs_mountroot.c
 : export_syms
 awk -f /usr/src/sys/conf/kmod_syms.awk drm2.kld  export_syms | xargs -J% 
 objcopy % drm2.kld
 clang -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  
 -Wno-error-tautological-compare -Wno-error-empty-body  
 -Wno-error-parentheses-equality -nostdinc  -I. -I/usr/src/sys 
 -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
 opt_global.h  -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding 
 -fstack-protector -Werror  /usr/src/sys/kern/vfs_subr.c
 ctfconvert -L VERSION -g vfs_mount.o
 /usr/src/sys/kern/vfs_subr.c:305:1: error: '__assert_4' declared as an array 
 with a negative size
 PCTRIE_DEFINE(BUF, buf, b_lblkno, buf_trie_alloc, buf_trie_free);
 ^~~~
 /usr/src/sys/sys/pctrie.h:40:66: note: expanded from macro 'PCTRIE_DEFINE'
 CTASSERT(sizeof(((struct type *)0)-field) == sizeof(uint64_t));\
 ^
 /usr/src/sys/sys/systm.h:100:21: note: expanded from macro '\
 CTASSERT'
 #define CTASSERT(x) _Static_assert(x, compile-time assertion failed)
 ^~
 /usr/src/sys/sys/cdefs.h:251:30: note: expanded from macro '_Static_assert'
 #define _Static_assert(x, y)__Static_assert(x, __COUNTER__)
 ^~~
 /usr/src/sys/sys/cdefs.h:252:31: note: expanded from macro '__Static_assert'
 #define __Static_assert(x, y)   ___Static_assert(x, y)
 ^~
 /usr/src/sys/sys/cdefs.h:253:60: note: expanded from macro '___Static_assert'
 #define ___Static_assert(x, y)  typedef char __assert_ ## y[(x) ? 1 : -1]
 ^~~~
 1 error generated.
 *** [vfs_subr.o] Error code 1
 
 
 
 Based on the above, I reverted r250551 and re-started the make
 buildkernel -- which succeeded:
 
 FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #897  
 r250557M/250558:132: Sun May 12 06:44:01 PDT 2013 
 r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386
 

However, I did not need to revert r250551 to build successfully on amd64:

FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2  
rM/:132: Sun May 12 10:09:59 PDT 2013 
r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  amd64

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpUXlnaQ7Uhj.pgp
Description: PGP signature


Re: [head tinderbox] failure on i386/i386

2013-05-12 Thread Jeff Roberson

On Sun, 12 May 2013, David Wolfskill wrote:


It appears that the issue is i386- (or 32-bit-) specific.

On Sun, May 12, 2013 at 07:16:48AM -0700, David Wolfskill wrote:

On Sun, May 12, 2013 at 11:45:37AM +, FreeBSD Tinderbox wrote:

TB --- 2013-05-12 05:50:18 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-05-12 05:50: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 --- 2013-05-12 05:50:18 - starting HEAD tinderbox run for i386/i386
TB --- 2013-05-12 05:50:18 - cleaning the object tree
TB --- 2013-05-12 05:50:18 - /usr/local/bin/svn stat /src
TB --- 2013-05-12 05:50:23 - At svn revision 250553
TB --- 2013-05-12 05:50:24 - building world

...
...
ctfconvert -L VERSION -g vfs_lookup.o
clang -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  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality -nostdinc  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -mno-aes -mno-avx -mno-mmx 
-mno-sse -msoft-float -ffreestanding -fstack-protector -Werror  
/usr/src/sys/kern/vfs_mountroot.c
: export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk drm2.kld  export_syms | xargs -J% 
objcopy % drm2.kld
clang -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  -Wno-error-tautological-compare 
-Wno-error-empty-body  -Wno-error-parentheses-equality -nostdinc  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -mno-aes -mno-avx -mno-mmx 
-mno-sse -msoft-float -ffreestanding -fstack-protector -Werror  
/usr/src/sys/kern/vfs_subr.c
ctfconvert -L VERSION -g vfs_mount.o
/usr/src/sys/kern/vfs_subr.c:305:1: error: '__assert_4' declared as an array 
with a negative size
PCTRIE_DEFINE(BUF, buf, b_lblkno, buf_trie_alloc, buf_trie_free);
^~~~
/usr/src/sys/sys/pctrie.h:40:66: note: expanded from macro 'PCTRIE_DEFINE'
CTASSERT(sizeof(((struct type *)0)-field) == sizeof(uint64_t));\
^
/usr/src/sys/sys/systm.h:100:21: note: expanded from macro '\
CTASSERT'
#define CTASSERT(x) _Static_assert(x, compile-time assertion failed)
^~
/usr/src/sys/sys/cdefs.h:251:30: note: expanded from macro '_Static_assert'
#define _Static_assert(x, y)__Static_assert(x, __COUNTER__)
^~~
/usr/src/sys/sys/cdefs.h:252:31: note: expanded from macro '__Static_assert'
#define __Static_assert(x, y)   ___Static_assert(x, y)
^~
/usr/src/sys/sys/cdefs.h:253:60: note: expanded from macro '___Static_assert'
#define ___Static_assert(x, y)  typedef char __assert_ ## y[(x) ? 1 : -1]
^~~~
1 error generated.
*** [vfs_subr.o] Error code 1



Based on the above, I reverted r250551 and re-started the make
buildkernel -- which succeeded:

FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #897  
r250557M/250558:132: Sun May 12 06:44:01 PDT 2013 
r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386



However, I did not need to revert r250551 to build successfully on amd64:

FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2  
rM/:132: Sun May 12 10:09:59 PDT 2013 
r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  amd64



Thanks.  It looks like it's actually an alignment problem and that compile 
error is erroneous.  I'm going to check in a fix by weakening the 
alignment requirement to 32bit and then build locally but I will probably 
race tinderbox to verify that it resolves 32bit.


Jeff


Peace,
david
--
David H. Wolfskill  da...@catwhisker.org
Taliban: Evil men with guns afraid of truth from a 14-year old girl.

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


Re: [head tinderbox] failure on i386/i386

2013-03-24 Thread Sean Bruno

 [...]
 cc -O2 -pipe  -I/src/sbin/fsck_ffs -I/src/sbin/fsck_ffs/../mount -DRESCUE 
 -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror 
 -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body 
 -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value 
 -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch 
 -Wno-switch-enum -Wno-knr-promoted-parameter -c /src/sbin/fsck_ffs/fsutil.c
 /src/sbin/fsck_ffs/fsutil.c:511:3: error: format specifies type 'long' but 
 the argument has type 'time_t' (aka 'int') [-Werror,-Wformat]
 finishpass.tv_sec, finishpass.tv_nsec / 100);
 ^
 /src/sbin/fsck_ffs/fsutil.c:525:7: error: format specifies type 'long' but 
 the argument has type 'time_t' (aka 'int') [-Werror,-Wformat]
 readtime[i].tv_sec, readtime[i].tv_nsec / 100,
 ^~
 2 errors generated.
 *** [fsutil.o] Error code 1


Should be squished now.   r248680


signature.asc
Description: This is a digitally signed message part


Re: [head tinderbox] failure on i386/i386

2012-10-17 Thread hiren panchasara
On Tue, Oct 16, 2012 at 10:35 PM, FreeBSD Tinderbox
tinder...@freebsd.orgwrote:

 TB --- 2012-10-17 02:40:00 - tinderbox 2.9 running on
 freebsd-current.sentex.ca
 TB --- 2012-10-17 02:40:00 - FreeBSD freebsd-current.sentex.ca8.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-10-17 02:40:00 - starting HEAD tinderbox run for i386/i386
 TB --- 2012-10-17 02:40:00 - cleaning the object tree
 TB --- 2012-10-17 02:50:41 - checking out /src from svn://
 svn.freebsd.org/base/head
 TB --- 2012-10-17 02:50:41 - cd /tinderbox/HEAD/i386/i386
 TB --- 2012-10-17 02:50:41 - /usr/local/bin/svn cleanup /src
 TB --- 2012-10-17 02:51:44 - /usr/local/bin/svn update /src
 TB --- 2012-10-17 02:51:51 - At svn revision 241625
 TB --- 2012-10-17 02:51:52 - building world
 TB --- 2012-10-17 02:51:52 - CROSS_BUILD_TESTING=YES
 TB --- 2012-10-17 02:51:52 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-10-17 02:51:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-10-17 02:51:52 - SRCCONF=/dev/null
 TB --- 2012-10-17 02:51:52 - TARGET=i386
 TB --- 2012-10-17 02:51:52 - TARGET_ARCH=i386
 TB --- 2012-10-17 02:51:52 - TZ=UTC
 TB --- 2012-10-17 02:51:52 - __MAKE_CONF=/dev/null
 TB --- 2012-10-17 02:51:52 - cd /src
 TB --- 2012-10-17 02:51:52 - /usr/bin/make -B buildworld
  Building an up-to-date make(1)
  World build started on Wed Oct 17 02:51: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 Wed Oct 17 05:19:56 UTC 2012
 TB --- 2012-10-17 05:19:56 - generating LINT kernel config
 TB --- 2012-10-17 05:19:56 - cd /src/sys/i386/conf
 TB --- 2012-10-17 05:19:56 - /usr/bin/make -B LINT
 TB --- 2012-10-17 05:19:56 - cd /src/sys/i386/conf
 TB --- 2012-10-17 05:19:56 - /usr/sbin/config -m LINT
 TB --- 2012-10-17 05:19:56 - building LINT kernel
 TB --- 2012-10-17 05:19:56 - CROSS_BUILD_TESTING=YES
 TB --- 2012-10-17 05:19:56 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-10-17 05:19:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-10-17 05:19:56 - SRCCONF=/dev/null
 TB --- 2012-10-17 05:19:56 - TARGET=i386
 TB --- 2012-10-17 05:19:56 - TARGET_ARCH=i386
 TB --- 2012-10-17 05:19:56 - TZ=UTC
 TB --- 2012-10-17 05:19:56 - __MAKE_CONF=/dev/null
 TB --- 2012-10-17 05:19:56 - cd /src
 TB --- 2012-10-17 05:19:56 - /usr/bin/make -B buildkernel KERNCONF=LINT
  Kernel build for LINT started on Wed Oct 17 05:19:57 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/net/if_gif.c
 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/net/if_gre.c
 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
 

Re: [head tinderbox] failure on i386/i386

2012-10-12 Thread Bryan Venteicher
Hi,

- Original Message -
 From: FreeBSD Tinderbox tinder...@freebsd.org
 To: FreeBSD Tinderbox tinder...@freebsd.org, curr...@freebsd.org, 
 i...@freebsd.org
 Sent: Friday, October 12, 2012 6:11:27 AM
 Subject: [head tinderbox] failure on i386/i386
 
 TB --- 2012-10-12 04:50:01 - tinderbox 2.9 running on
 freebsd-current.sentex.ca
 TB --- 2012-10-12 04:50:01 - 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-10-12 04:50:01 - starting HEAD tinderbox run for
 i386/i386
 TB --- 2012-10-12 04:50:01 - cleaning the object tree
 TB --- 2012-10-12 04:50:01 - checking out /src from
 svn://svn.freebsd.org/base/head
 TB --- 2012-10-12 04:50:01 - cd /tinderbox/HEAD/i386/i386
 TB --- 2012-10-12 04:50:01 - /usr/local/bin/svn cleanup /src
 TB --- 2012-10-12 04:53:23 - /usr/local/bin/svn update /src
 TB --- 2012-10-12 04:53:42 - At svn revision 241478

[SNIP]

 TB --- 2012-10-12 10:54:26 - /usr/bin/make -B buildkernel
 KERNCONF=XEN
  Kernel build for XEN started on Fri Oct 12 10:54:26 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
 [...]
 objcopy --only-keep-debug virtio_balloon.ko.debug
 virtio_balloon.ko.symbols
 objcopy --strip-debug --add-gnu-debuglink=virtio_balloon.ko.symbols
 virtio_balloon.ko.debug virtio_balloon.ko
 === virtio/scsi (all)
 cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
 -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
 /obj/i386.i386/src/sys/XEN/opt_global.h -I. -I@ -I@/contrib/altq
 -finline-limit=8000 --param inline-unit-growth=100 --param
 large-function-growth=1000 -fno-common -g
 -I/obj/i386.i386/src/sys/XEN  -mno-align-long-strings
 -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float
 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector
 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
 -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
 -fdiagnostics-show-option   -c
 /src/sys/modules/virtio/scsi/../../../dev/virtio/scsi/virtio_scsi.c
 cc1: warnings being treated as errors
 /src/sys/modules/virtio/scsi/../../../dev/virtio/scsi/virtio_scsi.c:
 In function 'vtscsi_sg_append_scsi_buf':
 /src/sys/modules/virtio/scsi/../../../dev/virtio/scsi/virtio_scsi.c:974:
 warning: cast from pointer to integer of different size
 [-Wpointer-to-int-cast]
 /src/sys/modules/virtio/scsi/../../../dev/virtio/scsi/virtio_scsi.c:982:
 warning: cast to pointer from integer of different size
 [-Wint-to-pointer-cast]
 *** [virtio_scsi.o] Error code 1

I cannot seem to recreate this locally, but I think these need
to be casted through uintptr?

diff --git a/sys/dev/virtio/scsi/virtio_scsi.c 
b/sys/dev/virtio/scsi/virtio_scsi.c
index f2e1412..79bc988 100644
--- a/sys/dev/virtio/scsi/virtio_scsi.c
+++ b/sys/dev/virtio/scsi/virtio_scsi.c
@@ -971,7 +971,7 @@ vtscsi_sg_append_scsi_buf(struct vtscsi_softc *sc, struct 
sglist *sg,
csio-data_ptr, csio-dxfer_len);
else
error = sglist_append_phys(sg,
-   (vm_paddr_t) csio-data_ptr, csio-dxfer_len);
+   (vm_paddr_t)(uintptr_t) csio-data_ptr, 
csio-dxfer_len);
} else {
 
for (i = 0; i  csio-sglist_cnt  error == 0; i++) {
@@ -979,7 +979,7 @@ vtscsi_sg_append_scsi_buf(struct vtscsi_softc *sc, struct 
sglist *sg,
 
if ((ccbh-flags  CAM_SG_LIST_PHYS) == 0)
error = sglist_append(sg,
-   (void *) dseg-ds_addr, dseg-ds_len);
+   (void *)(uintptr_t) dseg-ds_addr, 
dseg-ds_len);
else
error = sglist_append_phys(sg,
(vm_paddr_t) dseg-ds_addr, dseg-ds_len);

That being said, compiling VirtIO for a XEN kernel probably
doesn't make any sense.

Bryan

 
 Stop in /src/sys/modules/virtio/scsi.
 *** [all] Error code 1
 
 Stop in /src/sys/modules/virtio.
 *** [all] Error code 1
 
 Stop in /src/sys/modules.
 *** [modules-all] Error code 1
 
 Stop in /obj/i386.i386/src/sys/XEN.
 *** [buildkernel] Error code 1
 
 Stop in /src.
 *** Error code 1
 
 Stop in /src.
 TB --- 2012-10-12 11:11:27 - WARNING: /usr/bin/make returned exit
 code  1
 TB --- 2012-10-12 11:11:27 - ERROR: failed to build XEN kernel
 TB --- 2012-10-12 11:11:27 - 17474.50 user 2374.09 system 22886.60
 real
 
 
 http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full
 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any 

Re: [head tinderbox] failure on i386/i386

2012-05-22 Thread Bruce Evans

On Tue, 22 May 2012, FreeBSD Tinderbox wrote:


[...]
from /obj/i386.i386/src/tmp/usr/include/sys/_types.h:33,
from /obj/i386.i386/src/tmp/usr/include/stdio.h:41,
from /src/sbin/devd/parse.y:33:
/obj/i386.i386/src/tmp/usr/include/x86/_types.h:51: error: expected '=', ',', 
';', 'asm' or '__attribute__' before 'typedef'
/obj/i386.i386/src/tmp/usr/include/x86/_types.h:96: error: expected '=', ',', 
';', 'asm' or '__attribute__' before '__int_least8_t'
cc1: warnings being treated as errors
/src/sbin/devd/parse.y: In function 'yyparse':
/src/sbin/devd/parse.y:103: warning: implicit declaration of function 
'add_attach'


Another bug in the new yacc is that it uses hard-coded GNUisms
like __attribute__(()) (maybe firm-coded by autoconfig) instead of
hard-coded FreeBSDisms like __printflike().

But this is not the bug here.  devd.h is just included in a wrong order
(before its prerequisites) in parse.y.  This worked accidentally because
old yacc includes sufficient namespace pollution earlier.

Bruce
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2012-03-24 Thread Taku YAMAMOTO
Suppose some bit error of memory or storage of the tinderbox machine?

On Sat, 24 Mar 2012 05:41:28 GMT
FreeBSD Tinderbox tinder...@freebsd.org wrote:

(snip)

 /src/sys/dev/arcmsr/arcmsr.h:43:2: error: invalid preprocessing directive 
 #denine

'f'(0x66) ^ 'n'(0x6e) = 0x08

 /src/sys/dev/arcmsr/arcmsr.h:52:2: error: invalid preprocessing directive 
 #defino

'e'(0x65) ^ 'o'(0x6f) = 0x0a

 /src/sys/dev/arcmsr/arcmsr.h:93:2: error: invalid preprocessing directive 
 #lefine

'd'(0x64) ^ 'l'(0x6c) = 0x08

 /src/sys/dev/arcmsr/arcmsr.h:118:2: error: invalid preprocessing directive 
 #tefine

'd'(0x64) ^ 't'(0x74) = 0x10

 /src/sys/dev/arcmsr/arcmsr.h:138:2: error: invalid preprocessing directive 
 #denine

 /src/sys/dev/arcmsr/arcmsr.h:148:2: error: invalid preprocessing directive 
 #dofine

'e'(0x65) ^ 'o'(0x6f) = 0x0a

FYI,
-- 
-|-__   YAMAMOTO, Taku
 | __  t...@tackymt.homeip.net

  - A chicken is an egg's way of producing more eggs. -
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2011-12-12 Thread Andriy Gapon
on 12/12/2011 07:58 FreeBSD Tinderbox said the following:
 In file included from /src/sys/kern/kern_racct.c:53:
 /src/sys/sys/sx.h: In function '__sx_xlock':
 /src/sys/sys/sx.h:154: warning: implicit declaration of function 
 'SCHEDULER_STOPPED'
 /src/sys/sys/sx.h:154: warning: nested extern declaration of 
 'SCHEDULER_STOPPED' [-Wnested-externs]
 *** Error code 1

This should be fixed in r228430.
Apologies.

-- 
Andriy Gapon
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2011-11-10 Thread Adrian Chadd
This is a new problem - it seems some kernels don't have
AH_SUPPORT_AR5416 in them. The module was thus being built with the
default opt_ah.h which enabled it.

I'd like to just get that option added to kernels for now. I'll then
fix the ath/hal build to work without the extra AR5416 fields but it's
going to take a bit of effort.
(It won't be impossible, just will take a little more time.)

So if you/others would like to fix all the kernels for which this
breaks by simply adding options AH_SUPPORT_AR5416 to the kernel
configuration, or just add an option to not build ath/ath_pci/ath_ahb
for those devices, please feel free.

Thanks,


adrian
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2011-11-10 Thread Adrian Chadd
.. and I'm going to try to quieten some of those errors now. Since the
software aggregation side requires the 802.11n fields to work, I can't
easily fix it all in one hit.
But I'll see what I can do to make things buildable again.

Thanks and sorry for this!


Adrian
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2011-11-10 Thread Adrian Chadd
Hi,

The problem right now is that when the code is compiled as a module,
it sucks in -all- of the chipset support rather than only a subset.
So there are two problems:

* AH_SUPPORT_AR5416 is still needed to build the driver and HAL, and
* the module builds all chipset support, whether or not
AH_SUPPORT_AR5416 is defined.

I notice that some modules do check whether VIMAGE is defined (.if
defined(VIMAGE)) - is there some equally evil way that I can propagate
some build time options to the module build to specify which modules
are built, based on the existance or not of AH_SUPPORT_AR5416?

(It gets messier, as at least two wireless SoC modules just don't need
to be built unless the user definitely wants them to be.)

I still think the correct thing to do at the present time is to
explicitly not build the ath modules unless the architecture can use
it, and if it can use it, build them with explicit net80211/ath
configuration. Otherwise you end up with modules/kernel being out of
sync in terms of configuration. For example, a user reported (and this
is why I fixed sys/modules/ath/Makefile) that they had added
ATH_DEBUG and AH_DEBUG - but because the Makefile overrides opt_ah.h
regardless of whether it exists or not, it didn't include the
debugging code. Similar hilarity occurs with/without IEEE80211_TDMA
and IEEE80211_DEBUG for example.

Thanks,


Adrian
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2011-11-10 Thread Glen Barber
Hi,

On 11/10/11 12:15 PM, Adrian Chadd wrote:
 Hi,
 
 The problem right now is that when the code is compiled as a module,
 it sucks in -all- of the chipset support rather than only a subset.
 So there are two problems:
 

Is it too disruptive for the offending commit to be reverted, so the
tinderbox emails can be silenced?

-- 
Glen Barber | g...@freebsd.org
FreeBSD Documentation Project



signature.asc
Description: OpenPGP digital signature


Re: [head tinderbox] failure on i386/i386

2011-11-10 Thread Adrian Chadd
I already have reverted the relevant commit.


Adrian
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2011-11-09 Thread Doug Barton
Adrian,

This has been going on for a while. Are you subscribed to -current? Any
plans to fix this?


Doug


On 11/09/2011 23:05, FreeBSD Tinderbox wrote:
 TB --- 2011-11-10 02:10:00 - tinderbox 2.8 running on 
 freebsd-current.sentex.ca
 TB --- 2011-11-10 02:10:00 - starting HEAD tinderbox run for i386/i386
 TB --- 2011-11-10 02:10:00 - cleaning the object tree
 TB --- 2011-11-10 02:10:52 - cvsupping the source tree
 TB --- 2011-11-10 02:10:52 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/HEAD/i386/i386/supfile
 TB --- 2011-11-10 02:11:03 - building world
 TB --- 2011-11-10 02:11:03 - CROSS_BUILD_TESTING=YES
 TB --- 2011-11-10 02:11:03 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-11-10 02:11:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-11-10 02:11:03 - SRCCONF=/dev/null
 TB --- 2011-11-10 02:11:03 - TARGET=i386
 TB --- 2011-11-10 02:11:03 - TARGET_ARCH=i386
 TB --- 2011-11-10 02:11:03 - TZ=UTC
 TB --- 2011-11-10 02:11:03 - __MAKE_CONF=/dev/null
 TB --- 2011-11-10 02:11:03 - cd /src
 TB --- 2011-11-10 02:11:03 - /usr/bin/make -B buildworld
 World build started on Thu Nov 10 02:11:03 UTC 2011
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Thu Nov 10 04:22:28 UTC 2011
 TB --- 2011-11-10 04:22:28 - generating LINT kernel config
 TB --- 2011-11-10 04:22:28 - cd /src/sys/i386/conf
 TB --- 2011-11-10 04:22:28 - /usr/bin/make -B LINT
 TB --- 2011-11-10 04:22:28 - cd /src/sys/i386/conf
 TB --- 2011-11-10 04:22:28 - /usr/sbin/config -m LINT-NOINET
 TB --- 2011-11-10 04:22:28 - building LINT-NOINET kernel
 TB --- 2011-11-10 04:22:28 - CROSS_BUILD_TESTING=YES
 TB --- 2011-11-10 04:22:28 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-11-10 04:22:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-11-10 04:22:28 - SRCCONF=/dev/null
 TB --- 2011-11-10 04:22:28 - TARGET=i386
 TB --- 2011-11-10 04:22:28 - TARGET_ARCH=i386
 TB --- 2011-11-10 04:22:28 - TZ=UTC
 TB --- 2011-11-10 04:22:28 - __MAKE_CONF=/dev/null
 TB --- 2011-11-10 04:22:28 - cd /src
 TB --- 2011-11-10 04:22:28 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET
 Kernel build for LINT-NOINET started on Thu Nov 10 04:22:28 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for LINT-NOINET completed on Thu Nov 10 04:53:09 UTC 2011
 TB --- 2011-11-10 04:53:09 - cd /src/sys/i386/conf
 TB --- 2011-11-10 04:53:09 - /usr/sbin/config -m LINT-NOINET6
 TB --- 2011-11-10 04:53:09 - building LINT-NOINET6 kernel
 TB --- 2011-11-10 04:53:09 - CROSS_BUILD_TESTING=YES
 TB --- 2011-11-10 04:53:09 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-11-10 04:53:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-11-10 04:53:09 - SRCCONF=/dev/null
 TB --- 2011-11-10 04:53:09 - TARGET=i386
 TB --- 2011-11-10 04:53:09 - TARGET_ARCH=i386
 TB --- 2011-11-10 04:53:09 - TZ=UTC
 TB --- 2011-11-10 04:53:09 - __MAKE_CONF=/dev/null
 TB --- 2011-11-10 04:53:09 - cd /src
 TB --- 2011-11-10 04:53:09 - /usr/bin/make -B buildkernel 
 KERNCONF=LINT-NOINET6
 Kernel build for LINT-NOINET6 started on Thu Nov 10 04:53:09 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for LINT-NOINET6 completed on Thu Nov 10 05:23:36 UTC 2011
 TB --- 2011-11-10 05:23:36 - cd /src/sys/i386/conf
 TB --- 2011-11-10 05:23:36 - /usr/sbin/config -m LINT-NOIP
 TB --- 2011-11-10 05:23:36 - building LINT-NOIP kernel
 TB --- 2011-11-10 05:23:36 - CROSS_BUILD_TESTING=YES
 TB --- 2011-11-10 05:23:36 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-11-10 05:23:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-11-10 05:23:36 - SRCCONF=/dev/null
 TB --- 2011-11-10 05:23:36 - TARGET=i386
 TB --- 2011-11-10 05:23:36 - TARGET_ARCH=i386
 TB --- 2011-11-10 05:23:36 - TZ=UTC
 TB --- 2011-11-10 05:23:36 - __MAKE_CONF=/dev/null
 TB --- 2011-11-10 05:23:36 - cd /src
 TB --- 2011-11-10 05:23:36 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOIP
 Kernel build for LINT-NOIP started on Thu Nov 10 05:23:36 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for LINT-NOIP completed on Thu Nov 10 05:52:09 UTC 2011
 TB --- 2011-11-10 05:52:09 - cd /src/sys/i386/conf
 TB --- 2011-11-10 05:52:09 - /usr/sbin/config -m LINT-VIMAGE
 TB --- 2011-11-10 05:52:09 - building LINT-VIMAGE kernel
 TB --- 2011-11-10 05:52:09 - 

Re: [head tinderbox] failure on i386/i386

2011-06-19 Thread Simon L. B. Nielsen

On 19 Jun 2011, at 14:45, FreeBSD Tinderbox wrote:

 
 World build started on Sun Jun 19 12:20:28 UTC 2011
 stage 4.2: building libraries
 [...]
 cc -O2 -pipe  -I/obj/i386.i386/src/cddl/lib/libdtrace 
 -I/src/cddl/lib/libdtrace  
 -I/src/cddl/lib/libdtrace/../../../sys/cddl/dev/dtrace/i386  
 -I/src/cddl/lib/libdtrace/../../../sys/cddl/compat/opensolaris  
 -I/src/cddl/lib/libdtrace/../../../cddl/compat/opensolaris/include  
 -I/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/head  
 -I/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libctf/common 
  
 -I/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common
   -I/src/cddl/lib/libdtrace/../../../sys/cddl/contrib/opensolaris/uts/common 
 -I/src/cddl/lib/libdtrace/../../../sys/cddl/contrib/opensolaris/uts/intel 
 -DDIS_MEM -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector 
 -Wsystem-headers -Werror -Wno-pointer-sign -Wno-unknown-pragmas -c 
 /src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c
 /src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c:831:3:
  error: #warning need td_popc() implementation

Build should be fixed now, but implementation is still broken (just as it was 
before the recent build breakage)...

-- 
Simon L. B. Nielsen

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2011-05-06 Thread YongHyeon PYUN
On Sat, May 07, 2011 at 04:18:08AM +, FreeBSD Tinderbox wrote:
 TB --- 2011-05-07 02:10:00 - tinderbox 2.7 running on 
 freebsd-current.sentex.ca
 TB --- 2011-05-07 02:10:00 - starting HEAD tinderbox run for i386/i386
 TB --- 2011-05-07 02:10:00 - cleaning the object tree
 TB --- 2011-05-07 02:10:28 - cvsupping the source tree
 TB --- 2011-05-07 02:10:28 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/HEAD/i386/i386/supfile
 TB --- 2011-05-07 02:10:41 - building world
 TB --- 2011-05-07 02:10:41 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-05-07 02:10:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-05-07 02:10:41 - TARGET=i386
 TB --- 2011-05-07 02:10:41 - TARGET_ARCH=i386
 TB --- 2011-05-07 02:10:41 - TZ=UTC
 TB --- 2011-05-07 02:10:41 - __MAKE_CONF=/dev/null
 TB --- 2011-05-07 02:10:41 - cd /src
 TB --- 2011-05-07 02:10:41 - /usr/bin/make -B buildworld
  World build started on Sat May  7 02:10:42 UTC 2011
  Rebuilding the temporary build tree
  stage 1.1: legacy release compatibility shims
  stage 1.2: bootstrap tools
  stage 2.1: cleaning up the object tree
  stage 2.2: rebuilding the object tree
  stage 2.3: build tools
  stage 3: cross tools
  stage 4.1: building includes
  stage 4.2: building libraries
  stage 4.3: make dependencies
  stage 4.4: building everything
  World build completed on Sat May  7 04:07:08 UTC 2011
 TB --- 2011-05-07 04:07:08 - generating LINT kernel config
 TB --- 2011-05-07 04:07:08 - cd /src/sys/i386/conf
 TB --- 2011-05-07 04:07:08 - /usr/bin/make -B LINT
 TB --- 2011-05-07 04:07:08 - building LINT kernel
 TB --- 2011-05-07 04:07:08 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-05-07 04:07:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-05-07 04:07:08 - TARGET=i386
 TB --- 2011-05-07 04:07:08 - TARGET_ARCH=i386
 TB --- 2011-05-07 04:07:08 - TZ=UTC
 TB --- 2011-05-07 04:07:08 - __MAKE_CONF=/dev/null
 TB --- 2011-05-07 04:07:08 - cd /src
 TB --- 2011-05-07 04:07:08 - /usr/bin/make -B buildkernel KERNCONF=LINT
  Kernel build for LINT started on Sat May  7 04:07:08 UTC 2011
  stage 1: configuring the kernel
  stage 2.1: cleaning up the object tree
  stage 2.2: rebuilding the object tree
  stage 2.3: build tools
  stage 3.1: making dependencies
  stage 3.2: building everything
 [...]
 ld -b binary -d -warn-common -r -d -o wpifw.fwo wpi.fw
 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 -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-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding 
 -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/xe/if_xe.c
 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 -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-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding 
 -fstack-protector -Werror -pg -mprofiler-epilogue 
 /src/sys/dev/xe/if_xe_pccard.c
 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 -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-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding 
 -fstack-protector -Werror -pg -mprofiler-epilogue /src/sys/dev/xl/if_xl.c
 cc1: warnings being treated as errors
 /src/sys/dev/xl/if_xl.c: In function 'xl_poll_locked':
 /src/sys/dev/xl/if_xl.c:2383: warning: implicit declaration of function 
 'xl_stats_update_locked'
 /src/sys/dev/xl/if_xl.c:2383: warning: nested extern declaration of 
 'xl_stats_update_locked'
 *** Error code 1

Sorry for the breakage. Should be fixed now.
___
freebsd-current@freebsd.org mailing list

Re: [head tinderbox] failure on i386/i386

2011-05-02 Thread Garrett Cooper
On Mon, May 2, 2011 at 12:48 AM, FreeBSD Tinderbox
tinder...@freebsd.org wrote:

[...]

 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 -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  
 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow 
 -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector 
 -Werror  /src/sys/dev/lge/if_lge.c
 cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -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  
 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow 
 -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector 
 -Werror  /src/sys/dev/malo/if_malo.c
 cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -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  
 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow 
 -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector 
 -Werror  /src/sys/dev/malo/if_malohal.c
 cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -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  
 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow 
 -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding -fstack-protector 
 -Werror  /src/sys/dev/malo/if_malo_pci.c
 cc1: warnings being treated as errors
 /src/sys/dev/malo/if_malo_pci.c: In function 'malo_pci_attach':
 /src/sys/dev/malo/if_malo_pci.c:232: warning: large integer implicitly 
 truncated to unsigned type
 /src/sys/dev/malo/if_malo_pci.c:232: warning: large integer implicitly 
 truncated to unsigned type
 *** Error code 1

 Stop in /obj/i386.i386/src/sys/PAE.
 *** Error code 1

 Stop in /src.
 *** Error code 1

 Stop in /src.

Tinderbox has been whining about malo for the last day or so on
i386 because of this issue. Could someone please commit the following
patch to fix it? It's correct according to the printf(3) manpage
combined with the fields in the malo_hal structure.
FWIW I'm a bit confused too because it's listed in the
WITHOUT_MODULES group for several i386 kernel compiles based on my
looking at the make universe output, but it's still barfing on the
module with tinderbox (and not with my local make universe), but it
the results might be tainted by my environment somehow.
Thanks!
-Garrett
Index: sys/dev/malo/if_malo.c
===
--- sys/dev/malo/if_malo.c	(revision 221219)
+++ sys/dev/malo/if_malo.c	(working copy)
@@ -224,9 +224,9 @@
 	}
 
 	DPRINTF(sc, MALO_DEBUG_FW,
-	malo_hal_gethwspecs: hwversion 0x%x hostif 0x%x
-	maxnum_wcb 0x%x maxnum_mcaddr 0x%x maxnum_tx_wcb 0x%x
-	regioncode 0x%x num_antenna 0x%x fw_releasenum 0x%x
+	malo_hal_gethwspecs: hwversion 0x%hhx hostif 0x%hhx
+	maxnum_wcb 0x%hx maxnum_mcaddr 0x%hx maxnum_tx_wcb 0x%hx
+	regioncode 0x%hx num_antenna 0x%hx fw_releasenum 0x%x
 	wcbbase0 0x%x rxdesc_read 0x%x rxdesc_write 0x%x
 	ul_fw_awakecookie 0x%x w[4] = %x %x %x %x,
 	sc-malo_hwspecs.hwversion,
@@ -1931,7 +1931,8 @@
 {
 	struct ifnet *ifp = sc-malo_ifp;
 
-	if_printf(ifp, versions [hw %d fw %d.%d.%d.%d] (regioncode %d)\n,
+	if_printf(ifp,
+		versions [hw 0x%hhx fw %d.%d.%d.%d] (regioncode 0x%hx)\n,
 		sc-malo_hwspecs.hwversion,
 		(sc-malo_hwspecs.fw_releasenum  24)  0xff,
 		(sc-malo_hwspecs.fw_releasenum  16)  0xff,
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: [head tinderbox] failure on i386/i386

2011-03-21 Thread Kostik Belousov
On Mon, Mar 21, 2011 at 08:03:52PM +, FreeBSD Tinderbox wrote:
 TB --- 2011-03-21 17:50:00 - tinderbox 2.6 running on 
 freebsd-current.sentex.ca
 TB --- 2011-03-21 17:50:00 - starting HEAD tinderbox run for i386/i386
 TB --- 2011-03-21 17:50:00 - cleaning the object tree
 TB --- 2011-03-21 17:50:13 - cvsupping the source tree
 TB --- 2011-03-21 17:50:13 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/HEAD/i386/i386/supfile
 TB --- 2011-03-21 17:50:55 - building world
 TB --- 2011-03-21 17:50:55 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-03-21 17:50:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-03-21 17:50:55 - TARGET=i386
 TB --- 2011-03-21 17:50:55 - TARGET_ARCH=i386
 TB --- 2011-03-21 17:50:55 - TZ=UTC
 TB --- 2011-03-21 17:50:55 - __MAKE_CONF=/dev/null
 TB --- 2011-03-21 17:50:55 - cd /src
 TB --- 2011-03-21 17:50:55 - /usr/bin/make -B buildworld
  World build started on Mon Mar 21 17:50:55 UTC 2011
  Rebuilding the temporary build tree
  stage 1.1: legacy release compatibility shims
  stage 1.2: bootstrap tools
  stage 2.1: cleaning up the object tree
  stage 2.2: rebuilding the object tree
  stage 2.3: build tools
  stage 3: cross tools
  stage 4.1: building includes
  stage 4.2: building libraries
  stage 4.3: make dependencies
  stage 4.4: building everything
  World build completed on Mon Mar 21 19:42:02 UTC 2011
 TB --- 2011-03-21 19:42:02 - generating LINT kernel config
 TB --- 2011-03-21 19:42:02 - cd /src/sys/i386/conf
 TB --- 2011-03-21 19:42:02 - /usr/bin/make -B LINT
 TB --- 2011-03-21 19:42:02 - building LINT kernel
 TB --- 2011-03-21 19:42:02 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-03-21 19:42:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-03-21 19:42:02 - TARGET=i386
 TB --- 2011-03-21 19:42:02 - TARGET_ARCH=i386
 TB --- 2011-03-21 19:42:02 - TZ=UTC
 TB --- 2011-03-21 19:42:02 - __MAKE_CONF=/dev/null
 TB --- 2011-03-21 19:42:02 - cd /src
 TB --- 2011-03-21 19:42:02 - /usr/bin/make -B buildkernel KERNCONF=LINT
  Kernel build for LINT started on Mon Mar 21 19:42:02 UTC 2011
  stage 1: configuring the kernel
  stage 2.1: cleaning up the object tree
  stage 2.2: rebuilding the object tree
  stage 2.3: build tools
  stage 3.1: making dependencies
  stage 3.2: building everything
 [...]
 objcopy --strip-debug mlx.ko
 === mlx4 (all)
 cc -O2 -pipe -DINET6 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
 -nostdinc  -I/src/sys/modules/mlx4/../../ofed/drivers/net/mlx4 
 -I/src/sys/modules/mlx4/../../ofed/include/ -DHAVE_KERNEL_OPTION_HEADERS 
 -include /obj/i386.i386/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq 
 -finline-limit=8000 --param inline-unit-growth=100 --param 
 large-function-growth=1000 -fno-common  -I/obj/i386.i386/src/sys/LINT 
 -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx 
 -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -ffreestanding 
 -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls 
 -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
 -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions 
 -Wno-cast-qual -Wno-pointer-arith -fms-extensions -c 
 /src/sys/modules/mlx4/../../ofed/drivers/net/mlx4/alloc.c
 cc1: warnings being treated as errors
 In file included from 
 /src/sys/modules/mlx4/../../ofed/include/linux/slab.h:37,
  from 
 /src/sys/modules/mlx4/../../ofed/drivers/net/mlx4/alloc.c:35:
 /src/sys/modules/mlx4/../../ofed/include/linux/gfp.h: In function 
 'page_address':
 /src/sys/modules/mlx4/../../ofed/include/linux/gfp.h:59: warning: cast to 
 pointer from integer of different size
 *** Error code 1
 
 Stop in /src/sys/modules/mlx4.
 *** Error code 1
 
 Stop in /src/sys/modules.
 *** Error code 1
 
 Stop in /obj/i386.i386/src/sys/LINT.
 *** Error code 1
 
 Stop in /src.
 *** Error code 1
 
 Stop in /src.
 TB --- 2011-03-21 20:03:52 - WARNING: /usr/bin/make returned exit code  1 
 TB --- 2011-03-21 20:03:52 - ERROR: failed to build lint kernel
 TB --- 2011-03-21 20:03:52 - 6470.66 user 1063.61 system 8031.83 real
 

The patch below allows me to finish the kernel compilation on i386, as
well as on amd64.  I do not have better idea for the ib_addr.h chunk.

This leaves the ia64 failure unhandled.

diff --git a/sys/ofed/drivers/infiniband/hw/mthca/mthca_main.c 
b/sys/ofed/drivers/infiniband/hw/mthca/mthca_main.c
index 772cf8c..5401364 100644
--- a/sys/ofed/drivers/infiniband/hw/mthca/mthca_main.c
+++ b/sys/ofed/drivers/infiniband/hw/mthca/mthca_main.c
@@ -1228,8 +1228,8 @@ static int __devinit mthca_init_one(struct pci_dev *pdev,
}
 
if (id-driver_data = ARRAY_SIZE(mthca_hca_table)) {
-   printk(KERN_ERR PFX %s has invalid driver data %lx\n,
-  pci_name(pdev), id-driver_data);
+   printk(KERN_ERR PFX %s has invalid driver data %jx\n,
+  pci_name(pdev), (uintmax_t)id-driver_data);
mutex_unlock(mthca_device_mutex);

Re: [head tinderbox] failure on i386/i386

2010-06-21 Thread Doug Barton

mav, could this be related to r209371?


Doug


On 06/21/10 11:16, FreeBSD Tinderbox wrote:

TB --- 2010-06-21 16:15:00 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2010-06-21 16:15:00 - starting HEAD tinderbox run for i386/i386
TB --- 2010-06-21 16:15:00 - cleaning the object tree
TB --- 2010-06-21 16:15:40 - cvsupping the source tree
TB --- 2010-06-21 16:15:40 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/i386/i386/supfile
TB --- 2010-06-21 16:21:07 - building world
TB --- 2010-06-21 16:21:07 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-06-21 16:21:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-06-21 16:21:07 - TARGET=i386
TB --- 2010-06-21 16:21:07 - TARGET_ARCH=i386
TB --- 2010-06-21 16:21:07 - TZ=UTC
TB --- 2010-06-21 16:21:07 - __MAKE_CONF=/dev/null
TB --- 2010-06-21 16:21:07 - cd /src
TB --- 2010-06-21 16:21:07 - /usr/bin/make -B buildworld

World build started on Mon Jun 21 16:21:07 UTC 2010
Rebuilding the temporary build tree
stage 1.1: legacy release compatibility shims
stage 1.2: bootstrap tools
stage 2.1: cleaning up the object tree
stage 2.2: rebuilding the object tree
stage 2.3: build tools
stage 3: cross tools
stage 4.1: building includes
stage 4.2: building libraries
stage 4.3: make dependencies
stage 4.4: building everything
World build completed on Mon Jun 21 18:01:08 UTC 2010

TB --- 2010-06-21 18:01:08 - generating LINT kernel config
TB --- 2010-06-21 18:01:08 - cd /src/sys/i386/conf
TB --- 2010-06-21 18:01:08 - /usr/bin/make -B LINT
TB --- 2010-06-21 18:01:08 - building LINT kernel
TB --- 2010-06-21 18:01:08 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-06-21 18:01:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-06-21 18:01:08 - TARGET=i386
TB --- 2010-06-21 18:01:08 - TARGET_ARCH=i386
TB --- 2010-06-21 18:01:08 - TZ=UTC
TB --- 2010-06-21 18:01:08 - __MAKE_CONF=/dev/null
TB --- 2010-06-21 18:01:08 - cd /src
TB --- 2010-06-21 18:01:08 - /usr/bin/make -B buildkernel KERNCONF=LINT

Kernel build for LINT started on Mon Jun 21 18:01:09 UTC 2010
stage 1: configuring the kernel
stage 2.1: cleaning up the object tree
stage 2.2: rebuilding the object tree
stage 2.3: build tools
stage 3.1: making dependencies
stage 3.2: building everything

[...]
:  hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=/usr/bin/make sh /src/sys/conf/newvers.sh LINT
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 -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-3dnow -mno-sse -mno-sse2 -mno-sse3 
-ffreestanding -fstack-protector -Werror -pg -mprofiler-epilogue vers.c
linking kernel
apm.o(.text+0x100a): In function `apm_attach':
: undefined reference to `atrtcclock_disable'
*** Error code 1

Stop in /obj/i386/src/sys/LINT.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2010-06-21 18:16:05 - WARNING: /usr/bin/make returned exit code  1
TB --- 2010-06-21 18:16:05 - ERROR: failed to build lint kernel
TB --- 2010-06-21 18:16:05 - 5515.73 user 922.46 system 7264.84 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full
___
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





--

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2010-06-21 Thread Alexander Motin
Doug Barton wrote:
 mav, could this be related to r209371?

It is. Fixed. Thanks.

 On 06/21/10 11:16, FreeBSD Tinderbox wrote:
 TB --- 2010-06-21 16:15:00 - tinderbox 2.6 running on
 freebsd-current.sentex.ca
 TB --- 2010-06-21 16:15:00 - starting HEAD tinderbox run for i386/i386
 TB --- 2010-06-21 16:15:00 - cleaning the object tree
 TB --- 2010-06-21 16:15:40 - cvsupping the source tree
 TB --- 2010-06-21 16:15:40 - /usr/bin/csup -z -r 3 -g -L 1 -h
 cvsup.sentex.ca /tinderbox/HEAD/i386/i386/supfile
 TB --- 2010-06-21 16:21:07 - building world
 TB --- 2010-06-21 16:21:07 - MAKEOBJDIRPREFIX=/obj
 TB --- 2010-06-21 16:21:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2010-06-21 16:21:07 - TARGET=i386
 TB --- 2010-06-21 16:21:07 - TARGET_ARCH=i386
 TB --- 2010-06-21 16:21:07 - TZ=UTC
 TB --- 2010-06-21 16:21:07 - __MAKE_CONF=/dev/null
 TB --- 2010-06-21 16:21:07 - cd /src
 TB --- 2010-06-21 16:21:07 - /usr/bin/make -B buildworld
 World build started on Mon Jun 21 16:21:07 UTC 2010
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Mon Jun 21 18:01:08 UTC 2010
 TB --- 2010-06-21 18:01:08 - generating LINT kernel config
 TB --- 2010-06-21 18:01:08 - cd /src/sys/i386/conf
 TB --- 2010-06-21 18:01:08 - /usr/bin/make -B LINT
 TB --- 2010-06-21 18:01:08 - building LINT kernel
 TB --- 2010-06-21 18:01:08 - MAKEOBJDIRPREFIX=/obj
 TB --- 2010-06-21 18:01:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2010-06-21 18:01:08 - TARGET=i386
 TB --- 2010-06-21 18:01:08 - TARGET_ARCH=i386
 TB --- 2010-06-21 18:01:08 - TZ=UTC
 TB --- 2010-06-21 18:01:08 - __MAKE_CONF=/dev/null
 TB --- 2010-06-21 18:01:08 - cd /src
 TB --- 2010-06-21 18:01:08 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Jun 21 18:01:09 UTC 2010
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 [...]
 :  hack.c
 cc -shared -nostdlib hack.c -o hack.So
 rm -f hack.c
 MAKE=/usr/bin/make sh /src/sys/conf/newvers.sh LINT
 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 -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-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
 -fstack-protector -Werror -pg -mprofiler-epilogue vers.c
 linking kernel
 apm.o(.text+0x100a): In function `apm_attach':
 : undefined reference to `atrtcclock_disable'
 *** Error code 1

 Stop in /obj/i386/src/sys/LINT.
 *** Error code 1

 Stop in /src.
 *** Error code 1

 Stop in /src.
 TB --- 2010-06-21 18:16:05 - WARNING: /usr/bin/make returned exit code  1
 TB --- 2010-06-21 18:16:05 - ERROR: failed to build lint kernel
 TB --- 2010-06-21 18:16:05 - 5515.73 user 922.46 system 7264.84 real


 http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full

-- 
Alexander Motin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2010-06-21 Thread Doug Barton

On 06/21/10 13:59, Alexander Motin wrote:

Doug Barton wrote:

mav, could this be related to r209371?


It is. Fixed. Thanks.


Thank YOU for jumping on it so quickly. :)


Doug

--

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2010-03-22 Thread Andriy Gapon
on 21/03/2010 08:25 Garrett Cooper said the following:
 On Sat, Mar 20, 2010 at 9:58 PM, FreeBSD Tinderbox
 tinder...@freebsd.org wrote:
 TB --- 2010-03-21 04:53:25 - /usr/bin/make -B buildkernel KERNCONF=PAE
 Kernel build for PAE started on Sun Mar 21 04:53:25 UTC 2010
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 [...]
 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 -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  
 -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
 -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror  
 /src/sys/libkern/qdivrem.c
 cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -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  
 -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
 -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror  
 /src/sys/libkern/ucmpdi2.c
 cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -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  
 -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
 -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror  
 /src/sys/libkern/udivdi3.c
 cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -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  
 -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
 -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror  
 /src/sys/libkern/umoddi3.c
 cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -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  
 -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
 -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror  
 /src/sys/compat/x86bios/x86bios.c
 cc1: warnings being treated as errors
 /src/sys/compat/x86bios/x86bios.c: In function 'x86bios_map_mem':
 /src/sys/compat/x86bios/x86bios.c:558: warning: cast to pointer from integer 
 of different size
 *** Error code 1

 Stop in /obj/i386/src/sys/PAE.
 *** Error code 1

 Stop in /src.
 *** Error code 1

 Stop in /src.
 TB --- 2010-03-21 04:58:08 - WARNING: /usr/bin/make returned exit code  1
 TB --- 2010-03-21 04:58:08 - ERROR: failed to build PAE kernel
 TB --- 2010-03-21 04:58:08 - 5080.43 user 936.95 system 6788.14 real
 
 Hi Jung,
 Could you please resolve this error?
 Thanks,

It would have been nice to actually CC Jung-uk :-)
The problem seems to be that with PAE type of x86bios_rom_phys, vm_paddr_t, is
64-bit.
I am not sure what values x86bios_rom_phys can have, but most likely it can be
simply cast to a 32-bit value.

-- 
Andriy Gapon
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2010-03-22 Thread Jung-uk Kim
On Monday 22 March 2010 04:19 am, Andriy Gapon wrote:
 on 21/03/2010 08:25 Garrett Cooper said the following:
  On Sat, Mar 20, 2010 at 9:58 PM, FreeBSD Tinderbox
 
  tinder...@freebsd.org wrote:
  TB --- 2010-03-21 04:53:25 - /usr/bin/make -B buildkernel
  KERNCONF=PAE
 
  Kernel build for PAE started on Sun Mar 21 04:53:25 UTC 2010
  stage 1: configuring the kernel
  stage 2.1: cleaning up the object tree
  stage 2.2: rebuilding the object tree
  stage 2.3: build tools
  stage 3.1: making dependencies
  stage 3.2: building everything
 
  [...]
  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 -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 
  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
  -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
  -fstack-protector -Werror  /src/sys/libkern/qdivrem.c cc -c -O
  -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
  -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
  -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
  -fformat-extensions -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 
  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
  -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
  -fstack-protector -Werror  /src/sys/libkern/ucmpdi2.c cc -c -O
  -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
  -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
  -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
  -fformat-extensions -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 
  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
  -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
  -fstack-protector -Werror  /src/sys/libkern/udivdi3.c cc -c -O
  -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
  -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
  -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
  -fformat-extensions -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 
  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
  -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
  -fstack-protector -Werror  /src/sys/libkern/umoddi3.c cc -c -O
  -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
  -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
  -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
  -fformat-extensions -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 
  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
  -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
  -fstack-protector -Werror  /src/sys/compat/x86bios/x86bios.c
  cc1: warnings being treated as errors
  /src/sys/compat/x86bios/x86bios.c: In function
  'x86bios_map_mem': /src/sys/compat/x86bios/x86bios.c:558:
  warning: cast to pointer from integer of different size ***
  Error code 1
 
  Stop in /obj/i386/src/sys/PAE.
  *** Error code 1
 
  Stop in /src.
  *** Error code 1
 
  Stop in /src.
  TB --- 2010-03-21 04:58:08 - WARNING: /usr/bin/make returned
  exit code  1 TB --- 2010-03-21 04:58:08 - ERROR: failed to build
  PAE kernel TB --- 2010-03-21 04:58:08 - 5080.43 user 936.95
  system 6788.14 real
 
  Hi Jung,
  Could you please resolve this error?
  Thanks,

 It would have been nice to actually CC Jung-uk :-)
 The problem seems to be that with PAE type of x86bios_rom_phys,
 vm_paddr_t, is 64-bit.
 I am not sure what values x86bios_rom_phys can have, but most
 likely it can be simply cast to a 32-bit value.

Oops, sorry.  It will be fixed soon.  I am testing an i386/PAE kernel 
now.

Jung-uk Kim
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on i386/i386

2010-03-21 Thread Garrett Cooper
On Sat, Mar 20, 2010 at 9:58 PM, FreeBSD Tinderbox
tinder...@freebsd.org wrote:
 TB --- 2010-03-21 03:05:00 - tinderbox 2.6 running on 
 freebsd-current.sentex.ca
 TB --- 2010-03-21 03:05:00 - starting HEAD tinderbox run for i386/i386
 TB --- 2010-03-21 03:05:00 - cleaning the object tree
 TB --- 2010-03-21 03:05:29 - cvsupping the source tree
 TB --- 2010-03-21 03:05:29 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/HEAD/i386/i386/supfile
 TB --- 2010-03-21 03:09:01 - building world
 TB --- 2010-03-21 03:09:01 - MAKEOBJDIRPREFIX=/obj
 TB --- 2010-03-21 03:09:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2010-03-21 03:09:01 - TARGET=i386
 TB --- 2010-03-21 03:09:01 - TARGET_ARCH=i386
 TB --- 2010-03-21 03:09:01 - TZ=UTC
 TB --- 2010-03-21 03:09:01 - __MAKE_CONF=/dev/null
 TB --- 2010-03-21 03:09:01 - cd /src
 TB --- 2010-03-21 03:09:01 - /usr/bin/make -B buildworld
 World build started on Sun Mar 21 03:09:01 UTC 2010
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sun Mar 21 04:08:32 UTC 2010
 TB --- 2010-03-21 04:08:32 - generating LINT kernel config
 TB --- 2010-03-21 04:08:32 - cd /src/sys/i386/conf
 TB --- 2010-03-21 04:08:32 - /usr/bin/make -B LINT
 TB --- 2010-03-21 04:08:32 - building LINT kernel
 TB --- 2010-03-21 04:08:32 - MAKEOBJDIRPREFIX=/obj
 TB --- 2010-03-21 04:08:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2010-03-21 04:08:32 - TARGET=i386
 TB --- 2010-03-21 04:08:32 - TARGET_ARCH=i386
 TB --- 2010-03-21 04:08:32 - TZ=UTC
 TB --- 2010-03-21 04:08:32 - __MAKE_CONF=/dev/null
 TB --- 2010-03-21 04:08:32 - cd /src
 TB --- 2010-03-21 04:08:32 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sun Mar 21 04:08:32 UTC 2010
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for LINT completed on Sun Mar 21 04:33:32 UTC 2010
 TB --- 2010-03-21 04:33:32 - building GENERIC kernel
 TB --- 2010-03-21 04:33:32 - MAKEOBJDIRPREFIX=/obj
 TB --- 2010-03-21 04:33:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2010-03-21 04:33:32 - TARGET=i386
 TB --- 2010-03-21 04:33:32 - TARGET_ARCH=i386
 TB --- 2010-03-21 04:33:32 - TZ=UTC
 TB --- 2010-03-21 04:33:32 - __MAKE_CONF=/dev/null
 TB --- 2010-03-21 04:33:32 - cd /src
 TB --- 2010-03-21 04:33:32 - /usr/bin/make -B buildkernel KERNCONF=GENERIC
 Kernel build for GENERIC started on Sun Mar 21 04:33:32 UTC 2010
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 Kernel build for GENERIC completed on Sun Mar 21 04:53:21 UTC 2010
 TB --- 2010-03-21 04:53:25 - building PAE kernel
 TB --- 2010-03-21 04:53:25 - MAKEOBJDIRPREFIX=/obj
 TB --- 2010-03-21 04:53:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2010-03-21 04:53:25 - TARGET=i386
 TB --- 2010-03-21 04:53:25 - TARGET_ARCH=i386
 TB --- 2010-03-21 04:53:25 - TZ=UTC
 TB --- 2010-03-21 04:53:25 - __MAKE_CONF=/dev/null
 TB --- 2010-03-21 04:53:25 - cd /src
 TB --- 2010-03-21 04:53:25 - /usr/bin/make -B buildkernel KERNCONF=PAE
 Kernel build for PAE started on Sun Mar 21 04:53:25 UTC 2010
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 [...]
 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 -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  
 -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
 -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror  
 /src/sys/libkern/qdivrem.c
 cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -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  
 -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
 -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror