Re: [head tinderbox] failure on powerpc/powerpc

2014-04-09 Thread Sean Bruno
 WARNING: duplicate option `GEOM_PART_BSD' encountered.
 WARNING: duplicate option `GEOM_PART_MBR' encountered.
 WARNING: duplicate option `DEV_MEM' encountered.
 WARNING: duplicate device `mem' encountered.
 WARNING: duplicate option `CAM_DEBUG_DELAY' encountered.
 /src/sys/powerpc/conf/LINT: unknown option IMAGACT_BINMISC
 *** Error code 1
 
 Stop.
 bmake: stopped in /src
 *** [buildkernel] Error code 1
 
 Stop in /src.
 TB --- 2014-04-09 18:12:17 - WARNING: /usr/bin/make returned exit code  1 
 TB --- 2014-04-09 18:12:17 - ERROR: failed to build LINT kernel
 TB --- 2014-04-09 18:12:17 - 8505.48 user 1007.32 system 9668.85 real
 
 


I believe I have un-derp'd the build at svn r264304

sean


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


Re: [head tinderbox] failure on powerpc/powerpc

2013-09-04 Thread Justin Hibbits
Wow, not sure how this skipped by me.  Will fix this evening.

-Justin
On Sep 4, 2013 1:33 PM, FreeBSD Tinderbox tinder...@freebsd.org wrote:

 TB --- 2013-09-04 17:40:07 - tinderbox 2.10 running on
 freebsd-current.sentex.ca
 TB --- 2013-09-04 17:40:07 - 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 --- 2013-09-04 17:40:07 - starting HEAD tinderbox run for
 powerpc/powerpc
 TB --- 2013-09-04 17:40:07 - cleaning the object tree
 TB --- 2013-09-04 17:41:20 - /usr/local/bin/svn stat /src
 TB --- 2013-09-04 17:41:23 - At svn revision 255201
 TB --- 2013-09-04 17:41:24 - building world
 TB --- 2013-09-04 17:41:24 - CROSS_BUILD_TESTING=YES
 TB --- 2013-09-04 17:41:24 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-09-04 17:41:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-09-04 17:41:24 - SRCCONF=/dev/null
 TB --- 2013-09-04 17:41:24 - TARGET=powerpc
 TB --- 2013-09-04 17:41:24 - TARGET_ARCH=powerpc
 TB --- 2013-09-04 17:41:24 - TZ=UTC
 TB --- 2013-09-04 17:41:24 - __MAKE_CONF=/dev/null
 TB --- 2013-09-04 17:41:24 - cd /src
 TB --- 2013-09-04 17:41:24 - /usr/bin/make -B buildworld
  Building an up-to-date make(1)
  World build started on Wed Sep  4 17:41:31 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 Wed Sep  4 20:22:29 UTC 2013
 TB --- 2013-09-04 20:22:29 - generating LINT kernel config
 TB --- 2013-09-04 20:22:29 - cd /src/sys/powerpc/conf
 TB --- 2013-09-04 20:22:29 - /usr/bin/make -B LINT
 TB --- 2013-09-04 20:22:29 - cd /src/sys/powerpc/conf
 TB --- 2013-09-04 20:22:29 - /usr/sbin/config -m LINT
 TB --- 2013-09-04 20:22:29 - building LINT kernel
 TB --- 2013-09-04 20:22:29 - CROSS_BUILD_TESTING=YES
 TB --- 2013-09-04 20:22:29 - MAKEOBJDIRPREFIX=/obj
 TB --- 2013-09-04 20:22:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2013-09-04 20:22:29 - SRCCONF=/dev/null
 TB --- 2013-09-04 20:22:29 - TARGET=powerpc
 TB --- 2013-09-04 20:22:29 - TARGET_ARCH=powerpc
 TB --- 2013-09-04 20:22:29 - TZ=UTC
 TB --- 2013-09-04 20:22:29 - __MAKE_CONF=/dev/null
 TB --- 2013-09-04 20:22:29 - cd /src
 TB --- 2013-09-04 20:22:29 - /usr/bin/make -B buildkernel KERNCONF=LINT
  Kernel build for LINT started on Wed Sep  4 20:22:30 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
 [...]
 hwpmc_powerpc.c:(.text+0xd6): undefined reference to `powerpc_pcpu'
 hwpmc_powerpc.o: In function `pmc_md_initialize':
 hwpmc_powerpc.c:(.text+0x192): undefined reference to `powerpc_pcpu'
 hwpmc_powerpc.c:(.text+0x196): undefined reference to `powerpc_pcpu'
 hwpmc_powerpc.c:(.text+0x1d8): undefined reference to
 `pmc_mpc7xxx_initialize'
 hwpmc_powerpc.o: In function `powerpc_describe':
 hwpmc_powerpc.c:(.text+0x272): undefined reference to `powerpc_pcpu'
 hwpmc_powerpc.c:(.text+0x276): undefined reference to `powerpc_pcpu'
 *** Error code 1

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

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

 Stop in /src.
 TB --- 2013-09-04 20:33:01 - WARNING: /usr/bin/make returned exit code  1
 TB --- 2013-09-04 20:33:01 - ERROR: failed to build LINT kernel
 TB --- 2013-09-04 20:33:01 - 8673.46 user 1121.14 system 10374.41 real


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

2013-05-28 Thread Glen Barber
The suspect commit was already reverted.

Glen

On Wed, May 29, 2013 at 01:33:11AM +, FreeBSD Tinderbox wrote:
  stage 3.3: building the modules
 --
 cd /obj/powerpc.powerpc/src/sys/MPC85XX; 
 MAKEOBJDIRPREFIX=/obj/powerpc.powerpc  MACHINE_ARCH=powerpc  MACHINE=powerpc  
 CPUTYPE= GROFF_BIN_PATH=/obj/powerpc.powerpc/src/tmp/legacy/usr/bin  
 GROFF_FONT_PATH=/obj/powerpc.powerpc/src/tmp/legacy/usr/share/groff_font  
 GROFF_TMAC_PATH=/obj/powerpc.powerpc/src/tmp/legacy/usr/share/tmac  
 _SHLIBDIRPREFIX=/obj/powerpc.powerpc/src/tmp  _LDSCRIPTROOT=  
 VERSION=FreeBSD 8.3-PRERELEASE amd64 803500  INSTALL=sh 
 /src/tools/install.sh  
 PATH=/obj/powerpc.powerpc/src/tmp/legacy/usr/sbin:/obj/powerpc.powerpc/src/tmp/legacy/usr/bin:/obj/powerpc.powerpc/src/tmp/legacy/usr/games:/obj/powerpc.powerpc/src/tmp/legacy/bin:/obj/powerpc.powerpc/src/tmp/usr/sbin:/obj/powerpc.powerpc/src/tmp/usr/bin:/obj/powerpc.powerpc/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  CC=cc  CXX=c++   CPP=cpp   AS=as AR=ar LD=ld NM=nm  OBJDUMP= 
 RANLIB=ranlib STRINGS= COMPILER_TYPE=gcc /obj/src/make.amd64/make  -B -m 
 /src/share/mk  KERNEL=kernel modules-all -DN!
  O_MODULES_OBJ
 make: don't know how to make modules-all. Stop
 
 make: stopped in /obj/powerpc.powerpc/src/sys/MPC85XX
 *** Error code 2
 
 Stop.
 make: stopped in /src
 *** Error code 1
 
 Stop in /src.
 TB --- 2013-05-29 01:33:11 - WARNING: /usr/bin/make returned exit code  1 
 TB --- 2013-05-29 01:33:11 - ERROR: failed to build MPC85XX kernel
 TB --- 2013-05-29 01:33:11 - 9953.65 user 1229.51 system 11494.62 real
 
 


pgp_Vm1ZjPNJ8.pgp
Description: PGP signature


Re: [head tinderbox] failure on powerpc/powerpc

2012-10-27 Thread Nathan Whitehorn

On Sun, 28 Oct 2012, FreeBSD Tinderbox wrote:


TB --- 2012-10-27 23:08:18 - tinderbox 2.9 running on freebsd-current.sentex.ca
@/dev/drm/drmP.h:122:36: error: machine/../linux/linux.h: No such file or 
directory
@/dev/drm/drmP.h:123:42: error: machine/../linux/linux_proto.h: No such file or 
directory
mkdep: compile failed
*** [.depend] Error code 1


Sorry about this breakage. It is fixed by r242197 and r242203.
-Nathan
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: [head tinderbox] failure on powerpc/powerpc

2012-07-28 Thread Adrian Chadd
Fixed in a subsequent commit. Sorry.

On 28 July 2012 01:52, FreeBSD Tinderbox tinder...@freebsd.org wrote:
 TB --- 2012-07-28 06:27:10 - tinderbox 2.9 running on 
 freebsd-current.sentex.ca
 TB --- 2012-07-28 06:27:10 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
 FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
 TB --- 2012-07-28 06:27:10 - starting HEAD tinderbox run for powerpc/powerpc
 TB --- 2012-07-28 06:27:10 - cleaning the object tree
 TB --- 2012-07-28 06:27:10 - cvsupping the source tree
 TB --- 2012-07-28 06:27:10 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/HEAD/powerpc/powerpc/supfile
 TB --- 2012-07-28 06:28:03 - building world
 TB --- 2012-07-28 06:28:03 - CROSS_BUILD_TESTING=YES
 TB --- 2012-07-28 06:28:03 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-07-28 06:28:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-07-28 06:28:03 - SRCCONF=/dev/null
 TB --- 2012-07-28 06:28:03 - TARGET=powerpc
 TB --- 2012-07-28 06:28:03 - TARGET_ARCH=powerpc
 TB --- 2012-07-28 06:28:03 - TZ=UTC
 TB --- 2012-07-28 06:28:03 - __MAKE_CONF=/dev/null
 TB --- 2012-07-28 06:28:03 - cd /src
 TB --- 2012-07-28 06:28:03 - /usr/bin/make -B buildworld
 World build started on Sat Jul 28 06:28:04 UTC 2012
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sat Jul 28 08:48:13 UTC 2012
 TB --- 2012-07-28 08:48:13 - generating LINT kernel config
 TB --- 2012-07-28 08:48:13 - cd /src/sys/powerpc/conf
 TB --- 2012-07-28 08:48:13 - /usr/bin/make -B LINT
 TB --- 2012-07-28 08:48:13 - cd /src/sys/powerpc/conf
 TB --- 2012-07-28 08:48:13 - /usr/sbin/config -m LINT
 TB --- 2012-07-28 08:48:13 - building LINT kernel
 TB --- 2012-07-28 08:48:13 - CROSS_BUILD_TESTING=YES
 TB --- 2012-07-28 08:48:13 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-07-28 08:48:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-07-28 08:48:13 - SRCCONF=/dev/null
 TB --- 2012-07-28 08:48:13 - TARGET=powerpc
 TB --- 2012-07-28 08:48:13 - TARGET_ARCH=powerpc
 TB --- 2012-07-28 08:48:13 - TZ=UTC
 TB --- 2012-07-28 08:48:13 - __MAKE_CONF=/dev/null
 TB --- 2012-07-28 08:48:13 - cd /src
 TB --- 2012-07-28 08:48:13 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sat Jul 28 08:48:13 UTC 2012
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
 [...]
 cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
 -Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
 -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL 
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
 -finline-limit=15000 --param inline-unit-growth=100 --param 
 large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
 -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
 -fstack-protector -Werror  /src/sys/dev/ath/if_ath_keycache.c 
 -I/src/sys/dev/ath
 cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
 -Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
 -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL 
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
 -finline-limit=15000 --param inline-unit-growth=100 --param 
 large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
 -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
 -fstack-protector -Werror  /src/sys/dev/ath/if_ath_led.c -I/src/sys/dev/ath
 cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
 -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  
 -Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/src/sys 
 -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL 
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
 -finline-limit=15000 --param inline-unit-growth=100 --param 
 large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many 
 -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
 -fstack-protector -Werror  /src/sys/dev/ath/if_ath_tx.c -I/src/sys/dev/ath
 cc -c -O -pipe  -std=c99  -Wall -Wredundant-decls -Wnested-externs 
 -Wstrict-prototypes  -Wmissing-prototypes 

Re: [head tinderbox] failure on powerpc/powerpc

2012-06-11 Thread Adrian Chadd
Fixed!



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

2012-04-17 Thread Jason Evans
On Apr 17, 2012, at 4:26 AM, FreeBSD Tinderbox wrote:
 /obj/powerpc.powerpc/src/tmp/usr/lib/libc.so: undefined reference to 
 `__sync_sub_and_fetch_8'
 /obj/powerpc.powerpc/src/tmp/usr/lib/libc.so: undefined reference to 
 `__sync_add_and_fetch_8'

This (and the similar error for powerpc64, arm, pc98, and i386) is due to 
jemalloc incorrectly trying to use compiler intrinsics on all platforms.  
Fortunately we have atomic(9), so I should be able to get an alternate 
implementation in place today.

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


Re: [head tinderbox] failure on powerpc/powerpc

2012-03-17 Thread Super Bisquit
On Tue, Mar 13, 2012 at 8:00 PM, Super Bisquit superbisq...@gmail.comwrote:

 On 3/13/12, Garrett Cooper yaneg...@gmail.com wrote:
  On Tue, Mar 13, 2012 at 11:22 AM, Super Bisquit superbisq...@gmail.com
  wrote:
 
 
  On Tue, Mar 13, 2012 at 1:56 PM, Garrett Cooper yaneg...@gmail.com
  wrote:
 
  On Mar 13, 2012, at 10:23 AM, Super Bisquit wrote:
 
  On Tue, Mar 13, 2012 at 11:52 AM, Garrett Cooper yaneg...@gmail.com
  wrote:
   (Personal opinion) Not that great of an architecture.
 
 
  And you're entitled to your opinion :).
 
 
  Again, I'm not sure why you're posing this question to this thread
  because it's not really relevant to the issue that needs to be
  resolved (in this case it's missing symbols related to xlocale stuff,
  and someone probably forgot to run make tinderbox/make universe).
 
  I'm running buildworld natively on the Quicksilver. Errors related
  directly to build will be reported and can be compared to the tinderbox
  errors.
 
 
  Not everyone has a Mac G4 under his/her desk. Crossbuilding works just
  fine, so again… how is your comment relevant/feasible to the discussion
  at
  hand?
 
 
  Has anyone ever compared build errors between native and tinderbox?
  Why not? This is not a stupid idea.
  What if the native version fails to build but tinderbox is successful?
  That
  could be a hardware error, instruction set, make.conf, or other problem.
  Will it hurt to compare? No. It may be helpful.
  In what ways is this relevant or feasible to the original post and those
  following? Reporting errors from a native build will let one know what
  problems will occur and when on actual hardware being used.
 
  Humor me and let me report any possible errors from buildworld on the
  Quicksilver;it may confirm what tinderbox reports. The source was
 csupped
  before my original reply and the build started right thereafter.
 
  (Removing current)
  Please run make tinderbox on your Mac with TARGET=powerpc
  TARGET_ARCH=powerpc :). Your build environment is tainted otherwise.

 Forgot this part.
  Thanks,
  -Garrett
 


 Okay. The real machine received the same error and it is  due- more
 than likely- to the -Werror flag of cc1.
 I haven't tried building world using llvm and clang.

chipchop# make TARGET=powerpc TARGET_ARCH=powerpc
===  Vulnerability check disabled, database not found
===  License check disabled, port has not defined LICENSE
===  Found saved configuration for tinderbox-3.4.1
= tinderbox-3.4.1.tar.gz doesn't seem to exist in
/usr/ports/distfiles/tinderbox.
= Attempting to fetch http://tinderbox.marcuscom.com/tinderbox-3.4.1.tar.gz
tinderbox-3.4.1.tar.gz100% of  144 kB  175 kBps
===  Extracting for tinderbox-3.4.1
= SHA256 Checksum OK for tinderbox/tinderbox-3.4.1.tar.gz.
===  Patching for tinderbox-3.4.1
/usr/bin/sed -i.bak -e 's/.set_rcvar./tinderd_enable/'
/usr/ports/ports-mgmt/tinderbox/work/tinderbox-3.4.1/etc/rc.d/tinderd
===   tinderbox-3.4.1 depends on file: /usr/local/sbin/apxs - found
===   tinderbox-3.4.1 depends on shared library: mysqlclient.18 - found
===  Configuring for tinderbox-3.4.1
chipchop# make TARGET=powerpc TARGET_ARCH=powerpc install
===  Installing for tinderbox-3.4.1
===   tinderbox-3.4.1 depends on file:
/usr/local/share/pear/MDB2/Driver/mysql.php - found
===   tinderbox-3.4.1 depends on file:
/usr/local/lib/perl5/site_perl/5.12.4/mach/DBD/mysql.pm - found
===   tinderbox-3.4.1 depends on executable: lsof - not found
===Verifying install for lsof in /usr/ports/sysutils/lsof
===  Building for lsof-4.86B,6
(cd lib; make DEBUG=-O CFGF=-pipe -g  -DHASEFFNLINK=i_effnlink
-DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T
-DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF
-DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DFREEBSDV=9000
-DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX
-DHAS_STRFTIME -DLSOF_VSTR=\9.0-CURRENT\)
cc  -pipe -g  -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE
-DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV
-DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY
-DHAS_NO_6PORT -DHAS_NO_6PPCB -DFREEBSDV=9000 -DHASFDESCFS=2 -DHASPSEUDOFS
-DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=9.0-CURRENT
-I/usr/src/sys -O -c ckkv.c
In file included from ../dlsof.h:90,
 from ../lsof.h:195,
 from ckkv.c:43:
/usr/src/sys/sys/conf.h:340: warning: parameter names (without types) in
function declaration
In file included from /usr/src/sys/vm/pmap.h:89,
 from ../dlsof.h:400,
 from ../lsof.h:195,
 from ckkv.c:43:
/usr/include/machine/pmap.h:180: error: expected specifier-qualifier-list
before 'cpumask_t'
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.86B.freebsd/lib.
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.86B.freebsd.
*** Error code 1

Stop in /usr/ports/sysutils/lsof.
*** Error code 1

Stop 

Re: [head tinderbox] failure on powerpc/powerpc

2012-03-17 Thread Super Bisquit
On Sat, Mar 17, 2012 at 3:40 PM, Super Bisquit superbisq...@gmail.comwrote:



 On Tue, Mar 13, 2012 at 8:00 PM, Super Bisquit superbisq...@gmail.comwrote:

 On 3/13/12, Garrett Cooper yaneg...@gmail.com wrote:
  On Tue, Mar 13, 2012 at 11:22 AM, Super Bisquit superbisq...@gmail.com
 
  wrote:
 
 
  On Tue, Mar 13, 2012 at 1:56 PM, Garrett Cooper yaneg...@gmail.com
  wrote:
 
  On Mar 13, 2012, at 10:23 AM, Super Bisquit wrote:
 
  On Tue, Mar 13, 2012 at 11:52 AM, Garrett Cooper yaneg...@gmail.com
  wrote:
   (Personal opinion) Not that great of an architecture.
 
 
  And you're entitled to your opinion :).
 
 
  Again, I'm not sure why you're posing this question to this thread
  because it's not really relevant to the issue that needs to be
  resolved (in this case it's missing symbols related to xlocale stuff,
  and someone probably forgot to run make tinderbox/make universe).
 
  I'm running buildworld natively on the Quicksilver. Errors related
  directly to build will be reported and can be compared to the
 tinderbox
  errors.
 
 
  Not everyone has a Mac G4 under his/her desk. Crossbuilding works just
  fine, so again… how is your comment relevant/feasible to the
 discussion
  at
  hand?
 
 
  Has anyone ever compared build errors between native and tinderbox?
  Why not? This is not a stupid idea.
  What if the native version fails to build but tinderbox is successful?
  That
  could be a hardware error, instruction set, make.conf, or other
 problem.
  Will it hurt to compare? No. It may be helpful.
  In what ways is this relevant or feasible to the original post and
 those
  following? Reporting errors from a native build will let one know what
  problems will occur and when on actual hardware being used.
 
  Humor me and let me report any possible errors from buildworld on the
  Quicksilver;it may confirm what tinderbox reports. The source was
 csupped
  before my original reply and the build started right thereafter.
 
  (Removing current)
  Please run make tinderbox on your Mac with TARGET=powerpc
  TARGET_ARCH=powerpc :). Your build environment is tainted otherwise.

 Forgot this part.
  Thanks,
  -Garrett
 


 Okay. The real machine received the same error and it is  due- more
 than likely- to the -Werror flag of cc1.
 I haven't tried building world using llvm and clang.

 chipchop# make TARGET=powerpc TARGET_ARCH=powerpc
 ===  Vulnerability check disabled, database not found
 ===  License check disabled, port has not defined LICENSE
 ===  Found saved configuration for tinderbox-3.4.1
 = tinderbox-3.4.1.tar.gz doesn't seem to exist in
 /usr/ports/distfiles/tinderbox.
 = Attempting to fetch
 http://tinderbox.marcuscom.com/tinderbox-3.4.1.tar.gz
 tinderbox-3.4.1.tar.gz100% of  144 kB  175 kBps
 ===  Extracting for tinderbox-3.4.1
 = SHA256 Checksum OK for tinderbox/tinderbox-3.4.1.tar.gz.
 ===  Patching for tinderbox-3.4.1
 /usr/bin/sed -i.bak -e 's/.set_rcvar./tinderd_enable/'
 /usr/ports/ports-mgmt/tinderbox/work/tinderbox-3.4.1/etc/rc.d/tinderd
 ===   tinderbox-3.4.1 depends on file: /usr/local/sbin/apxs - found
 ===   tinderbox-3.4.1 depends on shared library: mysqlclient.18 - found
 ===  Configuring for tinderbox-3.4.1
 chipchop# make TARGET=powerpc TARGET_ARCH=powerpc install
 ===  Installing for tinderbox-3.4.1
 ===   tinderbox-3.4.1 depends on file:
 /usr/local/share/pear/MDB2/Driver/mysql.php - found
 ===   tinderbox-3.4.1 depends on file:
 /usr/local/lib/perl5/site_perl/5.12.4/mach/DBD/mysql.pm - found
 ===   tinderbox-3.4.1 depends on executable: lsof - not found
 ===Verifying install for lsof in /usr/ports/sysutils/lsof
 ===  Building for lsof-4.86B,6
 (cd lib; make DEBUG=-O CFGF=-pipe -g  -DHASEFFNLINK=i_effnlink
 -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T
 -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF
 -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DFREEBSDV=9000
 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6 -DHASUTMPX
 -DHAS_STRFTIME -DLSOF_VSTR=\9.0-CURRENT\)
 cc  -pipe -g  -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE
 -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DHAS_CDEV2PRIV
 -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY
 -DHAS_NO_6PORT -DHAS_NO_6PPCB -DFREEBSDV=9000 -DHASFDESCFS=2 -DHASPSEUDOFS
 -DHASNULLFS -DHASIPv6 -DHASUTMPX -DHAS_STRFTIME -DLSOF_VSTR=9.0-CURRENT
 -I/usr/src/sys -O -c ckkv.c
 In file included from ../dlsof.h:90,
  from ../lsof.h:195,
  from ckkv.c:43:
 /usr/src/sys/sys/conf.h:340: warning: parameter names (without types) in
 function declaration
 In file included from /usr/src/sys/vm/pmap.h:89,
  from ../dlsof.h:400,
  from ../lsof.h:195,
  from ckkv.c:43:
 /usr/include/machine/pmap.h:180: error: expected specifier-qualifier-list
 before 'cpumask_t'
 *** Error code 1

 Stop in /usr/ports/sysutils/lsof/work/lsof_4.86B.freebsd/lib.
 *** Error 

Re: [head tinderbox] failure on powerpc/powerpc

2012-03-13 Thread Super Bisquit
On Tue, Mar 13, 2012 at 11:32 AM, FreeBSD Tinderbox
tinder...@freebsd.orgwrote:

 TB --- 2012-03-13 15:11:46 - tinderbox 2.9 running on
 freebsd-current.sentex.ca
 TB --- 2012-03-13 15:11:46 - starting HEAD tinderbox run for
 powerpc/powerpc
 TB --- 2012-03-13 15:11:46 - cleaning the object tree
 TB --- 2012-03-13 15:11:46 - cvsupping the source tree
 TB --- 2012-03-13 15:11:46 - /usr/bin/csup -z -r 3 -g -L 1 -h
 cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile
 TB --- 2012-03-13 15:11:59 - building world
 TB --- 2012-03-13 15:11:59 - CROSS_BUILD_TESTING=YES
 TB --- 2012-03-13 15:11:59 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-03-13 15:11:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-03-13 15:11:59 - SRCCONF=/dev/null
 TB --- 2012-03-13 15:11:59 - TARGET=powerpc
 TB --- 2012-03-13 15:11:59 - TARGET_ARCH=powerpc
 TB --- 2012-03-13 15:11:59 - TZ=UTC
 TB --- 2012-03-13 15:11:59 - __MAKE_CONF=/dev/null
 TB --- 2012-03-13 15:11:59 - cd /src
 TB --- 2012-03-13 15:11:59 - /usr/bin/make -B buildworld
  World build started on Tue Mar 13 15:12:00 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
 [...]
 mkdep -f .depend -a-I/src/lib/libbz2/../../contrib/bzip2 -std=gnu99
  /src/lib/libbz2/../../contrib/bzip2/bzlib.c
 /src/lib/libbz2/../../contrib/bzip2/blocksort.c
 /src/lib/libbz2/../../contrib/bzip2/compress.c
 /src/lib/libbz2/../../contrib/bzip2/crctable.c
 /src/lib/libbz2/../../contrib/bzip2/decompress.c
 /src/lib/libbz2/../../contrib/bzip2/huffman.c
 /src/lib/libbz2/../../contrib/bzip2/randtable.c
 cc  -O2 -pipe  -I/src/lib/libbz2/../../contrib/bzip2 -std=gnu99
 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
 -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
 -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c
 /src/lib/libbz2/../../contrib/bzip2/bzlib.c -o bzlib.o
 cc1: warnings being treated as errors
 In file included from /obj/powerpc.powerpc/src/tmp/usr/include/ctype.h:83,
 from
 /src/lib/libbz2/../../contrib/bzip2/bzlib_private.h:29,
 from /src/lib/libbz2/../../contrib/bzip2/bzlib.c:34:
 /obj/powerpc.powerpc/src/tmp/usr/include/xlocale/_ctype.h:93: warning: no
 previous prototype for '__sbmaskrune_l'
 /obj/powerpc.powerpc/src/tmp/usr/include/xlocale/_ctype.h:102: warning: no
 previous prototype for '__sbistype_l'
 *** Error code 1

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

 Stop in /src.
 *** Error code 1

 Stop in /src.
 *** Error code 1

 Stop in /src.
 *** Error code 1

 Stop in /src.
 TB --- 2012-03-13 15:32:16 - WARNING: /usr/bin/make returned exit code  1
 TB --- 2012-03-13 15:32:16 - ERROR: failed to build world
 TB --- 2012-03-13 15:32:16 - 959.02 user 176.75 system 1229.77 real


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


Again, the old questions:
Why isn't a build world done on native architecture?
Why is it never asked, Could/would someone submit a build world log to be
compared to the output of tinderbox for your architecture?
Considering that the POWER(PC) architecture is everywhere- at least in
consoles, why isn't there more interest?
___
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 powerpc/powerpc

2012-03-13 Thread Garrett Cooper
On Tue, Mar 13, 2012 at 8:45 AM, Super Bisquit superbisq...@gmail.com wrote:
 On Tue, Mar 13, 2012 at 11:32 AM, FreeBSD Tinderbox
 tinder...@freebsd.orgwrote:

 TB --- 2012-03-13 15:11:46 - tinderbox 2.9 running on
 freebsd-current.sentex.ca
 TB --- 2012-03-13 15:11:46 - starting HEAD tinderbox run for
 powerpc/powerpc
 TB --- 2012-03-13 15:11:46 - cleaning the object tree
 TB --- 2012-03-13 15:11:46 - cvsupping the source tree
 TB --- 2012-03-13 15:11:46 - /usr/bin/csup -z -r 3 -g -L 1 -h
 cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile
 TB --- 2012-03-13 15:11:59 - building world
 TB --- 2012-03-13 15:11:59 - CROSS_BUILD_TESTING=YES
 TB --- 2012-03-13 15:11:59 - MAKEOBJDIRPREFIX=/obj
 TB --- 2012-03-13 15:11:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2012-03-13 15:11:59 - SRCCONF=/dev/null
 TB --- 2012-03-13 15:11:59 - TARGET=powerpc
 TB --- 2012-03-13 15:11:59 - TARGET_ARCH=powerpc
 TB --- 2012-03-13 15:11:59 - TZ=UTC
 TB --- 2012-03-13 15:11:59 - __MAKE_CONF=/dev/null
 TB --- 2012-03-13 15:11:59 - cd /src
 TB --- 2012-03-13 15:11:59 - /usr/bin/make -B buildworld
  World build started on Tue Mar 13 15:12:00 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
 [...]
 mkdep -f .depend -a    -I/src/lib/libbz2/../../contrib/bzip2 -std=gnu99
  /src/lib/libbz2/../../contrib/bzip2/bzlib.c
 /src/lib/libbz2/../../contrib/bzip2/blocksort.c
 /src/lib/libbz2/../../contrib/bzip2/compress.c
 /src/lib/libbz2/../../contrib/bzip2/crctable.c
 /src/lib/libbz2/../../contrib/bzip2/decompress.c
 /src/lib/libbz2/../../contrib/bzip2/huffman.c
 /src/lib/libbz2/../../contrib/bzip2/randtable.c
 cc  -O2 -pipe  -I/src/lib/libbz2/../../contrib/bzip2 -std=gnu99
 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
 -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
 -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c
 /src/lib/libbz2/../../contrib/bzip2/bzlib.c -o bzlib.o
 cc1: warnings being treated as errors
 In file included from /obj/powerpc.powerpc/src/tmp/usr/include/ctype.h:83,
                 from
 /src/lib/libbz2/../../contrib/bzip2/bzlib_private.h:29,
                 from /src/lib/libbz2/../../contrib/bzip2/bzlib.c:34:
 /obj/powerpc.powerpc/src/tmp/usr/include/xlocale/_ctype.h:93: warning: no
 previous prototype for '__sbmaskrune_l'
 /obj/powerpc.powerpc/src/tmp/usr/include/xlocale/_ctype.h:102: warning: no
 previous prototype for '__sbistype_l'
 *** Error code 1

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

 Stop in /src.
 *** Error code 1

 Stop in /src.
 *** Error code 1

 Stop in /src.
 *** Error code 1

 Stop in /src.
 TB --- 2012-03-13 15:32:16 - WARNING: /usr/bin/make returned exit code  1
 TB --- 2012-03-13 15:32:16 - ERROR: failed to build world
 TB --- 2012-03-13 15:32:16 - 959.02 user 176.75 system 1229.77 real

 Again, the old questions:
 Why isn't a build world done on native architecture?
 Why is it never asked, Could/would someone submit a build world log to be
 compared to the output of tinderbox for your architecture?
 Considering that the POWER(PC) architecture is everywhere- at least in
 consoles, why isn't there more interest?

(obvious answer incoming)
Because Intel has the Lion's share of the computing architecture
marketplace and because powerpc is still a secondary architecture to
Intel...?

Again, I'm not sure why you're posing this question to this thread
because it's not really relevant to the issue that needs to be
resolved (in this case it's missing symbols related to xlocale stuff,
and someone probably forgot to run make tinderbox/make universe).

The FreeBSD build system supports cross-building on several
architectures, so I can build ppc on Intel, Intel on ppc, mips n32 on
ppc, etc. If this didn't work, FreeBSD would be in a world of pain.

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

2012-03-13 Thread Super Bisquit
On Tue, Mar 13, 2012 at 11:52 AM, Garrett Cooper yaneg...@gmail.com wrote:

 On Tue, Mar 13, 2012 at 8:45 AM, Super Bisquit superbisq...@gmail.com
 wrote:
  On Tue, Mar 13, 2012 at 11:32 AM, FreeBSD Tinderbox
  tinder...@freebsd.orgwrote:
 
  TB --- 2012-03-13 15:11:46 - tinderbox 2.9 running on
  freebsd-current.sentex.ca
  TB --- 2012-03-13 15:11:46 - starting HEAD tinderbox run for
  powerpc/powerpc
  TB --- 2012-03-13 15:11:46 - cleaning the object tree
  TB --- 2012-03-13 15:11:46 - cvsupping the source tree
  TB --- 2012-03-13 15:11:46 - /usr/bin/csup -z -r 3 -g -L 1 -h
  cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile
  TB --- 2012-03-13 15:11:59 - building world
  TB --- 2012-03-13 15:11:59 - CROSS_BUILD_TESTING=YES
  TB --- 2012-03-13 15:11:59 - MAKEOBJDIRPREFIX=/obj
  TB --- 2012-03-13 15:11:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
  TB --- 2012-03-13 15:11:59 - SRCCONF=/dev/null
  TB --- 2012-03-13 15:11:59 - TARGET=powerpc
  TB --- 2012-03-13 15:11:59 - TARGET_ARCH=powerpc
  TB --- 2012-03-13 15:11:59 - TZ=UTC
  TB --- 2012-03-13 15:11:59 - __MAKE_CONF=/dev/null
  TB --- 2012-03-13 15:11:59 - cd /src
  TB --- 2012-03-13 15:11:59 - /usr/bin/make -B buildworld
   World build started on Tue Mar 13 15:12:00 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
  [...]
  mkdep -f .depend -a-I/src/lib/libbz2/../../contrib/bzip2 -std=gnu99
   /src/lib/libbz2/../../contrib/bzip2/bzlib.c
  /src/lib/libbz2/../../contrib/bzip2/blocksort.c
  /src/lib/libbz2/../../contrib/bzip2/compress.c
  /src/lib/libbz2/../../contrib/bzip2/crctable.c
  /src/lib/libbz2/../../contrib/bzip2/decompress.c
  /src/lib/libbz2/../../contrib/bzip2/huffman.c
  /src/lib/libbz2/../../contrib/bzip2/randtable.c
  cc  -O2 -pipe  -I/src/lib/libbz2/../../contrib/bzip2 -std=gnu99
  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
  -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
  -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c
  /src/lib/libbz2/../../contrib/bzip2/bzlib.c -o bzlib.o
  cc1: warnings being treated as errors
  In file included from
 /obj/powerpc.powerpc/src/tmp/usr/include/ctype.h:83,
  from
  /src/lib/libbz2/../../contrib/bzip2/bzlib_private.h:29,
  from /src/lib/libbz2/../../contrib/bzip2/bzlib.c:34:
  /obj/powerpc.powerpc/src/tmp/usr/include/xlocale/_ctype.h:93: warning:
 no
  previous prototype for '__sbmaskrune_l'
  /obj/powerpc.powerpc/src/tmp/usr/include/xlocale/_ctype.h:102: warning:
 no
  previous prototype for '__sbistype_l'
  *** Error code 1
 
  Stop in /src/lib/libbz2.
  *** Error code 1
 
  Stop in /src.
  *** Error code 1
 
  Stop in /src.
  *** Error code 1
 
  Stop in /src.
  *** Error code 1
 
  Stop in /src.
  TB --- 2012-03-13 15:32:16 - WARNING: /usr/bin/make returned exit code
  1
  TB --- 2012-03-13 15:32:16 - ERROR: failed to build world
  TB --- 2012-03-13 15:32:16 - 959.02 user 176.75 system 1229.77 real
 
  Again, the old questions:
  Why isn't a build world done on native architecture?
  Why is it never asked, Could/would someone submit a build world log to
 be
  compared to the output of tinderbox for your architecture?
  Considering that the POWER(PC) architecture is everywhere- at least in
  consoles, why isn't there more interest?

 (obvious answer incoming)
 Because Intel has the Lion's share of the computing architecture
 marketplace and because powerpc is still a secondary architecture to
 Intel...?

 (Personal opinion) Not that great of an architecture.


 Again, I'm not sure why you're posing this question to this thread
 because it's not really relevant to the issue that needs to be
 resolved (in this case it's missing symbols related to xlocale stuff,
 and someone probably forgot to run make tinderbox/make universe).

I'm running buildworld natively on the Quicksilver. Errors related directly
to build will be reported and can be compared to the tinderbox errors.


 The FreeBSD build system supports cross-building on several
 architectures, so I can build ppc on Intel, Intel on ppc, mips n32 on
 ppc, etc. If this didn't work, FreeBSD would be in a world of pain.

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

2012-03-13 Thread Super Bisquit
On Tue, Mar 13, 2012 at 1:56 PM, Garrett Cooper yaneg...@gmail.com wrote:

 On Mar 13, 2012, at 10:23 AM, Super Bisquit wrote:

 On Tue, Mar 13, 2012 at 11:52 AM, Garrett Cooper yaneg...@gmail.comwrote:
  (Personal opinion) Not that great of an architecture.


 And you're entitled to your opinion :).


 Again, I'm not sure why you're posing this question to this thread
 because it's not really relevant to the issue that needs to be
 resolved (in this case it's missing symbols related to xlocale stuff,
 and someone probably forgot to run make tinderbox/make universe).

 I'm running buildworld natively on the Quicksilver. Errors related
 directly to build will be reported and can be compared to the tinderbox
 errors.


 Not everyone has a Mac G4 under his/her desk. Crossbuilding works just
 fine, so again… how is your comment relevant/feasible to the discussion at
 hand?


Has anyone ever compared build errors between native and tinderbox?
Why not? This is not a stupid idea.
What if the native version fails to build but tinderbox is successful? That
could be a hardware error, instruction set, make.conf, or other problem.
Will it hurt to compare? No. It may be helpful.
In what ways is this relevant or feasible to the original post and those
following? Reporting errors from a native build will let one know what
problems will occur and when on actual hardware being used.

Humor me and let me report any possible errors from buildworld on the
Quicksilver;it may confirm what tinderbox reports. The source was csupped
before my original reply and the build started right thereafter.

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

2012-03-13 Thread Super Bisquit
On 3/13/12, Garrett Cooper yaneg...@gmail.com wrote:
 On Tue, Mar 13, 2012 at 11:22 AM, Super Bisquit superbisq...@gmail.com
 wrote:


 On Tue, Mar 13, 2012 at 1:56 PM, Garrett Cooper yaneg...@gmail.com
 wrote:

 On Mar 13, 2012, at 10:23 AM, Super Bisquit wrote:

 On Tue, Mar 13, 2012 at 11:52 AM, Garrett Cooper yaneg...@gmail.com
 wrote:
  (Personal opinion) Not that great of an architecture.


 And you're entitled to your opinion :).


 Again, I'm not sure why you're posing this question to this thread
 because it's not really relevant to the issue that needs to be
 resolved (in this case it's missing symbols related to xlocale stuff,
 and someone probably forgot to run make tinderbox/make universe).

 I'm running buildworld natively on the Quicksilver. Errors related
 directly to build will be reported and can be compared to the tinderbox
 errors.


 Not everyone has a Mac G4 under his/her desk. Crossbuilding works just
 fine, so again… how is your comment relevant/feasible to the discussion
 at
 hand?


 Has anyone ever compared build errors between native and tinderbox?
 Why not? This is not a stupid idea.
 What if the native version fails to build but tinderbox is successful?
 That
 could be a hardware error, instruction set, make.conf, or other problem.
 Will it hurt to compare? No. It may be helpful.
 In what ways is this relevant or feasible to the original post and those
 following? Reporting errors from a native build will let one know what
 problems will occur and when on actual hardware being used.

 Humor me and let me report any possible errors from buildworld on the
 Quicksilver;it may confirm what tinderbox reports. The source was csupped
 before my original reply and the build started right thereafter.

 (Removing current)
 Please run make tinderbox on your Mac with TARGET=powerpc
 TARGET_ARCH=powerpc :). Your build environment is tainted otherwise.

Forgot this part.
 Thanks,
 -Garrett



Okay. The real machine received the same error and it is  due- more
than likely- to the -Werror flag of cc1.
I haven't tried building world using llvm and clang.
___
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 powerpc/powerpc

2011-11-25 Thread Dimitry Andric

On 2011-11-25 23:30, FreeBSD Tinderbox wrote:
...

stage 4.2: building libraries

[...]
c++ -fpic -DPIC  -O2 -pipe -I/src/lib/libcxxrt/../../contrib/libcxxrt 
-fstack-protector -c /src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc -o 
memory.So
c++ -fpic -DPIC  -O2 -pipe -I/src/lib/libcxxrt/../../contrib/libcxxrt 
-fstack-protector -c /src/lib/libcxxrt/../../contrib/libcxxrt/auxhelper.cc -o 
auxhelper.So
c++ -fpic -DPIC  -O2 -pipe -I/src/lib/libcxxrt/../../contrib/libcxxrt 
-fstack-protector -c /src/lib/libcxxrt/../../contrib/libcxxrt/exception.cc -o 
exception.So
c++ -fpic -DPIC  -O2 -pipe -I/src/lib/libcxxrt/../../contrib/libcxxrt 
-fstack-protector -c /src/lib/libcxxrt/../../contrib/libcxxrt/stdexcept.cc -o 
stdexcept.So
c++ -fpic -DPIC  -O2 -pipe -I/src/lib/libcxxrt/../../contrib/libcxxrt 
-fstack-protector -c /src/lib/libcxxrt/../../contrib/libcxxrt/typeinfo.cc -o 
typeinfo.So
c++ -fpic -DPIC  -O2 -pipe -I/src/lib/libcxxrt/../../contrib/libcxxrt 
-fstack-protector -c /src/lib/libcxxrt/../../contrib/libcxxrt/guard.cc -o 
guard.So
building shared library libcxxrt.so.1
/obj/powerpc.powerpc/src/tmp/usr/bin/ld: cannot find -lpthread


Sorry about the breakage, this should be fixed by r227987.
___
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 powerpc/powerpc

2011-10-05 Thread Alexander Best
On Wed Oct  5 11, FreeBSD Tinderbox wrote:
 TB --- 2011-10-05 12:55:29 - tinderbox 2.8 running on 
 freebsd-current.sentex.ca
 TB --- 2011-10-05 12:55:29 - starting HEAD tinderbox run for powerpc/powerpc
 TB --- 2011-10-05 12:55:29 - cleaning the object tree
 TB --- 2011-10-05 12:55:43 - cvsupping the source tree
 TB --- 2011-10-05 12:55:43 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/HEAD/powerpc/powerpc/supfile
 TB --- 2011-10-05 12:55:55 - building world
 TB --- 2011-10-05 12:55:55 - CROSS_BUILD_TESTING=YES
 TB --- 2011-10-05 12:55:55 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-10-05 12:55:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-10-05 12:55:55 - SRCCONF=/dev/null
 TB --- 2011-10-05 12:55:55 - TARGET=powerpc
 TB --- 2011-10-05 12:55:55 - TARGET_ARCH=powerpc
 TB --- 2011-10-05 12:55:55 - TZ=UTC
 TB --- 2011-10-05 12:55:55 - __MAKE_CONF=/dev/null
 TB --- 2011-10-05 12:55:55 - cd /src
 TB --- 2011-10-05 12:55:55 - /usr/bin/make -B buildworld
  World build started on Wed Oct  5 12:55:56 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  -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 
 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
 -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
 -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
 -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
 /src/usr.bin/grep/util.c
 cc -O2 -pipe  -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 
 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
 -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
 -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
 -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
 /src/usr.bin/grep/regex/fastmatch.c
 cc -O2 -pipe  -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 
 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
 -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
 -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
 -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
 /src/usr.bin/grep/regex/hashtable.c
 cc -O2 -pipe  -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 
 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
 -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
 -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
 -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
 /src/usr.bin/grep/regex/tre-compile.c
 cc -O2 -pipe  -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 
 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
 -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
 -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
 -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
 /src/usr.bin/grep/regex/tre-fastmatch.c

[..] -Wno-unused-parameter [..] -Wunused-parameter ?

cheers.
alex

 cc1: warnings being treated as errors
 /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast':
 /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned 
 expression  0 is always false
 *** Error code 1
 
 Stop in /src/usr.bin/grep.
 *** Error code 1
 
 Stop in /src/usr.bin.
 *** Error code 1
 
 Stop in /src.
 *** Error code 1
 
 Stop in /src.
 *** Error code 1
 
 Stop in /src.
 TB --- 2011-10-05 14:43:43 - WARNING: /usr/bin/make returned exit code  1 
 TB --- 2011-10-05 14:43:43 - ERROR: failed to build world
 TB --- 2011-10-05 14:43:43 - 5199.23 user 882.58 system 6494.23 real
 
 
 http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.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


Re: [head tinderbox] failure on powerpc/powerpc

2011-10-05 Thread Alexander Best
On Wed Oct  5 11, Alexander Best wrote:
 On Wed Oct  5 11, FreeBSD Tinderbox wrote:
  TB --- 2011-10-05 12:55:29 - tinderbox 2.8 running on 
  freebsd-current.sentex.ca
  TB --- 2011-10-05 12:55:29 - starting HEAD tinderbox run for powerpc/powerpc
  TB --- 2011-10-05 12:55:29 - cleaning the object tree
  TB --- 2011-10-05 12:55:43 - cvsupping the source tree
  TB --- 2011-10-05 12:55:43 - /usr/bin/csup -z -r 3 -g -L 1 -h 
  cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile
  TB --- 2011-10-05 12:55:55 - building world
  TB --- 2011-10-05 12:55:55 - CROSS_BUILD_TESTING=YES
  TB --- 2011-10-05 12:55:55 - MAKEOBJDIRPREFIX=/obj
  TB --- 2011-10-05 12:55:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
  TB --- 2011-10-05 12:55:55 - SRCCONF=/dev/null
  TB --- 2011-10-05 12:55:55 - TARGET=powerpc
  TB --- 2011-10-05 12:55:55 - TARGET_ARCH=powerpc
  TB --- 2011-10-05 12:55:55 - TZ=UTC
  TB --- 2011-10-05 12:55:55 - __MAKE_CONF=/dev/null
  TB --- 2011-10-05 12:55:55 - cd /src
  TB --- 2011-10-05 12:55:55 - /usr/bin/make -B buildworld
   World build started on Wed Oct  5 12:55:56 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  -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 
  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
  -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
  -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
  -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
  -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
  /src/usr.bin/grep/util.c
  cc -O2 -pipe  -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 
  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
  -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
  -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
  -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
  -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
  /src/usr.bin/grep/regex/fastmatch.c
  cc -O2 -pipe  -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 
  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
  -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
  -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
  -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
  -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
  /src/usr.bin/grep/regex/hashtable.c
  cc -O2 -pipe  -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 
  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
  -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
  -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
  -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
  -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
  /src/usr.bin/grep/regex/tre-compile.c
  cc -O2 -pipe  -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 
  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W 
  -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes 
  -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow 
  -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs 
  -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c 
  /src/usr.bin/grep/regex/tre-fastmatch.c
 
 [..] -Wno-unused-parameter [..] -Wunused-parameter ?

any thoughts about

diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index 796d169..a6127bf 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -36,12 +36,12 @@ CWARNFLAGS  +=  -Werror
 CWARNFLAGS +=  -Wall -Wno-format-y2k
 .  endif
 .  if ${WARNS} = 3
-CWARNFLAGS +=  -W -Wno-unused-parameter -Wstrict-prototypes\
+CWARNFLAGS +=  -Wextra -Wstrict-prototypes\
-Wmissing-prototypes -Wpointer-arith
 .  endif
 .  if ${WARNS} = 4
 CWARNFLAGS +=  -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch\
-   -Wshadow -Wunused-parameter
+   -Wshadow
 .   if !defined(NO_WCAST_ALIGN)
 CWARNFLAGS +=  -Wcast-align
 .   endif
@@ -56,6 +56,9 @@ CWARNFLAGS+=  -Wchar-subscripts -Winline 
-Wnested-externs\
 # XXX always get it right.
 CWARNFLAGS +=  -Wno-uninitialized
 .  endif
+.  if ${WARNS} == 3
+CWARNFLAGS +=  -Wno-unused-parameter
+.  endif
 CWARNFLAGS +=  -Wno-pointer-sign
 . endif
 
?

-Wunused-parameter seems to be enforced by -Wunsed, which seems to be 

Re: [head tinderbox] failure on powerpc/powerpc

2011-08-17 Thread Warner Losh

On Aug 8, 2011, at 10:26 PM, Mark Linimon wrote:

 On Mon, Aug 08, 2011 at 06:53:40PM -0400, Super Bisquit wrote:
 Why does Tinderbox need cross tools? Is the build not native? If so, then
 the rationale would be to build on the architecture and not use cross
 compilation.
 
 - There are no powerpc machines currently online at *.FreeBSD.org.
 
 - The powerpc machines that we run on are far slower than the tinderbox
   machines.
 
 - Even if we had powerpc machines available, and could deal with the
   time-lag for world builds, what then about archs with no native
   machines available (e.g. MIPS)?

MIPS will build natively.  Takes about 14 hours on one of my mips boards (high 
end access point grade) or about 2 hours on my Cavium over pessimal network 
setup.

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

2011-08-08 Thread Super Bisquit
On Mon, Aug 8, 2011 at 5:02 PM, FreeBSD Tinderbox tinder...@freebsd.orgwrote:

 TB --- 2011-08-08 19:09:29 - tinderbox 2.7 running on
 freebsd-current.sentex.ca
 TB --- 2011-08-08 19:09:29 - starting HEAD tinderbox run for
 powerpc/powerpc
 TB --- 2011-08-08 19:09:29 - cleaning the object tree
 TB --- 2011-08-08 19:09:48 - cvsupping the source tree
 TB --- 2011-08-08 19:09:48 - /usr/bin/csup -z -r 3 -g -L 1 -h
 cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile
 TB --- 2011-08-08 19:10:02 - building world
 TB --- 2011-08-08 19:10:02 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-08-08 19:10:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-08-08 19:10:02 - TARGET=powerpc
 TB --- 2011-08-08 19:10:02 - TARGET_ARCH=powerpc
 TB --- 2011-08-08 19:10:02 - TZ=UTC
 TB --- 2011-08-08 19:10:02 - __MAKE_CONF=/dev/null
 TB --- 2011-08-08 19:10:02 - cd /src
 TB --- 2011-08-08 19:10:02 - /usr/bin/make -B buildworld
  World build started on Mon Aug  8 19:10: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 Mon Aug  8 20:58:12 UTC 2011
 TB --- 2011-08-08 20:58:12 - generating LINT kernel config
 TB --- 2011-08-08 20:58:12 - cd /src/sys/powerpc/conf
 TB --- 2011-08-08 20:58:12 - /usr/bin/make -B LINT
 TB --- 2011-08-08 20:58:12 - building LINT kernel
 TB --- 2011-08-08 20:58:12 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-08-08 20:58:12 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-08-08 20:58:12 - TARGET=powerpc
 TB --- 2011-08-08 20:58:12 - TARGET_ARCH=powerpc
 TB --- 2011-08-08 20:58:12 - TZ=UTC
 TB --- 2011-08-08 20:58:12 - __MAKE_CONF=/dev/null
 TB --- 2011-08-08 20:58:12 - cd /src
 TB --- 2011-08-08 20:58:12 - /usr/bin/make -B buildkernel KERNCONF=LINT
  Kernel build for LINT started on Mon Aug  8 20:58:12 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 -I/src/sys/contrib/libfdt -D_KERNEL
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
 -finline-limit=15000 --param inline-unit-growth=100 --param
 large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many
 -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding
 -fstack-protector -Werror  /src/sys/dev/ath/ath_hal/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 -I/src/sys/contrib/libfdt -D_KERNEL
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
 -finline-limit=15000 --param inline-unit-growth=100 --param
 large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many
 -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding
 -fstack-protector -Werror  /src/sys/dev/ath/ath_hal/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 -I/src/sys/contrib/libfdt -D_KERNEL
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
 -finline-limit=15000 --param inline-unit-growth=100 --param
 large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many
 -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding
 -fstack-protector -Werror  /src/sys/dev/ath/ath_hal/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 -I/src/sys/contrib/libfdt -D_KERNEL
 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
 -finline-limit=15000 --param inline-unit-growth=100 --param
 large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many
 -fno-omit-frame-pointer -msoft-float -mno-altivec 

Re: [head tinderbox] failure on powerpc/powerpc

2011-08-08 Thread Mark Linimon
On Mon, Aug 08, 2011 at 06:53:40PM -0400, Super Bisquit wrote:
 Why does Tinderbox need cross tools? Is the build not native? If so, then
 the rationale would be to build on the architecture and not use cross
 compilation.

 - There are no powerpc machines currently online at *.FreeBSD.org.

 - The powerpc machines that we run on are far slower than the tinderbox
   machines.

 - Even if we had powerpc machines available, and could deal with the
   time-lag for world builds, what then about archs with no native
   machines available (e.g. MIPS)?

Cross compilation is needed in this case.

mcl
___
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 powerpc/powerpc

2011-08-07 Thread Super Bisquit
Tinderbox doesn't build in the examples given as a normal user would.
Buildworld should be ran from /usr/src and doesn't need the
/usr/bin/make -b command.
Where is the buildkernel output?

On 8/7/11, FreeBSD Tinderbox tinder...@freebsd.org wrote:
 TB --- 2011-08-07 12:16:11 - tinderbox 2.7 running on
 freebsd-current.sentex.ca
 TB --- 2011-08-07 12:16:11 - starting HEAD tinderbox run for powerpc/powerpc
 TB --- 2011-08-07 12:16:11 - cleaning the object tree
 TB --- 2011-08-07 12:16:15 - cvsupping the source tree
 TB --- 2011-08-07 12:16:15 - /usr/bin/csup -z -r 3 -g -L 1 -h
 cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile
 TB --- 2011-08-07 12:16:29 - building world
 TB --- 2011-08-07 12:16:29 - MAKEOBJDIRPREFIX=/obj
 TB --- 2011-08-07 12:16:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2011-08-07 12:16:29 - TARGET=powerpc
 TB --- 2011-08-07 12:16:29 - TARGET_ARCH=powerpc
 TB --- 2011-08-07 12:16:29 - TZ=UTC
 TB --- 2011-08-07 12:16:29 - __MAKE_CONF=/dev/null
 TB --- 2011-08-07 12:16:29 - cd /src
 TB --- 2011-08-07 12:16:29 - /usr/bin/make -B buildworld
 World build started on Sun Aug  7 12:16:30 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
 [...]
 /src/lib/libthread_db/libthr_db.c: In function 'pt_ta_map_id2thr':
 /src/lib/libthread_db/libthr_db.c:217: warning: passing argument 3 of
 'thr_pread_long' from incompatible pointer type
 /src/lib/libthread_db/libthr_db.c: In function 'pt_ta_thr_iter':
 /src/lib/libthread_db/libthr_db.c:257: warning: passing argument 3 of
 'thr_pread_long' from incompatible pointer type
 /src/lib/libthread_db/libthr_db.c: In function 'pt_ta_event_getmsg':
 /src/lib/libthread_db/libthr_db.c:398: warning: passing argument 3 of
 'thr_pread_long' from incompatible pointer type
 /src/lib/libthread_db/libthr_db.c: In function 'pt_thr_event_getmsg':
 /src/lib/libthread_db/libthr_db.c:702: warning: passing argument 3 of
 'thr_pread_long' from incompatible pointer type
 *** Error code 1

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

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

 Stop in /src.
 *** Error code 1

 Stop in /src.
 *** Error code 1

 Stop in /src.
 *** Error code 1

 Stop in /src.
 TB --- 2011-08-07 12:52:33 - WARNING: /usr/bin/make returned exit code  1
 TB --- 2011-08-07 12:52:33 - ERROR: failed to build world
 TB --- 2011-08-07 12:52:33 - 1592.72 user 392.42 system 2181.87 real


 http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full
 ___
 freebsd-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
 To unsubscribe, send any mail to freebsd-ppc-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 powerpc/powerpc

2011-08-07 Thread Gary Palmer
On Sun, Aug 07, 2011 at 02:15:00PM -0400, Super Bisquit wrote:
 Tinderbox doesn't build in the examples given as a normal user would.
 Buildworld should be ran from /usr/src and doesn't need the
 /usr/bin/make -b command.

make -B just makes sure that it is not running in -j mode, so the
output makes more sense as it is not running multi-process.

 Where is the buildkernel output?

buildkernel comes after buildworld.

Regards,

Gary


 
 On 8/7/11, FreeBSD Tinderbox tinder...@freebsd.org wrote:
  TB --- 2011-08-07 12:16:11 - tinderbox 2.7 running on
  freebsd-current.sentex.ca
  TB --- 2011-08-07 12:16:11 - starting HEAD tinderbox run for powerpc/powerpc
  TB --- 2011-08-07 12:16:11 - cleaning the object tree
  TB --- 2011-08-07 12:16:15 - cvsupping the source tree
  TB --- 2011-08-07 12:16:15 - /usr/bin/csup -z -r 3 -g -L 1 -h
  cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile
  TB --- 2011-08-07 12:16:29 - building world
  TB --- 2011-08-07 12:16:29 - MAKEOBJDIRPREFIX=/obj
  TB --- 2011-08-07 12:16:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
  TB --- 2011-08-07 12:16:29 - TARGET=powerpc
  TB --- 2011-08-07 12:16:29 - TARGET_ARCH=powerpc
  TB --- 2011-08-07 12:16:29 - TZ=UTC
  TB --- 2011-08-07 12:16:29 - __MAKE_CONF=/dev/null
  TB --- 2011-08-07 12:16:29 - cd /src
  TB --- 2011-08-07 12:16:29 - /usr/bin/make -B buildworld
  World build started on Sun Aug  7 12:16:30 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
  [...]
  /src/lib/libthread_db/libthr_db.c: In function 'pt_ta_map_id2thr':
  /src/lib/libthread_db/libthr_db.c:217: warning: passing argument 3 of
  'thr_pread_long' from incompatible pointer type
  /src/lib/libthread_db/libthr_db.c: In function 'pt_ta_thr_iter':
  /src/lib/libthread_db/libthr_db.c:257: warning: passing argument 3 of
  'thr_pread_long' from incompatible pointer type
  /src/lib/libthread_db/libthr_db.c: In function 'pt_ta_event_getmsg':
  /src/lib/libthread_db/libthr_db.c:398: warning: passing argument 3 of
  'thr_pread_long' from incompatible pointer type
  /src/lib/libthread_db/libthr_db.c: In function 'pt_thr_event_getmsg':
  /src/lib/libthread_db/libthr_db.c:702: warning: passing argument 3 of
  'thr_pread_long' from incompatible pointer type
  *** Error code 1
 
  Stop in /src/lib/libthread_db.
  *** Error code 1
 
  Stop in /src/lib.
  *** Error code 1
 
  Stop in /src.
  *** Error code 1
 
  Stop in /src.
  *** Error code 1
 
  Stop in /src.
  *** Error code 1
 
  Stop in /src.
  TB --- 2011-08-07 12:52:33 - WARNING: /usr/bin/make returned exit code  1
  TB --- 2011-08-07 12:52:33 - ERROR: failed to build world
  TB --- 2011-08-07 12:52:33 - 1592.72 user 392.42 system 2181.87 real
 
 
  http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full
  ___
  freebsd-...@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
  To unsubscribe, send any mail to freebsd-ppc-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
 
 
___
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 powerpc/powerpc

2010-06-12 Thread Andreas Tobler

On 12.06.10 12:59, FreeBSD Tinderbox wrote:

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

World build started on Sat Jun 12 09:19:57 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

[...]
cc -O2 -pipe  -DUSE_GZIP=1 -fno-strict-aliasing 
-I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k 
-Wno-uninitialized -Wno-pointer-sign -c /src/usr.sbin/sysinstall/index.c
cc -O2 -pipe  -DUSE_GZIP=1 -fno-strict-aliasing 
-I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k 
-Wno-uninitialized -Wno-pointer-sign -c /src/usr.sbin/sysinstall/install.c
cc1: warnings being treated as errors
/src/usr.sbin/sysinstall/install.c: In function 'installStandard':
/src/usr.sbin/sysinstall/install.c:632: warning: unused variable 'devs'
/src/usr.sbin/sysinstall/install.c:631: warning: unused variable 'tries'
/src/usr.sbin/sysinstall/install.c: In function 'installFixupBase':
/src/usr.sbin/sysinstall/install.c:877: warning: unused variable 'fp'
*** Error code 1


Index: install.c
===
--- install.c   (revision 209106)
+++ install.c   (working copy)
@@ -874,7 +874,9 @@
 int
 installFixupBase(dialogMenuItem *self)
 {
+#if defined(__i386__) || defined(__amd64__)
 FILE *fp;
+#endif
 #ifdef __ia64__
 const char *efi_mntpt;
 #endif

Gruss,
Andreas

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

2010-06-12 Thread Andreas Tobler

On 12.06.10 15:57, Andreas Tobler wrote:

On 12.06.10 12:59, FreeBSD Tinderbox wrote:

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

World build started on Sat Jun 12 09:19:57 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

[...]
cc -O2 -pipe  -DUSE_GZIP=1 -fno-strict-aliasing 
-I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k 
-Wno-uninitialized -Wno-pointer-sign -c /src/usr.sbin/sysinstall/index.c
cc -O2 -pipe  -DUSE_GZIP=1 -fno-strict-aliasing 
-I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -std=gnu99 
-fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k 
-Wno-uninitialized -Wno-pointer-sign -c /src/usr.sbin/sysinstall/install.c
cc1: warnings being treated as errors
/src/usr.sbin/sysinstall/install.c: In function 'installStandard':
/src/usr.sbin/sysinstall/install.c:632: warning: unused variable 'devs'
/src/usr.sbin/sysinstall/install.c:631: warning: unused variable 'tries'
/src/usr.sbin/sysinstall/install.c: In function 'installFixupBase':
/src/usr.sbin/sysinstall/install.c:877: warning: unused variable 'fp'
*** Error code 1




Here the complete one:
Index: install.c
===
--- install.c   (revision 209106)
+++ install.c   (working copy)
@@ -628,8 +628,11 @@
 int
 installStandard(dialogMenuItem *self)
 {
-int i, tries = 0;
+int i;
+#ifdef WITH_SLICES
+int tries = 0;
 Device **devs;
+#endif

 variable_set2(SYSTEM_STATE, standard, 0);
 dialog_clear_norefresh();
@@ -874,7 +877,9 @@
 int
 installFixupBase(dialogMenuItem *self)
 {
+#if defined(__i386__) || defined(__amd64__)
 FILE *fp;
+#endif
 #ifdef __ia64__
 const char *efi_mntpt;
 #endif


Gruss,
Andreas

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

2010-03-11 Thread Andrew Thompson
On Wed, Mar 10, 2010 at 10:48:27PM -0800, Garrett Cooper wrote:
 Weongyo, et all,
 
 On Wed, Mar 10, 2010 at 10:29 PM, FreeBSD Tinderbox
  /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: error: request 
  for member 'sd_bus' in something not a structure or union
  *** Error code 1
 
  Stop in /src/sys/modules/siba_bwn.
  *** Error code 1
 
  Stop in /src/sys/modules.
  *** Error code 1
 
  Stop in /obj/powerpc/src/sys/LINT.
  *** Error code 1
 
  Stop in /src.
  *** Error code 1
 
  Stop in /src.
  TB --- 2010-03-11 06:29:31 - WARNING: /usr/bin/make returned exit code ?1
  TB --- 2010-03-11 06:29:31 - ERROR: failed to build lint kernel
  TB --- 2010-03-11 06:29:31 - 3629.47 user 614.12 system 4685.83 real
 
 Could someone please try this patch to see whether or not it fixes
 the void* deref issue? I don't think it's style(9) correct, but it
 might resolve the issue.
 Thanks,
 -Garrett
 
 Index: siba_core.c
 ===
 --- siba_core.c   (revision 204996)
 +++ siba_core.c   (working copy)
 @@ -2032,9 +2032,9 @@
  siba_dma_translation(device_t dev)
  {
 
 - KASSERT(device_get_ivars(dev)-sd_bus-siba_type == SIBA_TYPE_PCI,
 - (unsupported bustype %d\n,
 -  device_get_ivars(dev)-sd_bus-siba_type));
 + KASSERT(((struct siba_softc *) 
 device_get_ivars(dev))-sd_bus-siba_type ==
 + SIBA_TYPE_PCI, (unsupported bustype %d\n,
 + ((struct siba_softc*) device_get_ivars(dev))-sd_bus-siba_type));
 

It was all getting a bit unwieldy, I committed a more simple fix in
r205003.
___
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 powerpc/powerpc

2010-03-11 Thread Weongyo Jeong
On Thu, Mar 11, 2010 at 09:10:35PM +1300, Andrew Thompson wrote:
 On Wed, Mar 10, 2010 at 10:48:27PM -0800, Garrett Cooper wrote:
  Weongyo, et all,
  
  On Wed, Mar 10, 2010 at 10:29 PM, FreeBSD Tinderbox
   /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: error: request 
   for member 'sd_bus' in something not a structure or union
   *** Error code 1
  
   Stop in /src/sys/modules/siba_bwn.
   *** Error code 1
  
   Stop in /src/sys/modules.
   *** Error code 1
  
   Stop in /obj/powerpc/src/sys/LINT.
   *** Error code 1
  
   Stop in /src.
   *** Error code 1
  
   Stop in /src.
   TB --- 2010-03-11 06:29:31 - WARNING: /usr/bin/make returned exit code ?1
   TB --- 2010-03-11 06:29:31 - ERROR: failed to build lint kernel
   TB --- 2010-03-11 06:29:31 - 3629.47 user 614.12 system 4685.83 real
  
  Could someone please try this patch to see whether or not it fixes
  the void* deref issue? I don't think it's style(9) correct, but it
  might resolve the issue.
  Thanks,
  -Garrett
  
  Index: siba_core.c
  ===
  --- siba_core.c (revision 204996)
  +++ siba_core.c (working copy)
  @@ -2032,9 +2032,9 @@
   siba_dma_translation(device_t dev)
   {
  
  -   KASSERT(device_get_ivars(dev)-sd_bus-siba_type == SIBA_TYPE_PCI,
  -   (unsupported bustype %d\n,
  -device_get_ivars(dev)-sd_bus-siba_type));
  +   KASSERT(((struct siba_softc *) 
  device_get_ivars(dev))-sd_bus-siba_type ==
  +   SIBA_TYPE_PCI, (unsupported bustype %d\n,
  +   ((struct siba_softc*) device_get_ivars(dev))-sd_bus-siba_type));
  
 
 It was all getting a bit unwieldy, I committed a more simple fix in
 r205003.

Thank you for fix and sorry for break build.

regards,
Weongyo Jeong

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

2010-03-10 Thread Garrett Cooper
Weongyo, et all,

On Wed, Mar 10, 2010 at 10:29 PM, FreeBSD Tinderbox
tinder...@freebsd.org wrote:
 TB --- 2010-03-11 05:11:25 - tinderbox 2.6 running on 
 freebsd-current.sentex.ca
 TB --- 2010-03-11 05:11:25 - starting HEAD tinderbox run for powerpc/powerpc
 TB --- 2010-03-11 05:11:25 - cleaning the object tree
 TB --- 2010-03-11 05:11:41 - cvsupping the source tree
 TB --- 2010-03-11 05:11:41 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
 /tinderbox/HEAD/powerpc/powerpc/supfile
 TB --- 2010-03-11 05:12:22 - building world
 TB --- 2010-03-11 05:12:22 - MAKEOBJDIRPREFIX=/obj
 TB --- 2010-03-11 05:12:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2010-03-11 05:12:22 - TARGET=powerpc
 TB --- 2010-03-11 05:12:22 - TARGET_ARCH=powerpc
 TB --- 2010-03-11 05:12:22 - TZ=UTC
 TB --- 2010-03-11 05:12:22 - __MAKE_CONF=/dev/null
 TB --- 2010-03-11 05:12:22 - cd /src
 TB --- 2010-03-11 05:12:22 - /usr/bin/make -B buildworld
 World build started on Thu Mar 11 05:12:23 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 Thu Mar 11 06:12:41 UTC 2010
 TB --- 2010-03-11 06:12:41 - generating LINT kernel config
 TB --- 2010-03-11 06:12:41 - cd /src/sys/powerpc/conf
 TB --- 2010-03-11 06:12:41 - /usr/bin/make -B LINT
 TB --- 2010-03-11 06:12:41 - building LINT kernel
 TB --- 2010-03-11 06:12:41 - MAKEOBJDIRPREFIX=/obj
 TB --- 2010-03-11 06:12:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
 TB --- 2010-03-11 06:12:41 - TARGET=powerpc
 TB --- 2010-03-11 06:12:41 - TARGET_ARCH=powerpc
 TB --- 2010-03-11 06:12:41 - TZ=UTC
 TB --- 2010-03-11 06:12:41 - __MAKE_CONF=/dev/null
 TB --- 2010-03-11 06:12:41 - cd /src
 TB --- 2010-03-11 06:12:41 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Thu Mar 11 06:12:41 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
 [...]
 === siba_bwn (all)
 cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   
 -DHAVE_KERNEL_OPTION_HEADERS -include /obj/powerpc/src/sys/LINT/opt_global.h 
 -I. -I@ -I@/contrib/altq -finline-limit=15000 --param inline-unit-growth=100 
 --param large-function-growth=1000 -fno-common  -mlongcall 
 -fno-omit-frame-pointer -I/obj/powerpc/src/sys/LINT -msoft-float -mno-altivec 
 -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
 -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
 -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
 -fformat-extensions -c /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c
 cc1: warnings being treated as errors
 /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c: In function 
 'siba_dma_translation':
 /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: warning: 
 dereferencing 'void *' pointer
 /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: error: request for 
 member 'sd_bus' in something not a structure or union
 /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: warning: 
 dereferencing 'void *' pointer
 /src/sys/modules/siba_bwn/../../dev/siba/siba_core.c:2035: error: request for 
 member 'sd_bus' in something not a structure or union
 *** Error code 1

 Stop in /src/sys/modules/siba_bwn.
 *** Error code 1

 Stop in /src/sys/modules.
 *** Error code 1

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

 Stop in /src.
 *** Error code 1

 Stop in /src.
 TB --- 2010-03-11 06:29:31 - WARNING: /usr/bin/make returned exit code  1
 TB --- 2010-03-11 06:29:31 - ERROR: failed to build lint kernel
 TB --- 2010-03-11 06:29:31 - 3629.47 user 614.12 system 4685.83 real

Could someone please try this patch to see whether or not it fixes
the void* deref issue? I don't think it's style(9) correct, but it
might resolve the issue.
Thanks,
-Garrett

Index: siba_core.c
===
--- siba_core.c (revision 204996)
+++ siba_core.c (working copy)
@@ -2032,9 +2032,9 @@
 siba_dma_translation(device_t dev)
 {

-   KASSERT(device_get_ivars(dev)-sd_bus-siba_type == SIBA_TYPE_PCI,
-   (unsupported bustype %d\n,
-device_get_ivars(dev)-sd_bus-siba_type));
+   KASSERT(((struct siba_softc *) 
device_get_ivars(dev))-sd_bus-siba_type ==
+   SIBA_TYPE_PCI, (unsupported bustype %d\n,
+   ((struct siba_softc*) device_get_ivars(dev))-sd_bus-siba_type));

return (SIBA_PCI_DMA);
 }
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current