Re: [head tinderbox] failure on sparc64/sparc64

2014-06-28 Thread Hans Petter Selasky

On 06/28/14 14:49, FreeBSD Tinderbox wrote:

TB --- 2014-06-28 11:31:03 - tinderbox 2.22 running on freebsd-current.sentex.ca
TB --- 2014-06-28 11:31:03 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE 
FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2014-06-28 11:31:03 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2014-06-28 11:31:03 - cleaning the object tree
TB --- 2014-06-28 11:32:10 - /usr/local/bin/svn stat --no-ignore /src
TB --- 2014-06-28 11:32:13 - At svn revision 268002
TB --- 2014-06-28 11:32:14 - building world
TB --- 2014-06-28 11:32:14 - CROSS_BUILD_TESTING=YES
TB --- 2014-06-28 11:32:14 - MAKEOBJDIRPREFIX=/obj
TB --- 2014-06-28 11:32:14 - MAKESYSPATH=/src/share/mk
TB --- 2014-06-28 11:32:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2014-06-28 11:32:14 - SRCCONF=/dev/null
TB --- 2014-06-28 11:32:14 - TARGET=sparc64
TB --- 2014-06-28 11:32:14 - TARGET_ARCH=sparc64
TB --- 2014-06-28 11:32:14 - TZ=UTC
TB --- 2014-06-28 11:32:14 - __MAKE_CONF=/dev/null
TB --- 2014-06-28 11:32:14 - cd /src
TB --- 2014-06-28 11:32:14 - /usr/bin/make -B buildworld

Building an up-to-date bmake(1)
World build started on Sat Jun 28 11:32:21 UTC 2014
Rebuilding the temporary build tree
stage 1.1: legacy release compatibility shims
stage 1.2: bootstrap tools
stage 2.1: cleaning up the object tree
stage 2.2: rebuilding the object tree
stage 2.3: build tools
stage 3: cross tools
stage 4.1: building includes
stage 4.2: building libraries
stage 4.3: make dependencies
stage 4.4: building everything
World build completed on Sat Jun 28 12:39:41 UTC 2014

TB --- 2014-06-28 12:39:41 - generating LINT kernel config


I'll fix this shortly.

--HPS

___
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 sparc64/sparc64

2013-07-11 Thread John Baldwin
On Thursday, July 11, 2013 3:07:33 am Adrian Chadd wrote:
> On 11 July 2013 00:05, Navdeep Parhar  wrote:
> > On Wed, Jul 10, 2013 at 10:38:47PM -0700, Adrian Chadd wrote:
> >> I don't get why this is dying. any ideas?
> >
> > Maybe because sparc64's ucontext.h is getting pulled in, and it has
> > this:
> >
> > #define mc_flagsmc_global[0]
> 
> Ugh, we should fix this. When did this happen?

annotate is your friend.  It's over 10 years old:

Working file: /home/jhb/work/freebsd/svn/head/sys/sparc64/include/ucontext.h

r105733 | jake | 2002-10-22 14:03:15 -0400 (Tue, 22 Oct 2002) | 13 lines

- Expand struct trapframe to 256 bytes, make all fields fixed width and the
  same size.  Add some fields that previously overlapped with something else
  or were missing.
- Make struct regs and struct mcontext (minus floating point) the same as
  struct trapframe so converting between them is easy (null).
- Add space for saving floating point state to struct mcontext.  This requires
  that it be 64 byte aligned.
- Add assertions that none of these structures change size, as they are part
  of the ABI.
- Remove some dead code in sendsig().
- Save and restore %gsr in struct trapframe.  Remember to restore %fsr.
- Add some comments to exception.S.



-- 
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 sparc64/sparc64

2013-07-11 Thread Jackson Donadel
I think it´s in your kernel config file LINT.

In your log we can read this  Kernel build for LINT started on Thu Jul
11 04:07:01 UTC 2013

I had the same issue with current yesterday.



2013/7/11 Navdeep Parhar 

> On Thu, Jul 11, 2013 at 12:07:33AM -0700, Adrian Chadd wrote:
> > On 11 July 2013 00:05, Navdeep Parhar  wrote:
> > > On Wed, Jul 10, 2013 at 10:38:47PM -0700, Adrian Chadd wrote:
> > >> I don't get why this is dying. any ideas?
> > >
> > > Maybe because sparc64's ucontext.h is getting pulled in, and it has
> > > this:
> > >
> > > #define mc_flagsmc_global[0]
> >
> > Ugh, we should fix this. When did this happen?
>
> You tell me.  I was just running cscope in my spare time ;-)
> ___
> freebsd-spar...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64
> To unsubscribe, send any mail to "freebsd-sparc64-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 sparc64/sparc64

2013-07-11 Thread Navdeep Parhar
On Thu, Jul 11, 2013 at 12:07:33AM -0700, Adrian Chadd wrote:
> On 11 July 2013 00:05, Navdeep Parhar  wrote:
> > On Wed, Jul 10, 2013 at 10:38:47PM -0700, Adrian Chadd wrote:
> >> I don't get why this is dying. any ideas?
> >
> > Maybe because sparc64's ucontext.h is getting pulled in, and it has
> > this:
> >
> > #define mc_flagsmc_global[0]
> 
> Ugh, we should fix this. When did this happen?

You tell me.  I was just running cscope in my spare time ;-)
___
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 sparc64/sparc64

2013-07-11 Thread Adrian Chadd
On 11 July 2013 00:05, Navdeep Parhar  wrote:
> On Wed, Jul 10, 2013 at 10:38:47PM -0700, Adrian Chadd wrote:
>> I don't get why this is dying. any ideas?
>
> Maybe because sparc64's ucontext.h is getting pulled in, and it has
> this:
>
> #define mc_flagsmc_global[0]

Ugh, we should fix this. When did this happen?



-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 sparc64/sparc64

2013-07-11 Thread Navdeep Parhar
On Wed, Jul 10, 2013 at 10:38:47PM -0700, Adrian Chadd wrote:
> I don't get why this is dying. any ideas?

Maybe because sparc64's ucontext.h is getting pulled in, and it has
this:

#define mc_flagsmc_global[0]

Regards,
Navdeep

> 
> 
> 
> adrian
> 
> On 10 July 2013 21:18, FreeBSD Tinderbox  wrote:
> > TB --- 2013-07-11 02:56:02 - tinderbox 2.10 running on 
> > freebsd-current.sentex.ca
> > TB --- 2013-07-11 02:56:02 - 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-11 02:56:02 - starting HEAD tinderbox run for sparc64/sparc64
> > TB --- 2013-07-11 02:56:02 - cleaning the object tree
> > TB --- 2013-07-11 02:56:56 - /usr/local/bin/svn stat /src
> > TB --- 2013-07-11 02:57:06 - At svn revision 253161
> > TB --- 2013-07-11 02:57:07 - building world
> > TB --- 2013-07-11 02:57:07 - CROSS_BUILD_TESTING=YES
> > TB --- 2013-07-11 02:57:07 - MAKEOBJDIRPREFIX=/obj
> > TB --- 2013-07-11 02:57:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> > TB --- 2013-07-11 02:57:07 - SRCCONF=/dev/null
> > TB --- 2013-07-11 02:57:07 - TARGET=sparc64
> > TB --- 2013-07-11 02:57:07 - TARGET_ARCH=sparc64
> > TB --- 2013-07-11 02:57:07 - TZ=UTC
> > TB --- 2013-07-11 02:57:07 - __MAKE_CONF=/dev/null
> > TB --- 2013-07-11 02:57:07 - cd /src
> > TB --- 2013-07-11 02:57:07 - /usr/bin/make -B buildworld
>  Building an up-to-date make(1)
>  World build started on Thu Jul 11 02:57:14 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 Thu Jul 11 04:07:01 UTC 2013
> > TB --- 2013-07-11 04:07:01 - generating LINT kernel config
> > TB --- 2013-07-11 04:07:01 - cd /src/sys/sparc64/conf
> > TB --- 2013-07-11 04:07:01 - /usr/bin/make -B LINT
> > TB --- 2013-07-11 04:07:01 - cd /src/sys/sparc64/conf
> > TB --- 2013-07-11 04:07:01 - /usr/sbin/config -m LINT
> > TB --- 2013-07-11 04:07:01 - building LINT kernel
> > TB --- 2013-07-11 04:07:01 - CROSS_BUILD_TESTING=YES
> > TB --- 2013-07-11 04:07:01 - MAKEOBJDIRPREFIX=/obj
> > TB --- 2013-07-11 04:07:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> > TB --- 2013-07-11 04:07:01 - SRCCONF=/dev/null
> > TB --- 2013-07-11 04:07:01 - TARGET=sparc64
> > TB --- 2013-07-11 04:07:01 - TARGET_ARCH=sparc64
> > TB --- 2013-07-11 04:07:01 - TZ=UTC
> > TB --- 2013-07-11 04:07:01 - __MAKE_CONF=/dev/null
> > TB --- 2013-07-11 04:07:01 - cd /src
> > TB --- 2013-07-11 04:07:01 - /usr/bin/make -B buildkernel KERNCONF=LINT
>  Kernel build for LINT started on Thu Jul 11 04:07:01 UTC 2013
>  stage 1: configuring the kernel
>  stage 2.1: cleaning up the object tree
>  stage 2.2: rebuilding the object tree
>  stage 2.3: build tools
>  stage 3.1: making dependencies
>  stage 3.2: building everything
> > [...]
> > cc  -c -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/net80211/ieee80211_mesh.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=15000 --param 
> > inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
> > -mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror  
> > /src/sys/net80211/ieee80211_monitor.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=15000 --param 
> > inline-unit-growth

Re: [head tinderbox] failure on sparc64/sparc64

2013-07-10 Thread Adrian Chadd
I don't get why this is dying. any ideas?



adrian

On 10 July 2013 21:18, FreeBSD Tinderbox  wrote:
> TB --- 2013-07-11 02:56:02 - tinderbox 2.10 running on 
> freebsd-current.sentex.ca
> TB --- 2013-07-11 02:56:02 - 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-11 02:56:02 - starting HEAD tinderbox run for sparc64/sparc64
> TB --- 2013-07-11 02:56:02 - cleaning the object tree
> TB --- 2013-07-11 02:56:56 - /usr/local/bin/svn stat /src
> TB --- 2013-07-11 02:57:06 - At svn revision 253161
> TB --- 2013-07-11 02:57:07 - building world
> TB --- 2013-07-11 02:57:07 - CROSS_BUILD_TESTING=YES
> TB --- 2013-07-11 02:57:07 - MAKEOBJDIRPREFIX=/obj
> TB --- 2013-07-11 02:57:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2013-07-11 02:57:07 - SRCCONF=/dev/null
> TB --- 2013-07-11 02:57:07 - TARGET=sparc64
> TB --- 2013-07-11 02:57:07 - TARGET_ARCH=sparc64
> TB --- 2013-07-11 02:57:07 - TZ=UTC
> TB --- 2013-07-11 02:57:07 - __MAKE_CONF=/dev/null
> TB --- 2013-07-11 02:57:07 - cd /src
> TB --- 2013-07-11 02:57:07 - /usr/bin/make -B buildworld
 Building an up-to-date make(1)
 World build started on Thu Jul 11 02:57:14 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 Thu Jul 11 04:07:01 UTC 2013
> TB --- 2013-07-11 04:07:01 - generating LINT kernel config
> TB --- 2013-07-11 04:07:01 - cd /src/sys/sparc64/conf
> TB --- 2013-07-11 04:07:01 - /usr/bin/make -B LINT
> TB --- 2013-07-11 04:07:01 - cd /src/sys/sparc64/conf
> TB --- 2013-07-11 04:07:01 - /usr/sbin/config -m LINT
> TB --- 2013-07-11 04:07:01 - building LINT kernel
> TB --- 2013-07-11 04:07:01 - CROSS_BUILD_TESTING=YES
> TB --- 2013-07-11 04:07:01 - MAKEOBJDIRPREFIX=/obj
> TB --- 2013-07-11 04:07:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2013-07-11 04:07:01 - SRCCONF=/dev/null
> TB --- 2013-07-11 04:07:01 - TARGET=sparc64
> TB --- 2013-07-11 04:07:01 - TARGET_ARCH=sparc64
> TB --- 2013-07-11 04:07:01 - TZ=UTC
> TB --- 2013-07-11 04:07:01 - __MAKE_CONF=/dev/null
> TB --- 2013-07-11 04:07:01 - cd /src
> TB --- 2013-07-11 04:07:01 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Thu Jul 11 04:07:01 UTC 2013
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
> [...]
> cc  -c -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/net80211/ieee80211_mesh.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=15000 --param inline-unit-growth=100 
> --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
> -ffreestanding -fstack-protector -Werror  
> /src/sys/net80211/ieee80211_monitor.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=15000 --param inline-unit-growth=100 
> --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float 
> -ffreestanding -fstack-protector -Werror  /src/sys/net80211/ieee80211_node.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-ex

Re: [head tinderbox] failure on sparc64/sparc64

2013-03-24 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 3/24/13 12:20 AM, FreeBSD Tinderbox wrote:
> TB --- 2013-03-24 06:26:48 - tinderbox 2.10 running on
> freebsd-current.sentex.ca TB --- 2013-03-24 06:26:48 - 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-03-24 06:26:48 - starting HEAD tinderbox run for
> sparc64/sparc64 TB --- 2013-03-24 06:26:48 - cleaning the object
> tree TB --- 2013-03-24 06:26:48 - /usr/local/bin/svn stat /src TB
> --- 2013-03-24 06:26:53 - At svn revision 248671 TB --- 2013-03-24
> 06:26:54 - building world TB --- 2013-03-24 06:26:54 -
> CROSS_BUILD_TESTING=YES TB --- 2013-03-24 06:26:54 -
> MAKEOBJDIRPREFIX=/obj TB --- 2013-03-24 06:26:54 -
> PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-03-24 06:26:54 -
> SRCCONF=/dev/null TB --- 2013-03-24 06:26:54 - TARGET=sparc64 TB
> --- 2013-03-24 06:26:54 - TARGET_ARCH=sparc64 TB --- 2013-03-24
> 06:26:54 - TZ=UTC TB --- 2013-03-24 06:26:54 -
> __MAKE_CONF=/dev/null TB --- 2013-03-24 06:26:54 - cd /src TB ---
> 2013-03-24 06:26:54 - /usr/bin/make -B buildworld
 Building an up-to-date make(1) World build started on Sun Mar
 24 06:26:59 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
> [...] cc -O2 -pipe  -I/src/sbin/fsck_ffs
> -I/src/sbin/fsck_ffs/../mount -DRESCUE -std=gnu99 -fstack-protector
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized
> -Wno-pointer-sign -c /src/sbin/fsck_ffs/ea.c cc -O2 -pipe
> -I/src/sbin/fsck_ffs -I/src/sbin/fsck_ffs/../mount -DRESCUE
> -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall
> -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c
> /src/sbin/fsck_ffs/fsutil.c cc1: warnings being treated as errors 
> /src/sbin/fsck_ffs/fsutil.c: In function 'printIOstats': 
> /src/sbin/fsck_ffs/fsutil.c:511: warning: format '%d' expects type
> 'int', but argument 2 has type 'time_t' 
> /src/sbin/fsck_ffs/fsutil.c:526: warning: format '%4d' expects type
> 'int', but argument 6 has type 'time_t' 
> /src/sbin/fsck_ffs/fsutil.c:526: warning: format '%2jd' expects
> type 'intmax_t', but argument 8 has type 'long long int' 
> /src/sbin/fsck_ffs/fsutil.c:526: warning: format '%jd' expects type
> 'intmax_t', but argument 9 has type 'long long int' *** [fsutil.o]
> Error code 1

This should fix the issue, can someone review and commit it?

Index: sbin/fsck_ffs/fsutil.c
===
- --- sbin/fsck_ffs/fsutil.c  (revision 248678)
+++ sbin/fsck_ffs/fsutil.c  (working copy)
@@ -507,8 +507,8 @@ static void printIOstats(void)

clock_gettime(CLOCK_REALTIME_PRECISE, &finishpass);
timespecsub(&finishpass, &startpass);
- -   printf("Running time: %ld.%03ld msec\n",
- -   finishpass.tv_sec, finishpass.tv_nsec / 100);
+   printf("Running time: %jd.%03jd msec\n",
+   (intmax_t)finishpass.tv_sec,
(intmax_t)finishpass.tv_nsec / 100);
printf("buffer reads by type:\n");
for (totalmsec = 0, i = 0; i < BT_NUMBUFTYPES; i++)
totalmsec += readtime[i].tv_sec * 1000 +
@@ -519,10 +519,10 @@ static void printIOstats(void)
if (readcnt[i] == 0)
continue;
msec = readtime[i].tv_sec * 1000 + readtime[i].tv_nsec
/ 100;
- -   printf("%21s:%8ld %2ld.%ld%% %4ld.%03ld sec
%2lld.%lld%%\n",
+   printf("%21s:%8ld %2ld.%ld%% %4jd.%03jd sec
%2lld.%lld%%\n",
buftype[i], readcnt[i], readcnt[i] * 100 / diskreads,
(readcnt[i] * 1000 / diskreads) % 10,
- -   readtime[i].tv_sec, readtime[i].tv_nsec / 100,
+   (intmax_t)readtime[i].tv_sec,
(intmax_t)readtime[i].tv_nsec / 100,
msec * 100 / totalmsec, (msec * 1000 / totalmsec)
% 10);
}
printf("\n");

Cheers,
-BEGIN PGP SIGNATURE-

iQEcBAEBCAAGBQJRTsUUAAoJEG80Jeu8UPuziSkIAImVgY8aEExJ1b2zLu2wLL2y
hHpQ+oMf63WFEQ3XN+wYnY0sZyjpBCTUULkdSQPbnj9eymJ8UkaPkdvE2JN4jWDu
UqTuSI4E7IYZpoH06LiAZTnNFI0+H072sdFTw7bUVwLTm4x7lOUD2G9JFZCOhBKi
QyXJ1r6i/jTORoRH+3oAYEl5hZk9IniFBkQp7i5Elzm/mxFpT/H7b48ptTmv+3+o
fKRLduuu6zNd+DtCOUmPAgyOOLyh1szAxhoIdQj5iopRgzdS1f5uQ7xP+SWqDhrl
PdT8YtEfFuXFeAg+PpgDWTank7lMKn4QBNn9g4CsvLrs4eA/JN3aSStuMWkzfgQ=
=VsRR
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.o

Re: [head tinderbox] failure on sparc64/sparc64

2012-05-21 Thread Dag-Erling Smørgrav
FreeBSD Tinderbox  writes:
> /src/lib/libc/net/nsparser.y: In function '_nsaddsrctomap':
> /src/lib/libc/net/nsparser.y:169: warning: implicit declaration of function 
> 'free'
> In file included from nsparser.c:398:
> /src/lib/libc/../../include/stdlib.h: At top level:
> /src/lib/libc/../../include/stdlib.h:93: warning: conflicting types for 'free'
> /src/lib/libc/net/nsparser.y:169: warning: previous implicit declaration of 
> 'free' was here
> *** Error code 1

There seems to be a slight difference in the generated code, where the
old yacc placed #include  at the top of the output while the
new yacc places it further down.  Unfortunately, I can't access the
build box right now, so I can't compare the files directly.

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [head tinderbox] failure on sparc64/sparc64

2012-01-30 Thread Jack Vogel
Someone with sparc build experience want to look at this and maybe see
something I'm missing,
this error makes no sense to me, these are defined in ixgbe_type.h and I
see nothing architecture sensitive??

Jack


On Mon, Jan 30, 2012 at 10:51 AM, FreeBSD Tinderbox
wrote:

> TB --- 2012-01-30 17:49:37 - tinderbox 2.8 running on
> freebsd-current.sentex.ca
> TB --- 2012-01-30 17:49:37 - starting HEAD tinderbox run for
> sparc64/sparc64
> TB --- 2012-01-30 17:49:37 - cleaning the object tree
> TB --- 2012-01-30 17:49:45 - cvsupping the source tree
> TB --- 2012-01-30 17:49:45 - /usr/bin/csup -z -r 3 -g -L 1 -h
> cvsup.sentex.ca /tinderbox/HEAD/sparc64/sparc64/supfile
> TB --- 2012-01-30 17:50:20 - building world
> TB --- 2012-01-30 17:50:20 - CROSS_BUILD_TESTING=YES
> TB --- 2012-01-30 17:50:20 - MAKEOBJDIRPREFIX=/obj
> TB --- 2012-01-30 17:50:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2012-01-30 17:50:20 - SRCCONF=/dev/null
> TB --- 2012-01-30 17:50:20 - TARGET=sparc64
> TB --- 2012-01-30 17:50:20 - TARGET_ARCH=sparc64
> TB --- 2012-01-30 17:50:20 - TZ=UTC
> TB --- 2012-01-30 17:50:20 - __MAKE_CONF=/dev/null
> TB --- 2012-01-30 17:50:20 - cd /src
> TB --- 2012-01-30 17:50:20 - /usr/bin/make -B buildworld
> >>> World build started on Mon Jan 30 17:50:21 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 Mon Jan 30 18:46:15 UTC 2012
> TB --- 2012-01-30 18:46:15 - generating LINT kernel config
> TB --- 2012-01-30 18:46:15 - cd /src/sys/sparc64/conf
> TB --- 2012-01-30 18:46:15 - /usr/bin/make -B LINT
> TB --- 2012-01-30 18:46:15 - cd /src/sys/sparc64/conf
> TB --- 2012-01-30 18:46:15 - /usr/sbin/config -m LINT
> TB --- 2012-01-30 18:46:15 - building LINT kernel
> TB --- 2012-01-30 18:46:15 - CROSS_BUILD_TESTING=YES
> TB --- 2012-01-30 18:46:15 - MAKEOBJDIRPREFIX=/obj
> TB --- 2012-01-30 18:46:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2012-01-30 18:46:15 - SRCCONF=/dev/null
> TB --- 2012-01-30 18:46:15 - TARGET=sparc64
> TB --- 2012-01-30 18:46:15 - TARGET_ARCH=sparc64
> TB --- 2012-01-30 18:46:15 - TZ=UTC
> TB --- 2012-01-30 18:46:15 - __MAKE_CONF=/dev/null
> TB --- 2012-01-30 18:46:15 - cd /src
> TB --- 2012-01-30 18:46:15 - /usr/bin/make -B buildkernel KERNCONF=LINT
> >>> Kernel build for LINT started on Mon Jan 30 18:46: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 -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/ixgbe/ixgbe_mbx.c -I/src/sys/dev/ixgbe
> cc1: warnings being treated as errors
> /src/sys/dev/ixgbe/ixgbe_mbx.c: In function 'ixgbe_obtain_mbx_lock_pf':
> /src/sys/dev/ixgbe/ixgbe_mbx.c:629: warning: implicit declaration of
> function 'IXGBE_PFMAILBOX'
> /src/sys/dev/ixgbe/ixgbe_mbx.c:629: warning: nested extern declaration of
> 'IXGBE_PFMAILBOX' [-Wnested-externs]
> /src/sys/dev/ixgbe/ixgbe_mbx.c: In function 'ixgbe_write_mbx_pf':
> /src/sys/dev/ixgbe/ixgbe_mbx.c:667: warning: implicit declaration of
> function 'IXGBE_PFMBMEM'
> /src/sys/dev/ixgbe/ixgbe_mbx.c:667: warning: nested extern declaration of
> 'IXGBE_PFMBMEM' [-Wnested-externs]
> *** Error code 1
>
> Stop in /obj/sparc64.sparc64/src/sys/LINT.
> *** Error code 1
>
> Stop in /src.
> *** Error code 1
>
> Stop in /src.
> TB --- 2012-01-30 18:51:42 - WARNING: /usr/bin/make returned exit code  1
> TB --- 2012-01-30 18:51:42 - ERROR: failed to build LINT kernel
> TB --- 2012-01-30 18:51:42 - 3062.26 user 569.34 system 3725.59 real
>
>
> http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.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 mai

Re: [head tinderbox] failure on sparc64/sparc64

2011-12-18 Thread Bjoern A. Zeeb

On 18. Dec 2011, at 18:07 , Dag-Erling Smørgrav wrote:

> FreeBSD Tinderbox  writes:
>> In file included from /src/sys/dev/e1000/if_em.c:400:
>> /src/sys/dev/netmap/if_em_netmap.h: In function 'em_netmap_rxsync':
>> /src/sys/dev/netmap/if_em_netmap.h:332: warning: dereferencing 'void *' 
>> pointer
>> /src/sys/dev/netmap/if_em_netmap.h:332: error: request for member 'dt_mt' in 
>> something not a structure or union
>> *** Error code 1
> 
> I made a mistake when I added support for additional LINT kernels
> (e.g. LINT-NOINET) so the additional kernels got built, but plain LINT
> didn't.  As a result, this error has gone unnoticed by the tinderbox,
> even though it's been there for quite a while (or so I've been told).

Thanks a lot for fixing the tinderbox (I remember I had seen the original
expression and had missed that LINT case).

On the error: I have seen it for at least 4 days but hadn't removed my
obj tree entirely.  I also followed up to one of the later commits with
jfv and luigi discussing the last driver update, so hope they'll fix it soon.

Thanks a lot again for promptly fixing the script and compiling LINT again as 
well!

/bz

-- 
Bjoern A. Zeeb You have to have visions!
 Stop bit received. Insert coin for new address family.

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


Re: [head tinderbox] failure on sparc64/sparc64

2011-12-18 Thread Dag-Erling Smørgrav
FreeBSD Tinderbox  writes:
> In file included from /src/sys/dev/e1000/if_em.c:400:
> /src/sys/dev/netmap/if_em_netmap.h: In function 'em_netmap_rxsync':
> /src/sys/dev/netmap/if_em_netmap.h:332: warning: dereferencing 'void *' 
> pointer
> /src/sys/dev/netmap/if_em_netmap.h:332: error: request for member 'dt_mt' in 
> something not a structure or union
> *** Error code 1

I made a mistake when I added support for additional LINT kernels
(e.g. LINT-NOINET) so the additional kernels got built, but plain LINT
didn't.  As a result, this error has gone unnoticed by the tinderbox,
even though it's been there for quite a while (or so I've been told).

DES
-- 
Dag-Erling Smørgrav - d...@des.no
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [head tinderbox] failure on sparc64/sparc64

2011-08-08 Thread Adrian Chadd
As mentioned in the related commit, this was my fault, and I'm sorry!

Sean emailed me this a few minutes after I committed it, and I fixed
it shortly after. I guess tinderbox got lucky :)

I'll be more careful in the future with this conditional debugging stuff.


Adrian

On 9 August 2011 04:33, FreeBSD Tinderbox  wrote:
> TB --- 2011-08-08 19:26:57 - tinderbox 2.7 running on 
> freebsd-current.sentex.ca
> TB --- 2011-08-08 19:26:57 - starting HEAD tinderbox run for sparc64/sparc64
> TB --- 2011-08-08 19:26:57 - cleaning the object tree
> TB --- 2011-08-08 19:27:13 - cvsupping the source tree
> TB --- 2011-08-08 19:27:13 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
> /tinderbox/HEAD/sparc64/sparc64/supfile
> TB --- 2011-08-08 19:27:50 - building world
> TB --- 2011-08-08 19:27:50 - MAKEOBJDIRPREFIX=/obj
> TB --- 2011-08-08 19:27:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2011-08-08 19:27:50 - TARGET=sparc64
> TB --- 2011-08-08 19:27:50 - TARGET_ARCH=sparc64
> TB --- 2011-08-08 19:27:50 - TZ=UTC
> TB --- 2011-08-08 19:27:50 - __MAKE_CONF=/dev/null
> TB --- 2011-08-08 19:27:50 - cd /src
> TB --- 2011-08-08 19:27:50 - /usr/bin/make -B buildworld
 World build started on Mon Aug  8 19:27:50 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 Aug  8 20:29:54 UTC 2011
> TB --- 2011-08-08 20:29:54 - generating LINT kernel config
> TB --- 2011-08-08 20:29:54 - cd /src/sys/sparc64/conf
> TB --- 2011-08-08 20:29:54 - /usr/bin/make -B LINT
> TB --- 2011-08-08 20:29:54 - building LINT kernel
> TB --- 2011-08-08 20:29:54 - MAKEOBJDIRPREFIX=/obj
> TB --- 2011-08-08 20:29:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2011-08-08 20:29:54 - TARGET=sparc64
> TB --- 2011-08-08 20:29:54 - TARGET_ARCH=sparc64
> TB --- 2011-08-08 20:29:54 - TZ=UTC
> TB --- 2011-08-08 20:29:54 - __MAKE_CONF=/dev/null
> TB --- 2011-08-08 20:29:54 - cd /src
> TB --- 2011-08-08 20:29:54 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Mon Aug  8 20:29:54 UTC 2011
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
> [...]
> cc -c -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/ah_eeprom_v14.c -I/src/sys/dev/ath
> 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/ah_eeprom_v4k.c -I/src/sys/dev/ath
> 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/ah_eeprom_9287.c -I/src/sys/dev/ath
> 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 -

Re: [head tinderbox] failure on sparc64/sparc64

2011-06-30 Thread Garrett Cooper
On Thu, Jun 30, 2011 at 3:34 PM, FreeBSD Tinderbox
 wrote:
> TB --- 2011-06-30 21:40:13 - tinderbox 2.7 running on 
> freebsd-current.sentex.ca
> TB --- 2011-06-30 21:40:13 - starting HEAD tinderbox run for sparc64/sparc64
> TB --- 2011-06-30 21:40:13 - cleaning the object tree
> TB --- 2011-06-30 21:40:31 - cvsupping the source tree
> TB --- 2011-06-30 21:40:31 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
> /tinderbox/HEAD/sparc64/sparc64/supfile
> TB --- 2011-06-30 21:40:45 - building world
> TB --- 2011-06-30 21:40:45 - MAKEOBJDIRPREFIX=/obj
> TB --- 2011-06-30 21:40:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2011-06-30 21:40:45 - TARGET=sparc64
> TB --- 2011-06-30 21:40:45 - TARGET_ARCH=sparc64
> TB --- 2011-06-30 21:40:45 - TZ=UTC
> TB --- 2011-06-30 21:40:45 - __MAKE_CONF=/dev/null
> TB --- 2011-06-30 21:40:45 - cd /src
> TB --- 2011-06-30 21:40:45 - /usr/bin/make -B buildworld
 World build started on Thu Jun 30 21:40:45 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
> [...]
> cc -O2 -pipe  -DLOADER_DISK_SUPPORT -DLOADER_UFS_SUPPORT 
> -DLOADER_CD9660_SUPPORT -DLOADER_GZIP_SUPPORT -DLOADER_NET_SUPPORT 
> -DLOADER_NFS_SUPPORT -DLOADER_TFTP_SUPPORT -DBOOT_FORTH 
> -I/src/sys/boot/sparc64/loader/../../ficl 
> -I/src/sys/boot/sparc64/loader/../../ficl/sparc64 
> -I/src/sys/boot/sparc64/loader/../../common -I. -DNETIF_OPEN_CLOSE_ONCE 
> -I/src/sys/boot/sparc64/loader/../../ofw/libofw/ 
> -I/src/sys/boot/sparc64/loader/../../../../lib/libstand/ -ffreestanding 
> -std=gnu99  -c /src/sys/boot/sparc64/loader/../../common/devopen.c
> cc -O2 -pipe  -DLOADER_DISK_SUPPORT -DLOADER_UFS_SUPPORT 
> -DLOADER_CD9660_SUPPORT -DLOADER_GZIP_SUPPORT -DLOADER_NET_SUPPORT 
> -DLOADER_NFS_SUPPORT -DLOADER_TFTP_SUPPORT -DBOOT_FORTH 
> -I/src/sys/boot/sparc64/loader/../../ficl 
> -I/src/sys/boot/sparc64/loader/../../ficl/sparc64 
> -I/src/sys/boot/sparc64/loader/../../common -I. -DNETIF_OPEN_CLOSE_ONCE 
> -I/src/sys/boot/sparc64/loader/../../ofw/libofw/ 
> -I/src/sys/boot/sparc64/loader/../../../../lib/libstand/ -ffreestanding 
> -std=gnu99  -c /src/sys/boot/sparc64/loader/../../common/disk.c
> /src/sys/boot/sparc64/loader/../../common/disk.c: In function 'disk_openmbr':
> /src/sys/boot/sparc64/loader/../../common/disk.c:328: error: 'LABELSECTOR' 
> undeclared (first use in this function)
> /src/sys/boot/sparc64/loader/../../common/disk.c:328: error: (Each undeclared 
> identifier is reported only once
> /src/sys/boot/sparc64/loader/../../common/disk.c:328: error: for each 
> function it appears in.)
> /src/sys/boot/sparc64/loader/../../common/disk.c: In function 
> 'disk_printbsdslice':
> /src/sys/boot/sparc64/loader/../../common/disk.c:376: error: 'LABELSECTOR' 
> undeclared (first use in this function)
> *** Error code 1
>
> Stop in /src/sys/boot/sparc64/loader.
> *** Error code 1
>
> Stop in /src/sys/boot/sparc64.
> *** Error code 1
>
> Stop in /src/sys/boot.
> *** Error code 1
>
> Stop in /src/sys.
> *** Error code 1
>
> Stop in /src.
> *** Error code 1
>
> Stop in /src.
> *** Error code 1

It looks like r223695 broke sparc64:

$ grep -B 3 -r LABELSECTOR /usr/include/
/usr/include/sys/disklabel.h-/* XXX these should be defined per
controller (or drive) elsewhere, not here! */
/usr/include/sys/disklabel.h-#if defined(__i386__) ||
defined(__amd64__) || defined(__arm__) || \
/usr/include/sys/disklabel.h-defined(__ia64__) ||
defined(__powerpc__) || defined(__mips__)
/usr/include/sys/disklabel.h:#define LABELSECTOR1
/* sector containing label */

Thanks,
-Garrett
___
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 sparc64/sparc64

2011-06-16 Thread Tai-hwa Liang

On Thu, 16 Jun 2011, Garrett Cooper wrote:

On Wed, Jun 15, 2011 at 9:36 PM, FreeBSD Tinderbox
 wrote:

TB --- 2011-06-16 04:08:45 - tinderbox 2.7 running on freebsd-current.sentex.ca
TB --- 2011-06-16 04:08:45 - starting HEAD tinderbox run for sparc64/sparc64

[...]

cc -O2 -pipe �-ffreestanding -Wformat -I/src/lib/libstand -DBZ_NO_STDIO 
-DBZ_NO_COMPRESS -DHAVE_MEMCPY -I/src/lib/libstand/../libz -std=gnu99 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
-Wno-pointer-sign -c /src/lib/libstand/twiddle.c
cc -O2 -pipe �-ffreestanding -Wformat -I/src/lib/libstand -DBZ_NO_STDIO 
-DBZ_NO_COMPRESS -DHAVE_MEMCPY -I/src/lib/libstand/../libz -std=gnu99 
-Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
-Wno-pointer-sign -c /src/lib/libstand/zalloc.c
cc1: warnings being treated as errors
/src/lib/libstand/zalloc.c: In function 'zfree':
/src/lib/libstand/zalloc.c:157: warning: format '%d' expects type 'int', but 
argument 3 has type 'iaddr_t'
/src/lib/libstand/zalloc.c:181: warning: format '%d' expects type 'int', but 
argument 3 has type 'iaddr_t'
/src/lib/libstand/zalloc.c:212: warning: format '%d' expects type 'int', but 
argument 3 has type 'iaddr_t'
*** Error code 1

Stop in /src/lib/libstand.
*** Error code 1


Could someone please fix the tinderbox compile on sparc64 with this
file via this patch?


  Committed as r223139.

Thanks,

Tai-hwa Liang___
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 sparc64/sparc64

2011-06-16 Thread Garrett Cooper
On Wed, Jun 15, 2011 at 9:36 PM, FreeBSD Tinderbox
 wrote:
> TB --- 2011-06-16 04:08:45 - tinderbox 2.7 running on 
> freebsd-current.sentex.ca
> TB --- 2011-06-16 04:08:45 - starting HEAD tinderbox run for sparc64/sparc64
> TB --- 2011-06-16 04:08:45 - cleaning the object tree
> TB --- 2011-06-16 04:08:48 - cvsupping the source tree
> TB --- 2011-06-16 04:08:48 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
> /tinderbox/HEAD/sparc64/sparc64/supfile
> TB --- 2011-06-16 04:09:15 - building world
> TB --- 2011-06-16 04:09:15 - MAKEOBJDIRPREFIX=/obj
> TB --- 2011-06-16 04:09:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2011-06-16 04:09:15 - TARGET=sparc64
> TB --- 2011-06-16 04:09:15 - TARGET_ARCH=sparc64
> TB --- 2011-06-16 04:09:15 - TZ=UTC
> TB --- 2011-06-16 04:09:15 - __MAKE_CONF=/dev/null
> TB --- 2011-06-16 04:09:15 - cd /src
> TB --- 2011-06-16 04:09:15 - /usr/bin/make -B buildworld
 World build started on Thu Jun 16 04:09:15 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
> [...]
> cc -O2 -pipe  -ffreestanding -Wformat -I/src/lib/libstand -DBZ_NO_STDIO 
> -DBZ_NO_COMPRESS -DHAVE_MEMCPY -I/src/lib/libstand/../libz -std=gnu99 
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
> -Wno-pointer-sign -c /src/lib/libstand/sbrk.c
> cc -O2 -pipe  -ffreestanding -Wformat -I/src/lib/libstand -DBZ_NO_STDIO 
> -DBZ_NO_COMPRESS -DHAVE_MEMCPY -I/src/lib/libstand/../libz -std=gnu99 
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
> -Wno-pointer-sign -c /src/lib/libstand/twiddle.c
> cc -O2 -pipe  -ffreestanding -Wformat -I/src/lib/libstand -DBZ_NO_STDIO 
> -DBZ_NO_COMPRESS -DHAVE_MEMCPY -I/src/lib/libstand/../libz -std=gnu99 
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized 
> -Wno-pointer-sign -c /src/lib/libstand/zalloc.c
> cc1: warnings being treated as errors
> /src/lib/libstand/zalloc.c: In function 'zfree':
> /src/lib/libstand/zalloc.c:157: warning: format '%d' expects type 'int', but 
> argument 3 has type 'iaddr_t'
> /src/lib/libstand/zalloc.c:181: warning: format '%d' expects type 'int', but 
> argument 3 has type 'iaddr_t'
> /src/lib/libstand/zalloc.c:212: warning: format '%d' expects type 'int', but 
> argument 3 has type 'iaddr_t'
> *** Error code 1
>
> Stop in /src/lib/libstand.
> *** Error code 1

Could someone please fix the tinderbox compile on sparc64 with this
file via this patch?
Thanks!
-Garrett
Index: lib/libstand/zalloc.c
===
--- lib/libstand/zalloc.c	(revision 223138)
+++ lib/libstand/zalloc.c	(working copy)
@@ -154,7 +154,7 @@
 if ((char *)ptr < (char *)mp->mp_Base || 
 	(char *)ptr + bytes > (char *)mp->mp_End ||
 	((iaddr_t)ptr & MEMNODE_SIZE_MASK) != 0)
-	panic("zfree(%p,%d): wild pointer", ptr, bytes);
+	panic("zfree(%p,%ju): wild pointer", ptr, bytes);
 
 /*
  * free the segment
@@ -178,7 +178,7 @@
 		 * range check
 		 */
 		if ((char *)ptr + bytes > (char *)mn)
-		panic("zfree(%p,%d): corrupt memlist1",ptr, bytes);
+		panic("zfree(%p,%ju): corrupt memlist1", ptr, bytes);
 
 		/*
 		 * merge against next area or create independant area
@@ -209,7 +209,7 @@
 		/* NOT REACHED */
 	}
 	if ((char *)ptr < (char *)mn + mn->mr_Bytes)
-		panic("zfree(%p,%d): corrupt memlist2", ptr, bytes);
+		panic("zfree(%p,%ju): corrupt memlist2", ptr, bytes);
 	}
 	/*
 	 * We are beyond the last MemNode, append new MemNode.  Merge against
___
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 sparc64/sparc64

2011-03-31 Thread Adrian Chadd
.. I fixed it by just disabling building the ath_ahb module for now.



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 sparc64/sparc64

2010-09-19 Thread Mike Tancsa
Sorry for the tinderbox breakagage again.  Our main cvsup server 
seems to be triggering a bug in the em driver :(  I will point it to 
an outside mirror for now...


---Mike


At 12:38 PM 9/19/2010, FreeBSD Tinderbox wrote:
TB --- 2010-09-19 16:01:48 - tinderbox 2.6 running on 
freebsd-current.sentex.ca

TB --- 2010-09-19 16:01:48 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2010-09-19 16:01:48 - cleaning the object tree
TB --- 2010-09-19 16:02:24 - cvsupping the source tree
TB --- 2010-09-19 16:02:24 - /usr/bin/csup -z -r 3 -g -L 1 -h 
cvsup.sentex.ca /tinderbox/HEAD/sparc64/sparc64/supfile

TB --- 2010-09-19 16:38:13 - WARNING: /usr/bin/csup returned exit code  1
TB --- 2010-09-19 16:38:13 - ERROR: unable to cvsup the source tree
TB --- 2010-09-19 16:38:13 - 0.77 user 25.64 system 2184.91 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-sparc64-sparc64.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"



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

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


Re: [head tinderbox] failure on sparc64/sparc64

2010-06-18 Thread Rui Paulo

On 18 Jun 2010, at 12:40, Kostik Belousov wrote:

> On Fri, Jun 18, 2010 at 04:26:19AM +, FreeBSD Tinderbox wrote:
>> TB --- 2010-06-18 03:09:26 - tinderbox 2.6 running on 
>> freebsd-current.sentex.ca
>> TB --- 2010-06-18 03:09:26 - starting HEAD tinderbox run for sparc64/sparc64
>> TB --- 2010-06-18 03:09:26 - cleaning the object tree
>> TB --- 2010-06-18 03:09:46 - cvsupping the source tree
>> TB --- 2010-06-18 03:09:46 - /usr/bin/csup -z -r 3 -g -L 1 -h 
>> cvsup.sentex.ca /tinderbox/HEAD/sparc64/sparc64/supfile
>> TB --- 2010-06-18 03:10:14 - building world
>> TB --- 2010-06-18 03:10:14 - MAKEOBJDIRPREFIX=/obj
>> TB --- 2010-06-18 03:10:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
>> TB --- 2010-06-18 03:10:14 - TARGET=sparc64
>> TB --- 2010-06-18 03:10:14 - TARGET_ARCH=sparc64
>> TB --- 2010-06-18 03:10:14 - TZ=UTC
>> TB --- 2010-06-18 03:10:14 - __MAKE_CONF=/dev/null
>> TB --- 2010-06-18 03:10:14 - cd /src
>> TB --- 2010-06-18 03:10:14 - /usr/bin/make -B buildworld
> World build started on Fri Jun 18 03:10:14 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 Fri Jun 18 04:12:49 UTC 2010
>> TB --- 2010-06-18 04:12:49 - generating LINT kernel config
>> TB --- 2010-06-18 04:12:49 - cd /src/sys/sparc64/conf
>> TB --- 2010-06-18 04:12:49 - /usr/bin/make -B LINT
>> TB --- 2010-06-18 04:12:49 - building LINT kernel
>> TB --- 2010-06-18 04:12:49 - MAKEOBJDIRPREFIX=/obj
>> TB --- 2010-06-18 04:12:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
>> TB --- 2010-06-18 04:12:49 - TARGET=sparc64
>> TB --- 2010-06-18 04:12:49 - TARGET_ARCH=sparc64
>> TB --- 2010-06-18 04:12:49 - TZ=UTC
>> TB --- 2010-06-18 04:12:49 - __MAKE_CONF=/dev/null
>> TB --- 2010-06-18 04:12:49 - cd /src
>> TB --- 2010-06-18 04:12:49 - /usr/bin/make -B buildkernel KERNCONF=LINT
> Kernel build for LINT started on Fri Jun 18 04:12:50 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
>> [...]
>> : undefined reference to `systrace_probe_func'
>> subr_trap.o(.text+0x11c): In function `syscallenter':
>> : undefined reference to `systrace_probe_func'
>> subr_trap.o(.text+0x128): In function `syscallenter':
>> : undefined reference to `systrace_probe_func'
>> subr_trap.o(.text+0x198): In function `syscallenter':
>> : undefined reference to `systrace_probe_func'
>> subr_trap.o(.text+0x1a8): more undefined references to `systrace_probe_func' 
>> follow
>> *** Error code 1
>> 
>> Stop in /obj/sparc64/src/sys/LINT.
>> *** Error code 1
>> 
>> Stop in /src.
>> *** Error code 1
> 
> I expect that the following patch would fix the issue, currently run
> make universe to confirm.

Yeah, I had this in mind, but not enough time to do it yet.

Thanks,
--
Rui Paulo


___
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 sparc64/sparc64

2010-06-18 Thread Kostik Belousov
On Fri, Jun 18, 2010 at 04:26:19AM +, FreeBSD Tinderbox wrote:
> TB --- 2010-06-18 03:09:26 - tinderbox 2.6 running on 
> freebsd-current.sentex.ca
> TB --- 2010-06-18 03:09:26 - starting HEAD tinderbox run for sparc64/sparc64
> TB --- 2010-06-18 03:09:26 - cleaning the object tree
> TB --- 2010-06-18 03:09:46 - cvsupping the source tree
> TB --- 2010-06-18 03:09:46 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
> /tinderbox/HEAD/sparc64/sparc64/supfile
> TB --- 2010-06-18 03:10:14 - building world
> TB --- 2010-06-18 03:10:14 - MAKEOBJDIRPREFIX=/obj
> TB --- 2010-06-18 03:10:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2010-06-18 03:10:14 - TARGET=sparc64
> TB --- 2010-06-18 03:10:14 - TARGET_ARCH=sparc64
> TB --- 2010-06-18 03:10:14 - TZ=UTC
> TB --- 2010-06-18 03:10:14 - __MAKE_CONF=/dev/null
> TB --- 2010-06-18 03:10:14 - cd /src
> TB --- 2010-06-18 03:10:14 - /usr/bin/make -B buildworld
> >>> World build started on Fri Jun 18 03:10:14 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 Fri Jun 18 04:12:49 UTC 2010
> TB --- 2010-06-18 04:12:49 - generating LINT kernel config
> TB --- 2010-06-18 04:12:49 - cd /src/sys/sparc64/conf
> TB --- 2010-06-18 04:12:49 - /usr/bin/make -B LINT
> TB --- 2010-06-18 04:12:49 - building LINT kernel
> TB --- 2010-06-18 04:12:49 - MAKEOBJDIRPREFIX=/obj
> TB --- 2010-06-18 04:12:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2010-06-18 04:12:49 - TARGET=sparc64
> TB --- 2010-06-18 04:12:49 - TARGET_ARCH=sparc64
> TB --- 2010-06-18 04:12:49 - TZ=UTC
> TB --- 2010-06-18 04:12:49 - __MAKE_CONF=/dev/null
> TB --- 2010-06-18 04:12:49 - cd /src
> TB --- 2010-06-18 04:12:49 - /usr/bin/make -B buildkernel KERNCONF=LINT
> >>> Kernel build for LINT started on Fri Jun 18 04:12:50 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
> [...]
> : undefined reference to `systrace_probe_func'
> subr_trap.o(.text+0x11c): In function `syscallenter':
> : undefined reference to `systrace_probe_func'
> subr_trap.o(.text+0x128): In function `syscallenter':
> : undefined reference to `systrace_probe_func'
> subr_trap.o(.text+0x198): In function `syscallenter':
> : undefined reference to `systrace_probe_func'
> subr_trap.o(.text+0x1a8): more undefined references to `systrace_probe_func' 
> follow
> *** Error code 1
> 
> Stop in /obj/sparc64/src/sys/LINT.
> *** Error code 1
> 
> Stop in /src.
> *** Error code 1

I expect that the following patch would fix the issue, currently run
make universe to confirm.

diff --git a/sys/amd64/conf/NOTES b/sys/amd64/conf/NOTES
index b16db62..9412334 100644
--- a/sys/amd64/conf/NOTES
+++ b/sys/amd64/conf/NOTES
@@ -11,6 +11,12 @@
 # We want LINT to cover profiling as well.
 profile 2
 
+#
+# Enable the kernel DTrace hooks which are required to load the DTrace
+# kernel modules.
+#
+optionsKDTRACE_HOOKS
+
 
 #
 # SMP OPTIONS:
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index e3e6079..0a872b2 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -372,12 +372,6 @@ optionsDDB_NUMSYM
 optionsGDB
 
 #
-# Enable the kernel DTrace hooks which are required to load the DTrace
-# kernel modules.
-#
-optionsKDTRACE_HOOKS
-
-#
 # SYSCTL_DEBUG enables a 'sysctl' debug tree that can be used to dump the
 # contents of the registered sysctl nodes on the console.  It is disabled by
 # default because it generates excessively verbose console output that can
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index cc62ed9..a0169c3 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
@@ -11,6 +11,12 @@
 # We want LINT to cover profiling as well.
 profile 2
 
+#
+# Enable the kernel DTrace hooks which are required to load the DTrace
+# kernel modules.
+#
+optionsKDTRACE_HOOKS
+
 
 #
 # SMP OPTIONS:


pgp1ZWf3Kv9Pe.pgp
Description: PGP signature