From owner-freebsd-arm@FreeBSD.ORG Mon Jun 11 04:20:02 2012 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D01091065672 for ; Mon, 11 Jun 2012 04:20:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 824538FC12 for ; Mon, 11 Jun 2012 04:20:02 +0000 (UTC) Received: from 63.imp.bsdimp.com (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q5B4H4Xa002206 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sun, 10 Jun 2012 22:17:06 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20120609161132.38066a60@fubar.geek.nz> Date: Sat, 9 Jun 2012 09:53:00 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20120609161132.38066a60@fubar.geek.nz> To: Andrew Turner X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Sun, 10 Jun 2012 22:17:06 -0600 (MDT) Cc: freebsd-arm@FreeBSD.org Subject: Re: Small initarm cleanup X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 04:20:02 -0000 On Jun 8, 2012, at 10:11 PM, Andrew Turner wrote: > I've been looking at what parts of initarm we can clean up. I have a > patch at [1] I would like to commit. It moves the proc_linkup0 from = the > various initarm functions to the common sys/arm/arm/machdep.c. >=20 > Does anybody see any problems with it? If not I'll commit it in the = next > few days. This looks great! I didn't verify each and every instance is exactly = identical, but the quick eyeball check says it looks great. Warner > Andrew >=20 > [1] http://people.freebsd.org/~andrew/proc0.diff > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >=20 >=20 From owner-freebsd-arm@FreeBSD.ORG Mon Jun 11 11:07:18 2012 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 088A61065692 for ; Mon, 11 Jun 2012 11:07:18 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E6A738FC0A for ; Mon, 11 Jun 2012 11:07:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5BB7HEj053226 for ; Mon, 11 Jun 2012 11:07:17 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5BB7HG0053224 for freebsd-arm@FreeBSD.org; Mon, 11 Jun 2012 11:07:17 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 11 Jun 2012 11:07:17 GMT Message-Id: <201206111107.q5BB7HG0053224@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arm@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 11:07:18 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o arm/166256 arm build fail in pmap.c o arm/162159 arm [panic] USB errors leading to panic on DockStar 9.0-RC o arm/161110 arm /usr/src/sys/arm/include/signal.h is bad o arm/161044 arm devel/icu does not build on arm o arm/158950 arm arm/sheevaplug fails fsx when mmap operations are enab o arm/156814 arm OpenRD Ultimate does not boot on DB-88F6XXX or SHEEVAP o arm/155894 arm [patch] Enable at91 booting from SDHC (high capacity) o arm/155214 arm [patch] MMC/SD IO slow on Atmel ARM with modern large o arm/154227 arm [geli] using GELI leads to panic on ARM o arm/153380 arm Panic / translation fault with wlan on ARM o arm/150581 arm [irq] Unknown error generates IRQ address decoding err o arm/149288 arm mail/dovecot causes panic during configure on Sheevapl o arm/134368 arm [patch] nslu2_led driver for the LEDs on the NSLU2 p arm/134338 arm [patch] Lock GPIO accesses on ixp425 14 problems total. From owner-freebsd-arm@FreeBSD.ORG Mon Jun 11 13:32:40 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42ED01065673; Mon, 11 Jun 2012 13:32:40 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 0D2698FC12; Mon, 11 Jun 2012 13:32:39 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q5BDWd0E084903; Mon, 11 Jun 2012 09:32:39 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q5BDWd8w084902; Mon, 11 Jun 2012 13:32:39 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 11 Jun 2012 13:32:39 GMT Message-Id: <201206111332.q5BDWd8w084902@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 13:32:40 -0000 TB --- 2012-06-11 12:30:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-06-11 12:30:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-06-11 12:30:00 - starting HEAD tinderbox run for arm/arm TB --- 2012-06-11 12:30:00 - cleaning the object tree TB --- 2012-06-11 12:30:00 - cvsupping the source tree TB --- 2012-06-11 12:30:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2012-06-11 12:32:23 - building world TB --- 2012-06-11 12:32:23 - CROSS_BUILD_TESTING=YES TB --- 2012-06-11 12:32:23 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-11 12:32:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-11 12:32:23 - SRCCONF=/dev/null TB --- 2012-06-11 12:32:23 - TARGET=arm TB --- 2012-06-11 12:32:23 - TARGET_ARCH=arm TB --- 2012-06-11 12:32:23 - TZ=UTC TB --- 2012-06-11 12:32:23 - __MAKE_CONF=/dev/null TB --- 2012-06-11 12:32:23 - cd /src TB --- 2012-06-11 12:32:23 - /usr/bin/make -B buildworld >>> World build started on Mon Jun 11 12:32:23 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 Jun 11 13:31:57 UTC 2012 TB --- 2012-06-11 13:31:57 - cd /src/sys/arm/conf TB --- 2012-06-11 13:31:57 - /usr/sbin/config -m AVILA TB --- 2012-06-11 13:31:57 - building AVILA kernel TB --- 2012-06-11 13:31:57 - CROSS_BUILD_TESTING=YES TB --- 2012-06-11 13:31:57 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-11 13:31:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-11 13:31:57 - SRCCONF=/dev/null TB --- 2012-06-11 13:31:57 - TARGET=arm TB --- 2012-06-11 13:31:57 - TARGET_ARCH=arm TB --- 2012-06-11 13:31:57 - TZ=UTC TB --- 2012-06-11 13:31:57 - __MAKE_CONF=/dev/null TB --- 2012-06-11 13:31:57 - cd /src TB --- 2012-06-11 13:31:57 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Mon Jun 11 13:31:57 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/dev/ath/if_ath_beacon.c -I/src/sys/dev/ath cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/dev/ath/if_ath_debug.c -I/src/sys/dev/ath cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/dev/ath/if_ath_keycache.c -I/src/sys/dev/ath cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/dev/ath/if_ath_led.c -I/src/sys/dev/ath cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/dev/ath/if_ath_tx.c -I/src/sys/dev/ath cc1: warnings being treated as errors /src/sys/dev/ath/if_ath_tx.c: In function 'ath_tx_addto_baw': /src/sys/dev/ath/if_ath_tx.c:2047: warning: 'tap' is used uninitialized in this function *** Error code 1 Stop in /obj/arm.arm/src/sys/AVILA. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-11 13:32:39 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-11 13:32:39 - ERROR: failed to build AVILA kernel TB --- 2012-06-11 13:32:39 - 2446.47 user 569.30 system 3758.40 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Mon Jun 11 19:12:27 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B24C1065675 for ; Mon, 11 Jun 2012 19:12:27 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta15.emeryville.ca.mail.comcast.net (qmta15.emeryville.ca.mail.comcast.net [76.96.27.228]) by mx1.freebsd.org (Postfix) with ESMTP id 270658FC19 for ; Mon, 11 Jun 2012 19:12:27 +0000 (UTC) Received: from omta02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by qmta15.emeryville.ca.mail.comcast.net with comcast id M7AC1j0080QkzPwAF7BLee; Mon, 11 Jun 2012 19:11:20 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta02.emeryville.ca.mail.comcast.net with comcast id M7BK1j00x4NgCEG8N7BL14; Mon, 11 Jun 2012 19:11:20 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q5BJBHTJ031034; Mon, 11 Jun 2012 13:11:18 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Warner Losh In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-Dg8/6bg3FPPx/IU7zj9L" Date: Mon, 11 Jun 2012 13:11:17 -0600 Message-ID: <1339441877.36051.351.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: "arm@freebsd.org" Subject: Re: Boot parameter parsing X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 19:12:27 -0000 --=-Dg8/6bg3FPPx/IU7zj9L Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Thu, 2012-06-07 at 00:26 -0600, Warner Losh wrote: > Greetings, > > Please find enclosed a small patch to the arm port. > > For too long parsing boot args in arm land has suffered from cut and paste code. This is inefficient and inflexible. This patch does something to fix that. First, it modifies all the arm ports to call parse_boot_param passing in the boot parameters from initarm as the first thing in each platform's implementation of that function. This is done really super early, importantly before we start using memory outside of the loaded kernel's text, data, and bss areas. I'd thought of moving this even earlier, into __start just before the call to initarm, but wasn't completely sure was quite right (it would be more code deleted, however, if I do that: please comment). The down side is that initarm was the only function we called in __start apart from mundane things like memcpy and that would change that, but that's kinda a weak argument I think. > > I've created a weak alias to tying this function to fake_preload_metadata. All but one of the ports do this now, and this moves them to a common standard that could be more easily changed. > > For most ports, it replaces the call to fake_preload_metadata. As such, I've modified the signature of fake_preload_metadata to be the same as parse_boot_param and made it a weak alias. So, if you don't define one, you'll get the current behavior. > > In a future patch, I'll likely be moving the mv platform's code into this routine (I'll create a default_parse_boot_param and create a weak alias pointing to that instead). I'll need to modify the mv port to then get the dtb blob via the metadata, or possibly create a new global for it so that other platforms might make use of that also. > > In a patch after that, I may add a kernel option to enable creation of FreeBSD /boot/loader metadata from Linux's standard boot stuff. This will allow platforms to get more data from the Linux boot loader without going through the intermediate /boot/loader. But it should preserve a unified interface by having it behave just like /boot/loader, but without anything setup by its more advanced features like kernel environment variables or loadable modules. > > If I've done things right by this point, then any ARM port can take advantage of these new features, not just the target I'm aiming at. In addition, anybody can use their own boot loader, if they so choose, and be able to write custom code that parses the args from it in whatever appropriate way might arise for their board. I know of at least one FreeBSD/arm user that has a heavily hacked boot2 boot loader that passes things into the kernel in a non-standard way. This will accommodate them, and others like them, while still providing the project with useful functionality. > > Comments? > > Warner > > P.S. You can also find this at http://people.freebsd.org/~imp/parse_boot_param.diff in case the mailing list eats this for lunch. > > I like everything about this except the names. I've always thought fake_preload_metadata() was a bad name. Now having it be the default implementation of parse_boot_param() seems even-more-bad. There's nothing about the name (or the new comment block) that makes it clear that if you supply a parse_boot_param() routine, it must do everything that fake_preload_metadata() does. The attached patch changes just the arm/machdep.c and machdep.h part of your changes. The fake_preload_metadata() is renamed to add_kernel_preload_metadata() and it becomes a helper routine that board-specific implementations of parse_boot_param() can use to generate the preload metadata when it doesn't come in with the boot params data. It also adds a new routine default_parse_boot_param() which is just a thin wrapper around add_kernel_preload_metadata(). This patch applies to -current on top of the recent changes from Andrew Turner, and instead of (not in addition to) your patch. -- Ian --=-Dg8/6bg3FPPx/IU7zj9L Content-Disposition: attachment; filename="parse_boot_param_2.diff" Content-Type: text/x-patch; name="parse_boot_param_2.diff"; charset="us-ascii" Content-Transfer-Encoding: 7bit Index: sys/arm/xscale/i8134x/crb_machdep.c =================================================================== --- sys/arm/xscale/i8134x/crb_machdep.c (revision 236701) +++ sys/arm/xscale/i8134x/crb_machdep.c (working copy) @@ -191,8 +191,8 @@ vm_offset_t lastaddr; uint32_t memsize, memstart; + lastaddr = parse_boot_param(abp); set_cpufuncs(); - lastaddr = fake_preload_metadata(); pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); Index: sys/arm/xscale/i80321/ep80219_machdep.c =================================================================== --- sys/arm/xscale/i80321/ep80219_machdep.c (revision 236701) +++ sys/arm/xscale/i80321/ep80219_machdep.c (working copy) @@ -194,8 +194,8 @@ vm_offset_t lastaddr; uint32_t memsize, memstart; + lastaddr = parse_boot_param(abp); set_cpufuncs(); - lastaddr = fake_preload_metadata(); pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); Index: sys/arm/xscale/i80321/iq31244_machdep.c =================================================================== --- sys/arm/xscale/i80321/iq31244_machdep.c (revision 236701) +++ sys/arm/xscale/i80321/iq31244_machdep.c (working copy) @@ -195,8 +195,8 @@ vm_offset_t lastaddr; uint32_t memsize, memstart; + lastaddr = parse_boot_param(abp); set_cpufuncs(); - lastaddr = fake_preload_metadata(); pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); Index: sys/arm/xscale/pxa/pxa_machdep.c =================================================================== --- sys/arm/xscale/pxa/pxa_machdep.c (revision 236701) +++ sys/arm/xscale/pxa/pxa_machdep.c (working copy) @@ -176,9 +176,8 @@ int i, j; uint32_t memsize[PXA2X0_SDRAM_BANKS], memstart[PXA2X0_SDRAM_BANKS]; + lastaddr = parse_boot_param(abp); set_cpufuncs(); - - lastaddr = fake_preload_metadata(); pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); Index: sys/arm/xscale/ixp425/avila_machdep.c =================================================================== --- sys/arm/xscale/ixp425/avila_machdep.c (revision 236701) +++ sys/arm/xscale/ixp425/avila_machdep.c (working copy) @@ -240,8 +240,8 @@ vm_offset_t lastaddr; uint32_t memsize; + lastaddr = parse_boot_param(abp); set_cpufuncs(); /* NB: sets cputype */ - lastaddr = fake_preload_metadata(); pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); Index: sys/arm/mv/mv_machdep.c =================================================================== --- sys/arm/mv/mv_machdep.c (revision 236701) +++ sys/arm/mv/mv_machdep.c (working copy) @@ -333,7 +333,7 @@ */ mdp = (void *)((uint32_t)mdp & ~PAGE_MASK); - /* Parse metadata and fetch parameters */ + /* Parse metadata and fetch parameters (move to common machdep.c?) */ if (mdp != NULL) { preload_metadata = mdp; kmdp = preload_search_by_type("elf kernel"); @@ -352,7 +352,7 @@ preload_addr_relocate = KERNVIRTADDR - KERNPHYSADDR; } else { /* Fall back to hardcoded metadata. */ - lastaddr = fake_preload_metadata(); + lastaddr = fake_preload_metadata(abp); } #if defined(FDT_DTB_STATIC) Index: sys/arm/econa/econa_machdep.c =================================================================== --- sys/arm/econa/econa_machdep.c (revision 236701) +++ sys/arm/econa/econa_machdep.c (working copy) @@ -197,8 +197,8 @@ boothowto = RB_VERBOSE; + lastaddr = parse_boot_param(abp); set_cpufuncs(); - lastaddr = fake_preload_metadata(); pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); Index: sys/arm/s3c2xx0/s3c24x0_machdep.c =================================================================== --- sys/arm/s3c2xx0/s3c24x0_machdep.c (revision 236701) +++ sys/arm/s3c2xx0/s3c24x0_machdep.c (working copy) @@ -246,10 +246,9 @@ int i; uint32_t memsize; + boothowto = 0; /* Likely not needed */ + lastaddr = parse_boot_param(abp); i = 0; - - boothowto = 0; - set_cpufuncs(); cpufuncs.cf_sleep = s3c24x0_sleep; lastaddr = fake_preload_metadata(); Index: sys/arm/sa11x0/assabet_machdep.c =================================================================== --- sys/arm/sa11x0/assabet_machdep.c (revision 236701) +++ sys/arm/sa11x0/assabet_machdep.c (working copy) @@ -216,10 +216,10 @@ uint32_t memsize = 32 * 1024 * 1024; sa1110_uart_vaddr = SACOM1_VBASE; - boothowto = RB_VERBOSE | RB_SINGLE; + boothowto = RB_VERBOSE | RB_SINGLE; /* Default value */ + lastaddr = parse_boot_param(abp); cninit(); set_cpufuncs(); - lastaddr = fake_preload_metadata(); physmem = memsize / PAGE_SIZE; pc = &__pcpu; pcpu_init(pc, 0, sizeof(struct pcpu)); Index: sys/arm/at91/at91_machdep.c =================================================================== --- sys/arm/at91/at91_machdep.c (revision 236701) +++ sys/arm/at91/at91_machdep.c (working copy) @@ -394,8 +394,8 @@ uint32_t memsize; vm_offset_t lastaddr; + lastaddr = parse_boot_param(abp); set_cpufuncs(); - lastaddr = fake_preload_metadata(); pcpu_init(pcpup, 0, sizeof(struct pcpu)); PCPU_SET(curthread, &thread0); Index: sys/arm/arm/machdep.c =================================================================== --- sys/arm/arm/machdep.c (revision 236888) +++ sys/arm/arm/machdep.c (working copy) @@ -663,40 +663,48 @@ } /* - * Fake up a boot descriptor table + * Add entries to a preloaded-modules metadata table that describe the kernel, + * based on static info available at compile time. Entries are added to the + * given table at index *idx, and upon return *idx points to the MODINFO_END + * entry (allowing the caller to write more entries into the table if + * necessary). + * Returns the last address used by the kernel. + * Can be used by parse_boot_param() routines when the incoming boot parameters + * don't include info about where the kernel was loaded. */ vm_offset_t -fake_preload_metadata(void) +add_kernel_preload_metadata(uint32_t *metadata, size_t *idx) { #ifdef DDB vm_offset_t zstart = 0, zend = 0; #endif vm_offset_t lastaddr; - int i = 0; - static uint32_t fake_preload[35]; + int i; - fake_preload[i++] = MODINFO_NAME; - fake_preload[i++] = strlen("kernel") + 1; - strcpy((char*)&fake_preload[i++], "kernel"); + i = (idx == NULL) ? 0 : *idx; + + metadata[i++] = MODINFO_NAME; + metadata[i++] = strlen("kernel") + 1; + strcpy((char*)&metadata[i++], "kernel"); i += 1; - fake_preload[i++] = MODINFO_TYPE; - fake_preload[i++] = strlen("elf kernel") + 1; - strcpy((char*)&fake_preload[i++], "elf kernel"); + metadata[i++] = MODINFO_TYPE; + metadata[i++] = strlen("elf kernel") + 1; + strcpy((char*)&metadata[i++], "elf kernel"); i += 2; - fake_preload[i++] = MODINFO_ADDR; - fake_preload[i++] = sizeof(vm_offset_t); - fake_preload[i++] = KERNVIRTADDR; - fake_preload[i++] = MODINFO_SIZE; - fake_preload[i++] = sizeof(uint32_t); - fake_preload[i++] = (uint32_t)&end - KERNVIRTADDR; + metadata[i++] = MODINFO_ADDR; + metadata[i++] = sizeof(vm_offset_t); + metadata[i++] = KERNVIRTADDR; + metadata[i++] = MODINFO_SIZE; + metadata[i++] = sizeof(uint32_t); + metadata[i++] = (uint32_t)&end - KERNVIRTADDR; #ifdef DDB if (*(uint32_t *)KERNVIRTADDR == MAGIC_TRAMP_NUMBER) { - fake_preload[i++] = MODINFO_METADATA|MODINFOMD_SSYM; - fake_preload[i++] = sizeof(vm_offset_t); - fake_preload[i++] = *(uint32_t *)(KERNVIRTADDR + 4); - fake_preload[i++] = MODINFO_METADATA|MODINFOMD_ESYM; - fake_preload[i++] = sizeof(vm_offset_t); - fake_preload[i++] = *(uint32_t *)(KERNVIRTADDR + 8); + metadata[i++] = MODINFO_METADATA|MODINFOMD_SSYM; + metadata[i++] = sizeof(vm_offset_t); + metadata[i++] = *(uint32_t *)(KERNVIRTADDR + 4); + metadata[i++] = MODINFO_METADATA|MODINFOMD_ESYM; + metadata[i++] = sizeof(vm_offset_t); + metadata[i++] = *(uint32_t *)(KERNVIRTADDR + 8); lastaddr = *(uint32_t *)(KERNVIRTADDR + 8); zend = lastaddr; zstart = *(uint32_t *)(KERNVIRTADDR + 4); @@ -705,14 +713,45 @@ } else #endif lastaddr = (vm_offset_t)&end; - fake_preload[i++] = 0; - fake_preload[i] = 0; - preload_metadata = (void *)fake_preload; + /* Return the number of entries we added, not counting MODINFO_END. */ + if (idx != NULL) + *idx = i; + metadata[i++] = MODINFO_END; + metadata[i] = 0; return (lastaddr); } /* + * This is the default boot parameter parsing routine. It just provides + * the global preload_metadata describing the kernel, and returns the last + * address used by the kernel. Any board-specific replacement routine must do + * these two things in addition to any board-specific work it does. + * + * This default implementation is provided via weak linkage. A board can + * provide an alternate implementation that uses the arm_boot_params passed in + * from the bootloader and sets up the preload_metadata accordingly. + * + * This routine is called early in initarm, before VM has been initialized. + * It needs to preserve any data that the boot loader has passed in, before the + * kernel starts to grow past the end of the BSS -- traditionally the place + * boot-loaders put this data. Since this is called so early it cannot do + * things that depend on the vm system being setup (including access to some + * SoC's serial ports which means printf() is probably not going to work). + * + */ +static vm_offset_t +default_parse_boot_param(struct arm_boot_params *abp __unused) +{ + static uint32_t kernel_preload_metadata[35]; + + preload_metadata = (void *)kernel_preload_metadata; + return add_kernel_preload_metadata(kernel_preload_metadata, NULL); +} + +__weak_reference(default_parse_boot_param, parse_boot_param); + +/* * Initialize proc0 */ void Index: sys/arm/include/machdep.h =================================================================== --- sys/arm/include/machdep.h (revision 236888) +++ sys/arm/include/machdep.h (working copy) @@ -6,11 +6,13 @@ /* misc prototypes used by the many arm machdeps */ void arm_lock_cache_line(vm_offset_t); -vm_offset_t fake_preload_metadata(void); void init_proc0(vm_offset_t kstack); void halt(void); void data_abort_handler(trapframe_t *); void prefetch_abort_handler(trapframe_t *); void undefinedinstruction_bounce(trapframe_t *); +struct arm_boot_params; +vm_offset_t parse_boot_param(struct arm_boot_params *); +vm_offset_t add_kernel_preload_metadata(uint32_t *, size_t *); #endif /* !_MACHINE_MACHDEP_H_ */ --=-Dg8/6bg3FPPx/IU7zj9L-- From owner-freebsd-arm@FreeBSD.ORG Mon Jun 11 20:59:21 2012 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 585601065675 for ; Mon, 11 Jun 2012 20:59:21 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id F35888FC16 for ; Mon, 11 Jun 2012 20:59:20 +0000 (UTC) Received: from [10.30.101.53] ([209.117.142.2]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q5BKvgTM016886 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Mon, 11 Jun 2012 14:57:44 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <1339441877.36051.351.camel@revolution.hippie.lan> Date: Mon, 11 Jun 2012 14:57:37 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <9EC29453-F3DD-43C9-850F-0174EAE9BAD8@bsdimp.com> References: <1339441877.36051.351.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Mon, 11 Jun 2012 14:57:44 -0600 (MDT) Cc: "arm@freebsd.org" Subject: Re: Boot parameter parsing X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 20:59:21 -0000 On Jun 11, 2012, at 1:11 PM, Ian Lepore wrote: > On Thu, 2012-06-07 at 00:26 -0600, Warner Losh wrote: >> Greetings, >>=20 >> Please find enclosed a small patch to the arm port. >>=20 >> For too long parsing boot args in arm land has suffered from cut and = paste code. This is inefficient and inflexible. This patch does = something to fix that. First, it modifies all the arm ports to call = parse_boot_param passing in the boot parameters from initarm as the = first thing in each platform's implementation of that function. This is = done really super early, importantly before we start using memory = outside of the loaded kernel's text, data, and bss areas. I'd thought = of moving this even earlier, into __start just before the call to = initarm, but wasn't completely sure was quite right (it would be more = code deleted, however, if I do that: please comment). The down side is = that initarm was the only function we called in __start apart from = mundane things like memcpy and that would change that, but that's kinda = a weak argument I think. >>=20 >> I've created a weak alias to tying this function to = fake_preload_metadata. All but one of the ports do this now, and this = moves them to a common standard that could be more easily changed. >>=20 >> For most ports, it replaces the call to fake_preload_metadata. As = such, I've modified the signature of fake_preload_metadata to be the = same as parse_boot_param and made it a weak alias. So, if you don't = define one, you'll get the current behavior. >>=20 >> In a future patch, I'll likely be moving the mv platform's code into = this routine (I'll create a default_parse_boot_param and create a weak = alias pointing to that instead). I'll need to modify the mv port to = then get the dtb blob via the metadata, or possibly create a new global = for it so that other platforms might make use of that also. >>=20 >> In a patch after that, I may add a kernel option to enable creation = of FreeBSD /boot/loader metadata from Linux's standard boot stuff. This = will allow platforms to get more data from the Linux boot loader without = going through the intermediate /boot/loader. But it should preserve a = unified interface by having it behave just like /boot/loader, but = without anything setup by its more advanced features like kernel = environment variables or loadable modules. >>=20 >> If I've done things right by this point, then any ARM port can take = advantage of these new features, not just the target I'm aiming at. In = addition, anybody can use their own boot loader, if they so choose, and = be able to write custom code that parses the args from it in whatever = appropriate way might arise for their board. I know of at least one = FreeBSD/arm user that has a heavily hacked boot2 boot loader that passes = things into the kernel in a non-standard way. This will accommodate = them, and others like them, while still providing the project with = useful functionality. >>=20 >> Comments? >>=20 >> Warner >>=20 >> P.S. You can also find this at = http://people.freebsd.org/~imp/parse_boot_param.diff in case the mailing = list eats this for lunch. >>=20 >>=20 >=20 > I like everything about this except the names. I've always thought > fake_preload_metadata() was a bad name. Now having it be the default > implementation of parse_boot_param() seems even-more-bad. There's > nothing about the name (or the new comment block) that makes it clear > that if you supply a parse_boot_param() routine, it must do everything > that fake_preload_metadata() does. The next commit in my tree actually creates a new = default_parse_boot_param() that will check to see if the FreeBSD data is = present and parse the usual suspects and fall back to the = fake_preload_metadata() routine that's used everywhere. Right now only = mv uses it, and we really should have everybody use it. After that, there is an option to parse the Linux boot loader stuff into = the metadata and then have the normal metadata code do the right thing. = this would be an optional thing, but the good news here is that we can = tell the difference between a FreeBSD /boot/loader and a Linux/Uboot = load automatically. > The attached patch changes just the arm/machdep.c and machdep.h part = of > your changes. The fake_preload_metadata() is renamed to > add_kernel_preload_metadata() and it becomes a helper routine that > board-specific implementations of parse_boot_param() can use to = generate > the preload metadata when it doesn't come in with the boot params = data. > It also adds a new routine default_parse_boot_param() which is just a > thin wrapper around add_kernel_preload_metadata(). Yea, I have that in a new patch in my tree. I don't really want to = change fake_preload_metadata() just yet, since there are out of tree = ports that use it and I don't want to cut that cord yet. > This patch applies to -current on top of the recent changes from = Andrew > Turner, and instead of (not in addition to) your patch. Thanks. Warner= From owner-freebsd-arm@FreeBSD.ORG Tue Jun 12 08:19:07 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D4E2106564A; Tue, 12 Jun 2012 08:19:07 +0000 (UTC) (envelope-from jps@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id B907A8FC0C; Tue, 12 Jun 2012 08:19:06 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 8A2A6C384B; Tue, 12 Jun 2012 10:18:59 +0200 (CEST) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id i0pkpXXHNJpy; Tue, 12 Jun 2012 10:18:58 +0200 (CEST) Received: from [10.0.0.3] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id BE009C4B2D; Tue, 12 Jun 2012 10:18:58 +0200 (CEST) Message-ID: <4FD6FB72.10900@semihalf.com> Date: Tue, 12 Jun 2012 10:18:58 +0200 From: Jan Sieka User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120506 Thunderbird/12.0.1 MIME-Version: 1.0 To: Tim Kientzle References: <4FCE211D.10204@semihalf.com> <0FE5C5BF-FADE-49BA-BF38-00018A752F14@kientzle.com> In-Reply-To: <0FE5C5BF-FADE-49BA-BF38-00018A752F14@kientzle.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org, kostikbel@gmail.com Subject: Re: Possible fix for Perl failing with ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds" on ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 08:19:07 -0000 On 2012.06.09 18:11, Tim Kientzle wrote: > > On Jun 5, 2012, at 8:09 AM, Jan Sieka wrote: > >> Hello Ian! >> >> I tried recently to compile and run Perl 5.12 on ARM (SheevaPlug) using >> HEAD from 22.05.2012 and got the following error while trying to run: >> /usr/ports/lang/perl5.12 # make test >> [...] >> ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds >> [...] >> >> After investigating the issue it appeared that __flt_rounds symbol is >> not exported by libc. Applying the following patch, recompilling world >> and Perl fixed the problem and allowed to use Perl on SheevaPlug: >> >> diff --git a/lib/libc/arm/Symbol.map b/lib/libc/arm/Symbol.map >> index e8c7f1d..8cdcdaf 100644 >> --- a/lib/libc/arm/Symbol.map >> +++ b/lib/libc/arm/Symbol.map >> @@ -70,6 +70,7 @@ FBSDprivate_1.0 { >> __divdf3; >> __floatsisf; >> __floatsidf; >> + __flt_rounds; >> __fixsfsi; >> __fixdfsi; >> __fixunssfsi; >> >> Can you comment whether this is a correct solution? > > Great! I had the same problem compiling Python last > week and had planned to track it down. > > I just committed this to -CURRENT and will also > merge it to the armv6 tree. Hello Tim! Thanks for committing this but unfortunately that patch wasn't correct. I had another discussion on freebsd-current@ (I forgot to do a cross-list CC - now fixed) about how to add symbols to Symbols.map files (see this thread: http://lists.freebsd.org/pipermail/freebsd-current/2012-June/034511.html) and from the answer and hints given by Konstantin Belousov I have prepared another patch that adheres to library versioning guidelines. If nobody objects this patch then feel free to commit it: diff --git a/lib/libc/arm/Symbol.map b/lib/libc/arm/Symbol.map index dc46013..48f6747 100644 --- a/lib/libc/arm/Symbol.map +++ b/lib/libc/arm/Symbol.map @@ -33,6 +33,10 @@ FBSD_1.0 { sbrk; }; +FBSD_1.3 { + __flt_rounds; +}; + FBSDprivate_1.0 { /* PSEUDO syscalls */ __sys_getlogin; I have verified the above patch is working on SheevaPlug on FreeBSD 10-CURRENT from 2012-05-15 and Perl 5.12.4. Perl has to be recompiled after applying this patch. Best regards, Jan Sieka From owner-freebsd-arm@FreeBSD.ORG Tue Jun 12 08:49:29 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3908B1065672; Tue, 12 Jun 2012 08:49:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id AD1518FC14; Tue, 12 Jun 2012 08:49:28 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q5C8nH41009828; Tue, 12 Jun 2012 11:49:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q5C8nHQc003386; Tue, 12 Jun 2012 11:49:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q5C8nHhI003385; Tue, 12 Jun 2012 11:49:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 12 Jun 2012 11:49:17 +0300 From: Konstantin Belousov To: Jan Sieka Message-ID: <20120612084917.GL2337@deviant.kiev.zoral.com.ua> References: <4FCE211D.10204@semihalf.com> <0FE5C5BF-FADE-49BA-BF38-00018A752F14@kientzle.com> <4FD6FB72.10900@semihalf.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xtmLDbP6TiKhntQb" Content-Disposition: inline In-Reply-To: <4FD6FB72.10900@semihalf.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Tim Kientzle , freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: Possible fix for Perl failing with ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds" on ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 08:49:29 -0000 --xtmLDbP6TiKhntQb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 12, 2012 at 10:18:58AM +0200, Jan Sieka wrote: > On 2012.06.09 18:11, Tim Kientzle wrote: > >=20 > > On Jun 5, 2012, at 8:09 AM, Jan Sieka wrote: > >=20 > >> Hello Ian! > >> > >> I tried recently to compile and run Perl 5.12 on ARM (SheevaPlug) using > >> HEAD from 22.05.2012 and got the following error while trying to run: > >> /usr/ports/lang/perl5.12 # make test > >> [...] > >> ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds > >> [...] > >> > >> After investigating the issue it appeared that __flt_rounds symbol is > >> not exported by libc. Applying the following patch, recompilling world > >> and Perl fixed the problem and allowed to use Perl on SheevaPlug: > >> > >> diff --git a/lib/libc/arm/Symbol.map b/lib/libc/arm/Symbol.map > >> index e8c7f1d..8cdcdaf 100644 > >> --- a/lib/libc/arm/Symbol.map > >> +++ b/lib/libc/arm/Symbol.map > >> @@ -70,6 +70,7 @@ FBSDprivate_1.0 { > >> __divdf3; > >> __floatsisf; > >> __floatsidf; > >> + __flt_rounds; > >> __fixsfsi; > >> __fixdfsi; > >> __fixunssfsi; > >> > >> Can you comment whether this is a correct solution? > >=20 > > Great! I had the same problem compiling Python last > > week and had planned to track it down. > >=20 > > I just committed this to -CURRENT and will also > > merge it to the armv6 tree. > Hello Tim! >=20 > Thanks for committing this but unfortunately that patch wasn't correct. > I had another discussion on freebsd-current@ (I forgot to do a > cross-list CC - now fixed) about how to add symbols to Symbols.map files > (see this thread: > http://lists.freebsd.org/pipermail/freebsd-current/2012-June/034511.html)= and > from the answer and hints given by Konstantin Belousov I have prepared > another patch that adheres to library versioning guidelines. If nobody > objects this patch then feel free to commit it: >=20 > diff --git a/lib/libc/arm/Symbol.map b/lib/libc/arm/Symbol.map > index dc46013..48f6747 100644 > --- a/lib/libc/arm/Symbol.map > +++ b/lib/libc/arm/Symbol.map > @@ -33,6 +33,10 @@ FBSD_1.0 { > sbrk; > }; >=20 > +FBSD_1.3 { > + __flt_rounds; > +}; > + > FBSDprivate_1.0 { > /* PSEUDO syscalls */ > __sys_getlogin; >=20 > I have verified the above patch is working on SheevaPlug on FreeBSD > 10-CURRENT from 2012-05-15 and Perl 5.12.4. Perl has to be recompiled > after applying this patch. Well, both committed version and this version should work, the question is which fix is right. Is __flt_rounds supposed to be linked to by applications ? If the symbols are used by normal programs, that I think we should indeed guarantee ABI stability for them, and FBSD_1.3 namespace is the right namespace to use. I noted that the commit in question added the __flt_rounds symbol to the existing group of symbols probably related to FPU handling. The same question stands for that symbols too, is their placement into FBSDprivate namespace right ? --xtmLDbP6TiKhntQb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk/XAowACgkQC3+MBN1Mb4gvyQCg9GhSvloZUIX3QoZKXlj1BGx8 wsIAoKJyzvLY6m8byxWDmvbpHXgaTD22 =0Awn -----END PGP SIGNATURE----- --xtmLDbP6TiKhntQb-- From owner-freebsd-arm@FreeBSD.ORG Tue Jun 12 14:46:35 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C15B51065673; Tue, 12 Jun 2012 14:46:35 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 74A008FC16; Tue, 12 Jun 2012 14:46:35 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q5CEkTN3069572; Tue, 12 Jun 2012 10:46:29 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q5CEkTwa069571; Tue, 12 Jun 2012 14:46:29 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 12 Jun 2012 14:46:29 GMT Message-Id: <201206121446.q5CEkTwa069571@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 14:46:36 -0000 TB --- 2012-06-12 13:10:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-06-12 13:10:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-06-12 13:10:00 - starting HEAD tinderbox run for arm/arm TB --- 2012-06-12 13:10:00 - cleaning the object tree TB --- 2012-06-12 13:10:00 - cvsupping the source tree TB --- 2012-06-12 13:10:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2012-06-12 13:12:32 - building world TB --- 2012-06-12 13:12:32 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 13:12:32 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 13:12:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 13:12:32 - SRCCONF=/dev/null TB --- 2012-06-12 13:12:32 - TARGET=arm TB --- 2012-06-12 13:12:32 - TARGET_ARCH=arm TB --- 2012-06-12 13:12:32 - TZ=UTC TB --- 2012-06-12 13:12:32 - __MAKE_CONF=/dev/null TB --- 2012-06-12 13:12:32 - cd /src TB --- 2012-06-12 13:12:32 - /usr/bin/make -B buildworld >>> World build started on Tue Jun 12 13:12:33 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 Tue Jun 12 14:12:27 UTC 2012 TB --- 2012-06-12 14:12:27 - cd /src/sys/arm/conf TB --- 2012-06-12 14:12:27 - /usr/sbin/config -m AVILA TB --- 2012-06-12 14:12:28 - building AVILA kernel TB --- 2012-06-12 14:12:28 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 14:12:28 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 14:12:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 14:12:28 - SRCCONF=/dev/null TB --- 2012-06-12 14:12:28 - TARGET=arm TB --- 2012-06-12 14:12:28 - TARGET_ARCH=arm TB --- 2012-06-12 14:12:28 - TZ=UTC TB --- 2012-06-12 14:12:28 - __MAKE_CONF=/dev/null TB --- 2012-06-12 14:12:28 - cd /src TB --- 2012-06-12 14:12:28 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Tue Jun 12 14:12:28 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AVILA completed on Tue Jun 12 14:15:36 UTC 2012 TB --- 2012-06-12 14:15:36 - cd /src/sys/arm/conf TB --- 2012-06-12 14:15:36 - /usr/sbin/config -m BWCT TB --- 2012-06-12 14:15:36 - building BWCT kernel TB --- 2012-06-12 14:15:36 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 14:15:36 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 14:15:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 14:15:36 - SRCCONF=/dev/null TB --- 2012-06-12 14:15:36 - TARGET=arm TB --- 2012-06-12 14:15:36 - TARGET_ARCH=arm TB --- 2012-06-12 14:15:36 - TZ=UTC TB --- 2012-06-12 14:15:36 - __MAKE_CONF=/dev/null TB --- 2012-06-12 14:15:36 - cd /src TB --- 2012-06-12 14:15:36 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Tue Jun 12 14:15:36 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 >>> Kernel build for BWCT completed on Tue Jun 12 14:17:44 UTC 2012 TB --- 2012-06-12 14:17:44 - cd /src/sys/arm/conf TB --- 2012-06-12 14:17:44 - /usr/sbin/config -m CAMBRIA TB --- 2012-06-12 14:17:44 - building CAMBRIA kernel TB --- 2012-06-12 14:17:44 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 14:17:44 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 14:17:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 14:17:44 - SRCCONF=/dev/null TB --- 2012-06-12 14:17:44 - TARGET=arm TB --- 2012-06-12 14:17:44 - TARGET_ARCH=arm TB --- 2012-06-12 14:17:44 - TZ=UTC TB --- 2012-06-12 14:17:44 - __MAKE_CONF=/dev/null TB --- 2012-06-12 14:17:44 - cd /src TB --- 2012-06-12 14:17:44 - /usr/bin/make -B buildkernel KERNCONF=CAMBRIA >>> Kernel build for CAMBRIA started on Tue Jun 12 14:17:44 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 >>> Kernel build for CAMBRIA completed on Tue Jun 12 14:20:41 UTC 2012 TB --- 2012-06-12 14:20:41 - cd /src/sys/arm/conf TB --- 2012-06-12 14:20:41 - /usr/sbin/config -m CNS11XXNAS TB --- 2012-06-12 14:20:41 - building CNS11XXNAS kernel TB --- 2012-06-12 14:20:41 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 14:20:41 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 14:20:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 14:20:41 - SRCCONF=/dev/null TB --- 2012-06-12 14:20:41 - TARGET=arm TB --- 2012-06-12 14:20:41 - TARGET_ARCH=arm TB --- 2012-06-12 14:20:41 - TZ=UTC TB --- 2012-06-12 14:20:41 - __MAKE_CONF=/dev/null TB --- 2012-06-12 14:20:41 - cd /src TB --- 2012-06-12 14:20:41 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS >>> Kernel build for CNS11XXNAS started on Tue Jun 12 14:20:41 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 >>> Kernel build for CNS11XXNAS completed on Tue Jun 12 14:23:11 UTC 2012 TB --- 2012-06-12 14:23:11 - cd /src/sys/arm/conf TB --- 2012-06-12 14:23:11 - /usr/sbin/config -m CRB TB --- 2012-06-12 14:23:11 - building CRB kernel TB --- 2012-06-12 14:23:11 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 14:23:11 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 14:23:11 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 14:23:11 - SRCCONF=/dev/null TB --- 2012-06-12 14:23:11 - TARGET=arm TB --- 2012-06-12 14:23:11 - TARGET_ARCH=arm TB --- 2012-06-12 14:23:11 - TZ=UTC TB --- 2012-06-12 14:23:11 - __MAKE_CONF=/dev/null TB --- 2012-06-12 14:23:11 - cd /src TB --- 2012-06-12 14:23:11 - /usr/bin/make -B buildkernel KERNCONF=CRB >>> Kernel build for CRB started on Tue Jun 12 14:23:11 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 >>> Kernel build for CRB completed on Tue Jun 12 14:26:35 UTC 2012 TB --- 2012-06-12 14:26:35 - cd /src/sys/arm/conf TB --- 2012-06-12 14:26:35 - /usr/sbin/config -m DB-78XXX TB --- 2012-06-12 14:26:35 - building DB-78XXX kernel TB --- 2012-06-12 14:26:35 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 14:26:35 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 14:26:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 14:26:35 - SRCCONF=/dev/null TB --- 2012-06-12 14:26:35 - TARGET=arm TB --- 2012-06-12 14:26:35 - TARGET_ARCH=arm TB --- 2012-06-12 14:26:35 - TZ=UTC TB --- 2012-06-12 14:26:35 - __MAKE_CONF=/dev/null TB --- 2012-06-12 14:26:35 - cd /src TB --- 2012-06-12 14:26:35 - /usr/bin/make -B buildkernel KERNCONF=DB-78XXX >>> Kernel build for DB-78XXX started on Tue Jun 12 14:26:35 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 >>> Kernel build for DB-78XXX completed on Tue Jun 12 14:29:24 UTC 2012 TB --- 2012-06-12 14:29:24 - cd /src/sys/arm/conf TB --- 2012-06-12 14:29:24 - /usr/sbin/config -m DB-88F5XXX TB --- 2012-06-12 14:29:24 - building DB-88F5XXX kernel TB --- 2012-06-12 14:29:24 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 14:29:24 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 14:29:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 14:29:24 - SRCCONF=/dev/null TB --- 2012-06-12 14:29:24 - TARGET=arm TB --- 2012-06-12 14:29:24 - TARGET_ARCH=arm TB --- 2012-06-12 14:29:24 - TZ=UTC TB --- 2012-06-12 14:29:24 - __MAKE_CONF=/dev/null TB --- 2012-06-12 14:29:24 - cd /src TB --- 2012-06-12 14:29:24 - /usr/bin/make -B buildkernel KERNCONF=DB-88F5XXX >>> Kernel build for DB-88F5XXX started on Tue Jun 12 14:29:24 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 >>> Kernel build for DB-88F5XXX completed on Tue Jun 12 14:32:07 UTC 2012 TB --- 2012-06-12 14:32:07 - cd /src/sys/arm/conf TB --- 2012-06-12 14:32:07 - /usr/sbin/config -m DB-88F6XXX TB --- 2012-06-12 14:32:07 - building DB-88F6XXX kernel TB --- 2012-06-12 14:32:07 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 14:32:07 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 14:32:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 14:32:07 - SRCCONF=/dev/null TB --- 2012-06-12 14:32:07 - TARGET=arm TB --- 2012-06-12 14:32:07 - TARGET_ARCH=arm TB --- 2012-06-12 14:32:07 - TZ=UTC TB --- 2012-06-12 14:32:07 - __MAKE_CONF=/dev/null TB --- 2012-06-12 14:32:07 - cd /src TB --- 2012-06-12 14:32:07 - /usr/bin/make -B buildkernel KERNCONF=DB-88F6XXX >>> Kernel build for DB-88F6XXX started on Tue Jun 12 14:32:07 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DB-88F6XXX completed on Tue Jun 12 14:34:59 UTC 2012 TB --- 2012-06-12 14:34:59 - cd /src/sys/arm/conf TB --- 2012-06-12 14:34:59 - /usr/sbin/config -m DOCKSTAR TB --- 2012-06-12 14:34:59 - building DOCKSTAR kernel TB --- 2012-06-12 14:34:59 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 14:34:59 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 14:34:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 14:34:59 - SRCCONF=/dev/null TB --- 2012-06-12 14:34:59 - TARGET=arm TB --- 2012-06-12 14:34:59 - TARGET_ARCH=arm TB --- 2012-06-12 14:34:59 - TZ=UTC TB --- 2012-06-12 14:34:59 - __MAKE_CONF=/dev/null TB --- 2012-06-12 14:34:59 - cd /src TB --- 2012-06-12 14:34:59 - /usr/bin/make -B buildkernel KERNCONF=DOCKSTAR >>> Kernel build for DOCKSTAR started on Tue Jun 12 14:35:00 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 >>> Kernel build for DOCKSTAR completed on Tue Jun 12 14:37:32 UTC 2012 TB --- 2012-06-12 14:37:32 - cd /src/sys/arm/conf TB --- 2012-06-12 14:37:32 - /usr/sbin/config -m EP80219 TB --- 2012-06-12 14:37:32 - building EP80219 kernel TB --- 2012-06-12 14:37:32 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 14:37:32 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 14:37:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 14:37:32 - SRCCONF=/dev/null TB --- 2012-06-12 14:37:32 - TARGET=arm TB --- 2012-06-12 14:37:32 - TARGET_ARCH=arm TB --- 2012-06-12 14:37:32 - TZ=UTC TB --- 2012-06-12 14:37:32 - __MAKE_CONF=/dev/null TB --- 2012-06-12 14:37:32 - cd /src TB --- 2012-06-12 14:37:32 - /usr/bin/make -B buildkernel KERNCONF=EP80219 >>> Kernel build for EP80219 started on Tue Jun 12 14:37:32 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for EP80219 completed on Tue Jun 12 14:40:26 UTC 2012 TB --- 2012-06-12 14:40:26 - cd /src/sys/arm/conf TB --- 2012-06-12 14:40:26 - /usr/sbin/config -m ETHERNUT5 TB --- 2012-06-12 14:40:26 - building ETHERNUT5 kernel TB --- 2012-06-12 14:40:26 - CROSS_BUILD_TESTING=YES TB --- 2012-06-12 14:40:26 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-12 14:40:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-12 14:40:26 - SRCCONF=/dev/null TB --- 2012-06-12 14:40:26 - TARGET=arm TB --- 2012-06-12 14:40:26 - TARGET_ARCH=arm TB --- 2012-06-12 14:40:26 - TZ=UTC TB --- 2012-06-12 14:40:26 - __MAKE_CONF=/dev/null TB --- 2012-06-12 14:40:26 - cd /src TB --- 2012-06-12 14:40:26 - /usr/bin/make -B buildkernel KERNCONF=ETHERNUT5 >>> Kernel build for ETHERNUT5 started on Tue Jun 12 14:40:26 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -O -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/arm.arm/src/sys/ETHERNUT5/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -I/obj/arm.arm/src/sys/ETHERNUT5 -mcpu=arm9 -ffreestanding -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c /src/sys/modules/if_gif/../../net/if_gif.c /src/sys/modules/if_gif/../../net/if_gif.c: In function 'gif_start': /src/sys/modules/if_gif/../../net/if_gif.c:364: error: 'IFF_GIF_WANTED' undeclared (first use in this function) /src/sys/modules/if_gif/../../net/if_gif.c:364: error: (Each undeclared identifier is reported only once /src/sys/modules/if_gif/../../net/if_gif.c:364: error: for each function it appears in.) /src/sys/modules/if_gif/../../net/if_gif.c:391: error: 'struct pkthdr' has no member named 'src_mac_addr' /src/sys/modules/if_gif/../../net/if_gif.c: In function 'gif_output': /src/sys/modules/if_gif/../../net/if_gif.c:509: error: 'struct pkthdr' has no member named 'src_mac_addr' *** Error code 1 Stop in /src/sys/modules/if_gif. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/arm.arm/src/sys/ETHERNUT5. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-12 14:46:29 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-12 14:46:29 - ERROR: failed to build ETHERNUT5 kernel TB --- 2012-06-12 14:46:29 - 4038.95 user 805.81 system 5789.13 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Tue Jun 12 15:56:26 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 409D7106566C; Tue, 12 Jun 2012 15:56:26 +0000 (UTC) (envelope-from jps@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id AA7518FC24; Tue, 12 Jun 2012 15:56:25 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 9CBBAC384B; Tue, 12 Jun 2012 17:56:24 +0200 (CEST) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id 10U7ND3v-Jha; Tue, 12 Jun 2012 17:56:23 +0200 (CEST) Received: from [192.168.1.115] (apn-37-7-77-157.dynamic.gprs.plus.pl [37.7.77.157]) by smtp.semihalf.com (Postfix) with ESMTPSA id 7C4CBC3842; Tue, 12 Jun 2012 17:56:18 +0200 (CEST) Message-ID: <4FD7669C.8030802@semihalf.com> Date: Tue, 12 Jun 2012 17:56:12 +0200 From: Jan Sieka User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20111227 Thunderbird/9.0 MIME-Version: 1.0 To: Konstantin Belousov References: <4FCE211D.10204@semihalf.com> <0FE5C5BF-FADE-49BA-BF38-00018A752F14@kientzle.com> <4FD6FB72.10900@semihalf.com> <20120612084917.GL2337@deviant.kiev.zoral.com.ua> In-Reply-To: <20120612084917.GL2337@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Tim Kientzle , freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: Possible fix for Perl failing with ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds" on ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 15:56:26 -0000 On 2012.06.12 10:49, Konstantin Belousov wrote: > On Tue, Jun 12, 2012 at 10:18:58AM +0200, Jan Sieka wrote: >> On 2012.06.09 18:11, Tim Kientzle wrote: >>> >>> On Jun 5, 2012, at 8:09 AM, Jan Sieka wrote: >>> >>>> Hello Ian! >>>> >>>> I tried recently to compile and run Perl 5.12 on ARM (SheevaPlug) using >>>> HEAD from 22.05.2012 and got the following error while trying to run: >>>> /usr/ports/lang/perl5.12 # make test >>>> [...] >>>> ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds >>>> [...] >>>> >>>> After investigating the issue it appeared that __flt_rounds symbol is >>>> not exported by libc. Applying the following patch, recompilling world >>>> and Perl fixed the problem and allowed to use Perl on SheevaPlug: >>>> >>>> diff --git a/lib/libc/arm/Symbol.map b/lib/libc/arm/Symbol.map >>>> index e8c7f1d..8cdcdaf 100644 >>>> --- a/lib/libc/arm/Symbol.map >>>> +++ b/lib/libc/arm/Symbol.map >>>> @@ -70,6 +70,7 @@ FBSDprivate_1.0 { >>>> __divdf3; >>>> __floatsisf; >>>> __floatsidf; >>>> + __flt_rounds; >>>> __fixsfsi; >>>> __fixdfsi; >>>> __fixunssfsi; >>>> >>>> Can you comment whether this is a correct solution? >>> >>> Great! I had the same problem compiling Python last >>> week and had planned to track it down. >>> >>> I just committed this to -CURRENT and will also >>> merge it to the armv6 tree. >> Hello Tim! >> >> Thanks for committing this but unfortunately that patch wasn't correct. >> I had another discussion on freebsd-current@ (I forgot to do a >> cross-list CC - now fixed) about how to add symbols to Symbols.map files >> (see this thread: >> http://lists.freebsd.org/pipermail/freebsd-current/2012-June/034511.html) and >> from the answer and hints given by Konstantin Belousov I have prepared >> another patch that adheres to library versioning guidelines. If nobody >> objects this patch then feel free to commit it: >> >> diff --git a/lib/libc/arm/Symbol.map b/lib/libc/arm/Symbol.map >> index dc46013..48f6747 100644 >> --- a/lib/libc/arm/Symbol.map >> +++ b/lib/libc/arm/Symbol.map >> @@ -33,6 +33,10 @@ FBSD_1.0 { >> sbrk; >> }; >> >> +FBSD_1.3 { >> + __flt_rounds; >> +}; >> + >> FBSDprivate_1.0 { >> /* PSEUDO syscalls */ >> __sys_getlogin; >> >> I have verified the above patch is working on SheevaPlug on FreeBSD >> 10-CURRENT from 2012-05-15 and Perl 5.12.4. Perl has to be recompiled >> after applying this patch. > Well, both committed version and this version should work, the question > is which fix is right. Is __flt_rounds supposed to be linked to by > applications ? If the symbols are used by normal programs, that I think > we should indeed guarantee ABI stability for them, and FBSD_1.3 > namespace is the right namespace to use. Both versions work indeed. I have analysed other architectures' lib/libc//Symbol.map files and __flt_rounds should go into FBSD_ and *not* into FBSDprivate section. I have verified that at least one of the Perl's libraries (POSIX.so) links to __flt_rounds. Python also links to this function. So to the best of my knowledge current patch is the righteous one. Best regards, Jan Sieka From owner-freebsd-arm@FreeBSD.ORG Tue Jun 12 20:26:53 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AC35106564A; Tue, 12 Jun 2012 20:26:53 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 8C8698FC1B; Tue, 12 Jun 2012 20:26:52 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q5CKQfIP027077; Tue, 12 Jun 2012 23:26:41 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q5CKQfq7001902; Tue, 12 Jun 2012 23:26:41 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q5CKQeoN001901; Tue, 12 Jun 2012 23:26:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 12 Jun 2012 23:26:40 +0300 From: Konstantin Belousov To: Jan Sieka Message-ID: <20120612202640.GO2337@deviant.kiev.zoral.com.ua> References: <4FCE211D.10204@semihalf.com> <0FE5C5BF-FADE-49BA-BF38-00018A752F14@kientzle.com> <4FD6FB72.10900@semihalf.com> <20120612084917.GL2337@deviant.kiev.zoral.com.ua> <4FD7669C.8030802@semihalf.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AKkMM/tm2Mk6Yn/s" Content-Disposition: inline In-Reply-To: <4FD7669C.8030802@semihalf.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Tim Kientzle , freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: Possible fix for Perl failing with ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds" on ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 20:26:53 -0000 --AKkMM/tm2Mk6Yn/s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 12, 2012 at 05:56:12PM +0200, Jan Sieka wrote: > Both versions work indeed. I have analysed other architectures'=20 > lib/libc//Symbol.map files and __flt_rounds should go into FBSD_ an= d=20 > *not* into FBSDprivate section. I have verified that at least one of the= =20 > Perl's libraries (POSIX.so) links to __flt_rounds. Python also links to= =20 > this function. So to the best of my knowledge current patch is the=20 > righteous one. Let me restate my point again. It does not matter whether some application uses the symbol. It does matter whether the symbol is considered the part of exported stable ABI, intended for use by applications. If it is, then FBSD_1.X is the right namespace, otherwise symbol should be moved to private and existing usage fixed. --AKkMM/tm2Mk6Yn/s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk/Xpf8ACgkQC3+MBN1Mb4j6YwCeJy6CHLcm7IMwo2UvAC8P+6ys 6j4AoOme0VcUsk3V3SgyvHt1j7b8Ezls =5vn9 -----END PGP SIGNATURE----- --AKkMM/tm2Mk6Yn/s-- From owner-freebsd-arm@FreeBSD.ORG Tue Jun 12 23:42:26 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7A2E1065672 for ; Tue, 12 Jun 2012 23:42:26 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by mx1.freebsd.org (Postfix) with ESMTP id 2EB938FC1B for ; Tue, 12 Jun 2012 23:42:26 +0000 (UTC) Received: from omta08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by qmta11.emeryville.ca.mail.comcast.net with comcast id Max61j0040FhH24ABbhL3c; Tue, 12 Jun 2012 23:41:20 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta08.emeryville.ca.mail.comcast.net with comcast id MbhK1j00a4NgCEG8UbhKfA; Tue, 12 Jun 2012 23:41:20 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q5CNfHl4032432; Tue, 12 Jun 2012 17:41:17 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Konstantin Belousov In-Reply-To: <20120612202640.GO2337@deviant.kiev.zoral.com.ua> References: <4FCE211D.10204@semihalf.com> <0FE5C5BF-FADE-49BA-BF38-00018A752F14@kientzle.com> <4FD6FB72.10900@semihalf.com> <20120612084917.GL2337@deviant.kiev.zoral.com.ua> <4FD7669C.8030802@semihalf.com> <20120612202640.GO2337@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset="us-ascii" Date: Tue, 12 Jun 2012 17:41:17 -0600 Message-ID: <1339544477.36051.373.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: Possible fix for Perl failing with ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds" on ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 23:42:26 -0000 On Tue, 2012-06-12 at 23:26 +0300, Konstantin Belousov wrote: > On Tue, Jun 12, 2012 at 05:56:12PM +0200, Jan Sieka wrote: > > Both versions work indeed. I have analysed other architectures' > > lib/libc//Symbol.map files and __flt_rounds should go into FBSD_ and > > *not* into FBSDprivate section. I have verified that at least one of the > > Perl's libraries (POSIX.so) links to __flt_rounds. Python also links to > > this function. So to the best of my knowledge current patch is the > > righteous one. > > Let me restate my point again. It does not matter whether some application > uses the symbol. It does matter whether the symbol is considered the part > of exported stable ABI, intended for use by applications. If it is, then > FBSD_1.X is the right namespace, otherwise symbol should be moved to > private and existing usage fixed. The standard C macro FLT_ROUNDS from float.h expands to the reference to __flt_rounds; it's intended for use by applications. -- Ian From owner-freebsd-arm@FreeBSD.ORG Wed Jun 13 14:55:56 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76B04106564A; Wed, 13 Jun 2012 14:55:56 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 46C088FC19; Wed, 13 Jun 2012 14:55:56 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q5DEtoBl004621; Wed, 13 Jun 2012 10:55:50 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q5DEtoR9004620; Wed, 13 Jun 2012 14:55:50 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 13 Jun 2012 14:55:50 GMT Message-Id: <201206131455.q5DEtoR9004620@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2012 14:55:56 -0000 TB --- 2012-06-13 13:50:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-06-13 13:50:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-06-13 13:50:00 - starting HEAD tinderbox run for arm/arm TB --- 2012-06-13 13:50:00 - cleaning the object tree TB --- 2012-06-13 13:50:00 - cvsupping the source tree TB --- 2012-06-13 13:50:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2012-06-13 13:52:37 - building world TB --- 2012-06-13 13:52:37 - CROSS_BUILD_TESTING=YES TB --- 2012-06-13 13:52:37 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-13 13:52:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-13 13:52:37 - SRCCONF=/dev/null TB --- 2012-06-13 13:52:37 - TARGET=arm TB --- 2012-06-13 13:52:37 - TARGET_ARCH=arm TB --- 2012-06-13 13:52:37 - TZ=UTC TB --- 2012-06-13 13:52:37 - __MAKE_CONF=/dev/null TB --- 2012-06-13 13:52:37 - cd /src TB --- 2012-06-13 13:52:37 - /usr/bin/make -B buildworld >>> World build started on Wed Jun 13 13:52:37 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Wed Jun 13 14:52:48 UTC 2012 TB --- 2012-06-13 14:52:48 - cd /src/sys/arm/conf TB --- 2012-06-13 14:52:48 - /usr/sbin/config -m AVILA TB --- 2012-06-13 14:52:49 - building AVILA kernel TB --- 2012-06-13 14:52:49 - CROSS_BUILD_TESTING=YES TB --- 2012-06-13 14:52:49 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-13 14:52:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-13 14:52:49 - SRCCONF=/dev/null TB --- 2012-06-13 14:52:49 - TARGET=arm TB --- 2012-06-13 14:52:49 - TARGET_ARCH=arm TB --- 2012-06-13 14:52:49 - TZ=UTC TB --- 2012-06-13 14:52:49 - __MAKE_CONF=/dev/null TB --- 2012-06-13 14:52:49 - cd /src TB --- 2012-06-13 14:52:49 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Wed Jun 13 14:52:49 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 [...] ld -EL -b binary -d -warn-common -r -d -o IxNpeMicrocode.fwo IxNpeMicrocode.dat cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/arm/xscale/ixp425/ixp425_qmgr.c cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/dev/usb/controller/ehci_ixp4xx.c cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/arm/xscale/ixp425/avila_machdep.c cc1: warnings being treated as errors /src/sys/arm/xscale/ixp425/avila_machdep.c: In function 'initarm': /src/sys/arm/xscale/ixp425/avila_machdep.c:241: warning: implicit declaration of function 'parse_boot_param' /src/sys/arm/xscale/ixp425/avila_machdep.c:241: warning: nested extern declaration of 'parse_boot_param' [-Wnested-externs] *** Error code 1 Stop in /obj/arm.arm/src/sys/AVILA. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-13 14:55:50 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-13 14:55:50 - ERROR: failed to build AVILA kernel TB --- 2012-06-13 14:55:50 - 2562.27 user 587.42 system 3949.72 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu Jun 14 03:27:45 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7113A1065680; Thu, 14 Jun 2012 03:27:45 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 4601A8FC0A; Thu, 14 Jun 2012 03:27:45 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q5E3RdWY066371; Thu, 14 Jun 2012 03:27:39 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id vurf9cxnrzb3n3hyisw7cyyrgi; Thu, 14 Jun 2012 03:27:39 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <20120612202640.GO2337@deviant.kiev.zoral.com.ua> Date: Wed, 13 Jun 2012 20:27:37 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4FCE211D.10204@semihalf.com> <0FE5C5BF-FADE-49BA-BF38-00018A752F14@kientzle.com> <4FD6FB72.10900@semihalf.com> <20120612084917.GL2337@deviant.kiev.zoral.com.ua> <4FD7669C.8030802@semihalf.com> <20120612202640.GO2337@deviant.kiev.zoral.com.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.1278) Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: Possible fix for Perl failing with ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds" on ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2012 03:27:45 -0000 On Jun 12, 2012, at 1:26 PM, Konstantin Belousov wrote: > On Tue, Jun 12, 2012 at 05:56:12PM +0200, Jan Sieka wrote: >> Both versions work indeed. I have analysed other architectures'=20 >> lib/libc//Symbol.map files and __flt_rounds should go into = FBSD_ and=20 >> *not* into FBSDprivate section. I have verified that at least one of = the=20 >> Perl's libraries (POSIX.so) links to __flt_rounds. Python also links = to=20 >> this function. So to the best of my knowledge current patch is the=20 >> righteous one. >=20 > Let me restate my point again. It does not matter whether some = application > uses the symbol. It does matter whether the symbol is considered the = part > of exported stable ABI, intended for use by applications. If it is, = then > FBSD_1.X is the right namespace, otherwise symbol should be moved to > private and existing usage fixed. That particular symbol is in FBSD_1.0 for amd64, i386, ia64, powerpc, = powerpc64, sparc64. It's in FBSDPrivate_1.0 for arm. It's not defined for mips at all. The latter two seem to be bugs; I just committed r237039 to fix arm. I haven't checked the situation on mips. Tim From owner-freebsd-arm@FreeBSD.ORG Thu Jun 14 03:32:20 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0BF11065677; Thu, 14 Jun 2012 03:32:20 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id B60518FC14; Thu, 14 Jun 2012 03:32:20 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q5E3WKvl066426; Thu, 14 Jun 2012 03:32:20 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 67br62wum4iznr6hhwbgpm5dc2; Thu, 14 Jun 2012 03:32:20 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <20120612084917.GL2337@deviant.kiev.zoral.com.ua> Date: Wed, 13 Jun 2012 20:32:19 -0700 Content-Transfer-Encoding: 7bit Message-Id: References: <4FCE211D.10204@semihalf.com> <0FE5C5BF-FADE-49BA-BF38-00018A752F14@kientzle.com> <4FD6FB72.10900@semihalf.com> <20120612084917.GL2337@deviant.kiev.zoral.com.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.1278) Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: Possible fix for Perl failing with ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds" on ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2012 03:32:21 -0000 On Jun 12, 2012, at 1:49 AM, Konstantin Belousov wrote: >>> >>> On Jun 5, 2012, at 8:09 AM, Jan Sieka wrote: >>>> >>>> >>>> After investigating the issue it appeared that __flt_rounds symbol is >>>> not exported by libc. Applying the following patch, recompilling world >>>> and Perl fixed the problem and allowed to use Perl on SheevaPlug: >>>> >>>> diff --git a/lib/libc/arm/Symbol.map b/lib/libc/arm/Symbol.map >>>> index e8c7f1d..8cdcdaf 100644 >>>> --- a/lib/libc/arm/Symbol.map >>>> +++ b/lib/libc/arm/Symbol.map >>>> @@ -70,6 +70,7 @@ FBSDprivate_1.0 { >>>> __divdf3; >>>> __floatsisf; >>>> __floatsidf; >>>> + __flt_rounds; >>>> __fixsfsi; >>>> __fixdfsi; >>>> __fixunssfsi; > If the symbols are used by normal programs, that I think > we should indeed guarantee ABI stability for them, and FBSD_1.3 > namespace is the right namespace to use. Why 1.3? This is a common function across every architecture except MIPS right now (and that's probably easily remedied), so why would it be in a different section for different architectures? Tim From owner-freebsd-arm@FreeBSD.ORG Thu Jun 14 08:11:43 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6D461065672; Thu, 14 Jun 2012 08:11:43 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 871CA8FC12; Thu, 14 Jun 2012 08:11:43 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q5E8Bg8Q070121; Thu, 14 Jun 2012 04:11:42 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q5E8BgRA070120; Thu, 14 Jun 2012 08:11:42 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 14 Jun 2012 08:11:42 GMT Message-Id: <201206140811.q5E8BgRA070120@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2012 08:11:44 -0000 TB --- 2012-06-14 07:10:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-06-14 07:10:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-06-14 07:10:00 - starting HEAD tinderbox run for arm/arm TB --- 2012-06-14 07:10:00 - cleaning the object tree TB --- 2012-06-14 07:10:00 - cvsupping the source tree TB --- 2012-06-14 07:10:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2012-06-14 07:11:06 - building world TB --- 2012-06-14 07:11:06 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 07:11:06 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 07:11:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 07:11:06 - SRCCONF=/dev/null TB --- 2012-06-14 07:11:06 - TARGET=arm TB --- 2012-06-14 07:11:06 - TARGET_ARCH=arm TB --- 2012-06-14 07:11:06 - TZ=UTC TB --- 2012-06-14 07:11:06 - __MAKE_CONF=/dev/null TB --- 2012-06-14 07:11:06 - cd /src TB --- 2012-06-14 07:11:06 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 14 07:11:06 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 Thu Jun 14 08:11:17 UTC 2012 TB --- 2012-06-14 08:11:17 - cd /src/sys/arm/conf TB --- 2012-06-14 08:11:17 - /usr/sbin/config -m AVILA TB --- 2012-06-14 08:11:17 - building AVILA kernel TB --- 2012-06-14 08:11:17 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 08:11:17 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 08:11:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 08:11:17 - SRCCONF=/dev/null TB --- 2012-06-14 08:11:17 - TARGET=arm TB --- 2012-06-14 08:11:17 - TARGET_ARCH=arm TB --- 2012-06-14 08:11:17 - TZ=UTC TB --- 2012-06-14 08:11:17 - __MAKE_CONF=/dev/null TB --- 2012-06-14 08:11:17 - cd /src TB --- 2012-06-14 08:11:17 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Thu Jun 14 08:11:17 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 [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/kern/cpufreq_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/kern/device_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/kern/linker_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/kern/serdev_if.m -h rm -f .newdep /usr/bin/make -V CFILES_NOZFS -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -mlittle-endian -E" CC="cc -mlittle-endian" xargs mkdep -a -f .newdep -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -I/src/sys/dev/cxgb -I/src/sys/dev/cxgbe -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding /src/sys/arm/arm/machdep.c:83:27: error: machine/atags.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/arm.arm/src/sys/AVILA. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-14 08:11:42 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-14 08:11:42 - ERROR: failed to build AVILA kernel TB --- 2012-06-14 08:11:42 - 2435.68 user 567.71 system 3701.91 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Thu Jun 14 12:34:49 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F14B21065672; Thu, 14 Jun 2012 12:34:49 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 6A5038FC08; Thu, 14 Jun 2012 12:34:49 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q5ECYX82062827; Thu, 14 Jun 2012 15:34:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q5ECYXq6032541; Thu, 14 Jun 2012 15:34:33 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q5ECYWXs032540; Thu, 14 Jun 2012 15:34:32 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 14 Jun 2012 15:34:32 +0300 From: Konstantin Belousov To: Tim Kientzle Message-ID: <20120614123432.GB2337@deviant.kiev.zoral.com.ua> References: <4FCE211D.10204@semihalf.com> <0FE5C5BF-FADE-49BA-BF38-00018A752F14@kientzle.com> <4FD6FB72.10900@semihalf.com> <20120612084917.GL2337@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zUOaI4FcYSvHUUu9" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: Possible fix for Perl failing with ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds" on ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2012 12:34:50 -0000 --zUOaI4FcYSvHUUu9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 13, 2012 at 08:32:19PM -0700, Tim Kientzle wrote: > On Jun 12, 2012, at 1:49 AM, Konstantin Belousov wrote: > >>>=20 > >>> On Jun 5, 2012, at 8:09 AM, Jan Sieka wrote: > >>>>=20 > >>>>=20 > >>>> After investigating the issue it appeared that __flt_rounds symbol is > >>>> not exported by libc. Applying the following patch, recompilling wor= ld > >>>> and Perl fixed the problem and allowed to use Perl on SheevaPlug: > >>>>=20 > >>>> diff --git a/lib/libc/arm/Symbol.map b/lib/libc/arm/Symbol.map > >>>> index e8c7f1d..8cdcdaf 100644 > >>>> --- a/lib/libc/arm/Symbol.map > >>>> +++ b/lib/libc/arm/Symbol.map > >>>> @@ -70,6 +70,7 @@ FBSDprivate_1.0 { > >>>> __divdf3; > >>>> __floatsisf; > >>>> __floatsidf; > >>>> + __flt_rounds; > >>>> __fixsfsi; > >>>> __fixdfsi; > >>>> __fixunssfsi; >=20 >=20 > > If the symbols are used by normal programs, that I think > > we should indeed guarantee ABI stability for them, and FBSD_1.3 > > namespace is the right namespace to use. >=20 > Why 1.3? >=20 > This is a common function across every architecture except MIPS right > now (and that's probably easily remedied), so why would it be in > a different section for different architectures? The libc.so built as a result is architecture-specific, so it shall follow the ABI and ABI history of that architecture. By the project policy, a symbol added during the lifetime of CURRENT-10, goes into FBSD_1.3 version namespace. What other arches do there is irrelevant. --zUOaI4FcYSvHUUu9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk/Z2lcACgkQC3+MBN1Mb4j1wQCgui/jL5mTE5ZMIZNY669NHaHg YcMAoLBSxh8hPyn2TcF7GKvuWi9nt9SA =iVWx -----END PGP SIGNATURE----- --zUOaI4FcYSvHUUu9-- From owner-freebsd-arm@FreeBSD.ORG Thu Jun 14 17:46:32 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B32BD106564A; Thu, 14 Jun 2012 17:46:32 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5918FC17; Thu, 14 Jun 2012 17:46:32 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q5EHkQkc038766; Thu, 14 Jun 2012 13:46:26 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q5EHkQx6038761; Thu, 14 Jun 2012 17:46:26 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 14 Jun 2012 17:46:26 GMT Message-Id: <201206141746.q5EHkQx6038761@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2012 17:46:32 -0000 TB --- 2012-06-14 16:00:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-06-14 16:00:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-06-14 16:00:00 - starting HEAD tinderbox run for arm/arm TB --- 2012-06-14 16:00:00 - cleaning the object tree TB --- 2012-06-14 16:03:46 - cvsupping the source tree TB --- 2012-06-14 16:03:46 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2012-06-14 16:04:23 - building world TB --- 2012-06-14 16:04:23 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 16:04:23 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 16:04:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 16:04:23 - SRCCONF=/dev/null TB --- 2012-06-14 16:04:23 - TARGET=arm TB --- 2012-06-14 16:04:23 - TARGET_ARCH=arm TB --- 2012-06-14 16:04:23 - TZ=UTC TB --- 2012-06-14 16:04:23 - __MAKE_CONF=/dev/null TB --- 2012-06-14 16:04:23 - cd /src TB --- 2012-06-14 16:04:23 - /usr/bin/make -B buildworld >>> World build started on Thu Jun 14 16:04:24 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 Thu Jun 14 17:06:24 UTC 2012 TB --- 2012-06-14 17:06:24 - cd /src/sys/arm/conf TB --- 2012-06-14 17:06:24 - /usr/sbin/config -m AVILA TB --- 2012-06-14 17:06:25 - building AVILA kernel TB --- 2012-06-14 17:06:25 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:06:25 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:06:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:06:25 - SRCCONF=/dev/null TB --- 2012-06-14 17:06:25 - TARGET=arm TB --- 2012-06-14 17:06:25 - TARGET_ARCH=arm TB --- 2012-06-14 17:06:25 - TZ=UTC TB --- 2012-06-14 17:06:25 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:06:25 - cd /src TB --- 2012-06-14 17:06:25 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Thu Jun 14 17:06:25 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 >>> Kernel build for AVILA completed on Thu Jun 14 17:09:30 UTC 2012 TB --- 2012-06-14 17:09:30 - cd /src/sys/arm/conf TB --- 2012-06-14 17:09:30 - /usr/sbin/config -m BWCT TB --- 2012-06-14 17:09:30 - building BWCT kernel TB --- 2012-06-14 17:09:30 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:09:30 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:09:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:09:30 - SRCCONF=/dev/null TB --- 2012-06-14 17:09:30 - TARGET=arm TB --- 2012-06-14 17:09:30 - TARGET_ARCH=arm TB --- 2012-06-14 17:09:30 - TZ=UTC TB --- 2012-06-14 17:09:30 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:09:30 - cd /src TB --- 2012-06-14 17:09:30 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Thu Jun 14 17:09:30 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 >>> Kernel build for BWCT completed on Thu Jun 14 17:11:45 UTC 2012 TB --- 2012-06-14 17:11:45 - cd /src/sys/arm/conf TB --- 2012-06-14 17:11:45 - /usr/sbin/config -m CAMBRIA TB --- 2012-06-14 17:11:46 - building CAMBRIA kernel TB --- 2012-06-14 17:11:46 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:11:46 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:11:46 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:11:46 - SRCCONF=/dev/null TB --- 2012-06-14 17:11:46 - TARGET=arm TB --- 2012-06-14 17:11:46 - TARGET_ARCH=arm TB --- 2012-06-14 17:11:46 - TZ=UTC TB --- 2012-06-14 17:11:46 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:11:46 - cd /src TB --- 2012-06-14 17:11:46 - /usr/bin/make -B buildkernel KERNCONF=CAMBRIA >>> Kernel build for CAMBRIA started on Thu Jun 14 17:11:46 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 >>> Kernel build for CAMBRIA completed on Thu Jun 14 17:14:51 UTC 2012 TB --- 2012-06-14 17:14:51 - cd /src/sys/arm/conf TB --- 2012-06-14 17:14:51 - /usr/sbin/config -m CNS11XXNAS TB --- 2012-06-14 17:14:52 - building CNS11XXNAS kernel TB --- 2012-06-14 17:14:52 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:14:52 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:14:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:14:52 - SRCCONF=/dev/null TB --- 2012-06-14 17:14:52 - TARGET=arm TB --- 2012-06-14 17:14:52 - TARGET_ARCH=arm TB --- 2012-06-14 17:14:52 - TZ=UTC TB --- 2012-06-14 17:14:52 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:14:52 - cd /src TB --- 2012-06-14 17:14:52 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS >>> Kernel build for CNS11XXNAS started on Thu Jun 14 17:14:52 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CNS11XXNAS completed on Thu Jun 14 17:17:24 UTC 2012 TB --- 2012-06-14 17:17:24 - cd /src/sys/arm/conf TB --- 2012-06-14 17:17:24 - /usr/sbin/config -m CRB TB --- 2012-06-14 17:17:24 - building CRB kernel TB --- 2012-06-14 17:17:24 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:17:24 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:17:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:17:24 - SRCCONF=/dev/null TB --- 2012-06-14 17:17:24 - TARGET=arm TB --- 2012-06-14 17:17:24 - TARGET_ARCH=arm TB --- 2012-06-14 17:17:24 - TZ=UTC TB --- 2012-06-14 17:17:24 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:17:24 - cd /src TB --- 2012-06-14 17:17:24 - /usr/bin/make -B buildkernel KERNCONF=CRB >>> Kernel build for CRB started on Thu Jun 14 17:17:24 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 >>> Kernel build for CRB completed on Thu Jun 14 17:20:48 UTC 2012 TB --- 2012-06-14 17:20:48 - cd /src/sys/arm/conf TB --- 2012-06-14 17:20:48 - /usr/sbin/config -m DB-78XXX TB --- 2012-06-14 17:20:48 - building DB-78XXX kernel TB --- 2012-06-14 17:20:48 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:20:48 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:20:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:20:48 - SRCCONF=/dev/null TB --- 2012-06-14 17:20:48 - TARGET=arm TB --- 2012-06-14 17:20:48 - TARGET_ARCH=arm TB --- 2012-06-14 17:20:48 - TZ=UTC TB --- 2012-06-14 17:20:48 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:20:48 - cd /src TB --- 2012-06-14 17:20:48 - /usr/bin/make -B buildkernel KERNCONF=DB-78XXX >>> Kernel build for DB-78XXX started on Thu Jun 14 17:20:48 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DB-78XXX completed on Thu Jun 14 17:23:36 UTC 2012 TB --- 2012-06-14 17:23:36 - cd /src/sys/arm/conf TB --- 2012-06-14 17:23:36 - /usr/sbin/config -m DB-88F5XXX TB --- 2012-06-14 17:23:36 - building DB-88F5XXX kernel TB --- 2012-06-14 17:23:36 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:23:36 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:23:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:23:36 - SRCCONF=/dev/null TB --- 2012-06-14 17:23:36 - TARGET=arm TB --- 2012-06-14 17:23:36 - TARGET_ARCH=arm TB --- 2012-06-14 17:23:36 - TZ=UTC TB --- 2012-06-14 17:23:36 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:23:36 - cd /src TB --- 2012-06-14 17:23:36 - /usr/bin/make -B buildkernel KERNCONF=DB-88F5XXX >>> Kernel build for DB-88F5XXX started on Thu Jun 14 17:23:36 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 >>> Kernel build for DB-88F5XXX completed on Thu Jun 14 17:26:15 UTC 2012 TB --- 2012-06-14 17:26:15 - cd /src/sys/arm/conf TB --- 2012-06-14 17:26:15 - /usr/sbin/config -m DB-88F6XXX TB --- 2012-06-14 17:26:15 - building DB-88F6XXX kernel TB --- 2012-06-14 17:26:15 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:26:15 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:26:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:26:15 - SRCCONF=/dev/null TB --- 2012-06-14 17:26:15 - TARGET=arm TB --- 2012-06-14 17:26:15 - TARGET_ARCH=arm TB --- 2012-06-14 17:26:15 - TZ=UTC TB --- 2012-06-14 17:26:15 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:26:15 - cd /src TB --- 2012-06-14 17:26:15 - /usr/bin/make -B buildkernel KERNCONF=DB-88F6XXX >>> Kernel build for DB-88F6XXX started on Thu Jun 14 17:26: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 >>> Kernel build for DB-88F6XXX completed on Thu Jun 14 17:29:04 UTC 2012 TB --- 2012-06-14 17:29:04 - cd /src/sys/arm/conf TB --- 2012-06-14 17:29:04 - /usr/sbin/config -m DOCKSTAR TB --- 2012-06-14 17:29:04 - building DOCKSTAR kernel TB --- 2012-06-14 17:29:04 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:29:04 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:29:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:29:04 - SRCCONF=/dev/null TB --- 2012-06-14 17:29:04 - TARGET=arm TB --- 2012-06-14 17:29:04 - TARGET_ARCH=arm TB --- 2012-06-14 17:29:04 - TZ=UTC TB --- 2012-06-14 17:29:04 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:29:04 - cd /src TB --- 2012-06-14 17:29:04 - /usr/bin/make -B buildkernel KERNCONF=DOCKSTAR >>> Kernel build for DOCKSTAR started on Thu Jun 14 17:29:04 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 >>> Kernel build for DOCKSTAR completed on Thu Jun 14 17:31:38 UTC 2012 TB --- 2012-06-14 17:31:38 - cd /src/sys/arm/conf TB --- 2012-06-14 17:31:38 - /usr/sbin/config -m EP80219 TB --- 2012-06-14 17:31:38 - building EP80219 kernel TB --- 2012-06-14 17:31:38 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:31:38 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:31:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:31:38 - SRCCONF=/dev/null TB --- 2012-06-14 17:31:38 - TARGET=arm TB --- 2012-06-14 17:31:38 - TARGET_ARCH=arm TB --- 2012-06-14 17:31:38 - TZ=UTC TB --- 2012-06-14 17:31:38 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:31:38 - cd /src TB --- 2012-06-14 17:31:38 - /usr/bin/make -B buildkernel KERNCONF=EP80219 >>> Kernel build for EP80219 started on Thu Jun 14 17:31:38 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 >>> Kernel build for EP80219 completed on Thu Jun 14 17:34:30 UTC 2012 TB --- 2012-06-14 17:34:30 - cd /src/sys/arm/conf TB --- 2012-06-14 17:34:30 - /usr/sbin/config -m ETHERNUT5 TB --- 2012-06-14 17:34:30 - building ETHERNUT5 kernel TB --- 2012-06-14 17:34:30 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:34:30 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:34:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:34:30 - SRCCONF=/dev/null TB --- 2012-06-14 17:34:30 - TARGET=arm TB --- 2012-06-14 17:34:30 - TARGET_ARCH=arm TB --- 2012-06-14 17:34:30 - TZ=UTC TB --- 2012-06-14 17:34:30 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:34:30 - cd /src TB --- 2012-06-14 17:34:30 - /usr/bin/make -B buildkernel KERNCONF=ETHERNUT5 >>> Kernel build for ETHERNUT5 started on Thu Jun 14 17:34:30 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 >>> Kernel build for ETHERNUT5 completed on Thu Jun 14 17:44:05 UTC 2012 TB --- 2012-06-14 17:44:05 - cd /src/sys/arm/conf TB --- 2012-06-14 17:44:05 - /usr/sbin/config -m GUMSTIX TB --- 2012-06-14 17:44:05 - building GUMSTIX kernel TB --- 2012-06-14 17:44:05 - CROSS_BUILD_TESTING=YES TB --- 2012-06-14 17:44:05 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-14 17:44:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-14 17:44:05 - SRCCONF=/dev/null TB --- 2012-06-14 17:44:05 - TARGET=arm TB --- 2012-06-14 17:44:05 - TARGET_ARCH=arm TB --- 2012-06-14 17:44:05 - TZ=UTC TB --- 2012-06-14 17:44:05 - __MAKE_CONF=/dev/null TB --- 2012-06-14 17:44:05 - cd /src TB --- 2012-06-14 17:44:05 - /usr/bin/make -B buildkernel KERNCONF=GUMSTIX >>> Kernel build for GUMSTIX started on Thu Jun 14 17:44:05 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 -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/arm/arm/bus_space_generic.c cc -mlittle-endian -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/arm/arm/cpufunc_asm_xscale.S cc -mlittle-endian -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/arm/arm/irq_dispatch.S cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/arm/xscale/pxa/pxa_gpio.c cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/arm/xscale/pxa/pxa_icu.c cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/arm/xscale/pxa/pxa_machdep.c /src/sys/arm/xscale/pxa/pxa_machdep.c: In function 'initarm': /src/sys/arm/xscale/pxa/pxa_machdep.c:178: error: too few arguments to function 'fake_preload_metadata' *** Error code 1 Stop in /obj/arm.arm/src/sys/GUMSTIX. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-14 17:46:26 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-14 17:46:26 - ERROR: failed to build GUMSTIX kernel TB --- 2012-06-14 17:46:26 - 4316.03 user 859.67 system 6385.57 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri Jun 15 03:11:41 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA6571065673; Fri, 15 Jun 2012 03:11:41 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 4D63E8FC17; Fri, 15 Jun 2012 03:11:41 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q5F3BefK021997; Thu, 14 Jun 2012 23:11:40 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q5F3BeJN021992; Fri, 15 Jun 2012 03:11:40 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 15 Jun 2012 03:11:40 GMT Message-Id: <201206150311.q5F3BeJN021992@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 03:11:41 -0000 TB --- 2012-06-15 01:00:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-06-15 01:00:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-06-15 01:00:00 - starting HEAD tinderbox run for arm/arm TB --- 2012-06-15 01:00:00 - cleaning the object tree TB --- 2012-06-15 01:03:59 - cvsupping the source tree TB --- 2012-06-15 01:03:59 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2012-06-15 01:04:35 - building world TB --- 2012-06-15 01:04:35 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 01:04:35 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 01:04:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 01:04:35 - SRCCONF=/dev/null TB --- 2012-06-15 01:04:35 - TARGET=arm TB --- 2012-06-15 01:04:35 - TARGET_ARCH=arm TB --- 2012-06-15 01:04:35 - TZ=UTC TB --- 2012-06-15 01:04:35 - __MAKE_CONF=/dev/null TB --- 2012-06-15 01:04:35 - cd /src TB --- 2012-06-15 01:04:35 - /usr/bin/make -B buildworld >>> World build started on Fri Jun 15 01:04:36 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 Fri Jun 15 02:07:35 UTC 2012 TB --- 2012-06-15 02:07:35 - cd /src/sys/arm/conf TB --- 2012-06-15 02:07:35 - /usr/sbin/config -m AVILA TB --- 2012-06-15 02:07:35 - building AVILA kernel TB --- 2012-06-15 02:07:35 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:07:35 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:07:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:07:35 - SRCCONF=/dev/null TB --- 2012-06-15 02:07:35 - TARGET=arm TB --- 2012-06-15 02:07:35 - TARGET_ARCH=arm TB --- 2012-06-15 02:07:35 - TZ=UTC TB --- 2012-06-15 02:07:35 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:07:35 - cd /src TB --- 2012-06-15 02:07:35 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Fri Jun 15 02:07:35 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 >>> Kernel build for AVILA completed on Fri Jun 15 02:10:44 UTC 2012 TB --- 2012-06-15 02:10:44 - cd /src/sys/arm/conf TB --- 2012-06-15 02:10:44 - /usr/sbin/config -m BWCT TB --- 2012-06-15 02:10:44 - building BWCT kernel TB --- 2012-06-15 02:10:44 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:10:44 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:10:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:10:44 - SRCCONF=/dev/null TB --- 2012-06-15 02:10:44 - TARGET=arm TB --- 2012-06-15 02:10:44 - TARGET_ARCH=arm TB --- 2012-06-15 02:10:44 - TZ=UTC TB --- 2012-06-15 02:10:44 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:10:44 - cd /src TB --- 2012-06-15 02:10:44 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Fri Jun 15 02:10:44 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 >>> Kernel build for BWCT completed on Fri Jun 15 02:12:51 UTC 2012 TB --- 2012-06-15 02:12:51 - cd /src/sys/arm/conf TB --- 2012-06-15 02:12:51 - /usr/sbin/config -m CAMBRIA TB --- 2012-06-15 02:12:51 - building CAMBRIA kernel TB --- 2012-06-15 02:12:51 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:12:51 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:12:51 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:12:51 - SRCCONF=/dev/null TB --- 2012-06-15 02:12:51 - TARGET=arm TB --- 2012-06-15 02:12:51 - TARGET_ARCH=arm TB --- 2012-06-15 02:12:51 - TZ=UTC TB --- 2012-06-15 02:12:51 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:12:51 - cd /src TB --- 2012-06-15 02:12:51 - /usr/bin/make -B buildkernel KERNCONF=CAMBRIA >>> Kernel build for CAMBRIA started on Fri Jun 15 02:12:51 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CAMBRIA completed on Fri Jun 15 02:15:52 UTC 2012 TB --- 2012-06-15 02:15:52 - cd /src/sys/arm/conf TB --- 2012-06-15 02:15:52 - /usr/sbin/config -m CNS11XXNAS TB --- 2012-06-15 02:15:52 - building CNS11XXNAS kernel TB --- 2012-06-15 02:15:52 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:15:52 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:15:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:15:52 - SRCCONF=/dev/null TB --- 2012-06-15 02:15:52 - TARGET=arm TB --- 2012-06-15 02:15:52 - TARGET_ARCH=arm TB --- 2012-06-15 02:15:52 - TZ=UTC TB --- 2012-06-15 02:15:52 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:15:52 - cd /src TB --- 2012-06-15 02:15:52 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS >>> Kernel build for CNS11XXNAS started on Fri Jun 15 02:15:52 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CNS11XXNAS completed on Fri Jun 15 02:18:24 UTC 2012 TB --- 2012-06-15 02:18:24 - cd /src/sys/arm/conf TB --- 2012-06-15 02:18:24 - /usr/sbin/config -m CRB TB --- 2012-06-15 02:18:25 - building CRB kernel TB --- 2012-06-15 02:18:25 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:18:25 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:18:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:18:25 - SRCCONF=/dev/null TB --- 2012-06-15 02:18:25 - TARGET=arm TB --- 2012-06-15 02:18:25 - TARGET_ARCH=arm TB --- 2012-06-15 02:18:25 - TZ=UTC TB --- 2012-06-15 02:18:25 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:18:25 - cd /src TB --- 2012-06-15 02:18:25 - /usr/bin/make -B buildkernel KERNCONF=CRB >>> Kernel build for CRB started on Fri Jun 15 02:18:25 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 >>> Kernel build for CRB completed on Fri Jun 15 02:21:49 UTC 2012 TB --- 2012-06-15 02:21:49 - cd /src/sys/arm/conf TB --- 2012-06-15 02:21:49 - /usr/sbin/config -m DB-78XXX TB --- 2012-06-15 02:21:49 - building DB-78XXX kernel TB --- 2012-06-15 02:21:49 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:21:49 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:21:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:21:49 - SRCCONF=/dev/null TB --- 2012-06-15 02:21:49 - TARGET=arm TB --- 2012-06-15 02:21:49 - TARGET_ARCH=arm TB --- 2012-06-15 02:21:49 - TZ=UTC TB --- 2012-06-15 02:21:49 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:21:49 - cd /src TB --- 2012-06-15 02:21:49 - /usr/bin/make -B buildkernel KERNCONF=DB-78XXX >>> Kernel build for DB-78XXX started on Fri Jun 15 02:21:49 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 >>> Kernel build for DB-78XXX completed on Fri Jun 15 02:24:37 UTC 2012 TB --- 2012-06-15 02:24:37 - cd /src/sys/arm/conf TB --- 2012-06-15 02:24:37 - /usr/sbin/config -m DB-88F5XXX TB --- 2012-06-15 02:24:37 - building DB-88F5XXX kernel TB --- 2012-06-15 02:24:37 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:24:37 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:24:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:24:37 - SRCCONF=/dev/null TB --- 2012-06-15 02:24:37 - TARGET=arm TB --- 2012-06-15 02:24:37 - TARGET_ARCH=arm TB --- 2012-06-15 02:24:37 - TZ=UTC TB --- 2012-06-15 02:24:37 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:24:37 - cd /src TB --- 2012-06-15 02:24:37 - /usr/bin/make -B buildkernel KERNCONF=DB-88F5XXX >>> Kernel build for DB-88F5XXX started on Fri Jun 15 02:24:37 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 >>> Kernel build for DB-88F5XXX completed on Fri Jun 15 02:27:14 UTC 2012 TB --- 2012-06-15 02:27:14 - cd /src/sys/arm/conf TB --- 2012-06-15 02:27:14 - /usr/sbin/config -m DB-88F6XXX TB --- 2012-06-15 02:27:15 - building DB-88F6XXX kernel TB --- 2012-06-15 02:27:15 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:27:15 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:27:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:27:15 - SRCCONF=/dev/null TB --- 2012-06-15 02:27:15 - TARGET=arm TB --- 2012-06-15 02:27:15 - TARGET_ARCH=arm TB --- 2012-06-15 02:27:15 - TZ=UTC TB --- 2012-06-15 02:27:15 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:27:15 - cd /src TB --- 2012-06-15 02:27:15 - /usr/bin/make -B buildkernel KERNCONF=DB-88F6XXX >>> Kernel build for DB-88F6XXX started on Fri Jun 15 02:27: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 >>> Kernel build for DB-88F6XXX completed on Fri Jun 15 02:30:04 UTC 2012 TB --- 2012-06-15 02:30:04 - cd /src/sys/arm/conf TB --- 2012-06-15 02:30:04 - /usr/sbin/config -m DOCKSTAR TB --- 2012-06-15 02:30:04 - building DOCKSTAR kernel TB --- 2012-06-15 02:30:04 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:30:04 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:30:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:30:04 - SRCCONF=/dev/null TB --- 2012-06-15 02:30:04 - TARGET=arm TB --- 2012-06-15 02:30:04 - TARGET_ARCH=arm TB --- 2012-06-15 02:30:04 - TZ=UTC TB --- 2012-06-15 02:30:04 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:30:04 - cd /src TB --- 2012-06-15 02:30:04 - /usr/bin/make -B buildkernel KERNCONF=DOCKSTAR >>> Kernel build for DOCKSTAR started on Fri Jun 15 02:30:04 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 >>> Kernel build for DOCKSTAR completed on Fri Jun 15 02:32:40 UTC 2012 TB --- 2012-06-15 02:32:40 - cd /src/sys/arm/conf TB --- 2012-06-15 02:32:40 - /usr/sbin/config -m EP80219 TB --- 2012-06-15 02:32:40 - building EP80219 kernel TB --- 2012-06-15 02:32:40 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:32:40 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:32:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:32:40 - SRCCONF=/dev/null TB --- 2012-06-15 02:32:40 - TARGET=arm TB --- 2012-06-15 02:32:40 - TARGET_ARCH=arm TB --- 2012-06-15 02:32:40 - TZ=UTC TB --- 2012-06-15 02:32:40 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:32:40 - cd /src TB --- 2012-06-15 02:32:40 - /usr/bin/make -B buildkernel KERNCONF=EP80219 >>> Kernel build for EP80219 started on Fri Jun 15 02:32:40 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for EP80219 completed on Fri Jun 15 02:35:31 UTC 2012 TB --- 2012-06-15 02:35:31 - cd /src/sys/arm/conf TB --- 2012-06-15 02:35:31 - /usr/sbin/config -m ETHERNUT5 TB --- 2012-06-15 02:35:31 - building ETHERNUT5 kernel TB --- 2012-06-15 02:35:31 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:35:31 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:35:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:35:31 - SRCCONF=/dev/null TB --- 2012-06-15 02:35:31 - TARGET=arm TB --- 2012-06-15 02:35:31 - TARGET_ARCH=arm TB --- 2012-06-15 02:35:31 - TZ=UTC TB --- 2012-06-15 02:35:31 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:35:31 - cd /src TB --- 2012-06-15 02:35:31 - /usr/bin/make -B buildkernel KERNCONF=ETHERNUT5 >>> Kernel build for ETHERNUT5 started on Fri Jun 15 02:35:31 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for ETHERNUT5 completed on Fri Jun 15 02:45:15 UTC 2012 TB --- 2012-06-15 02:45:15 - cd /src/sys/arm/conf TB --- 2012-06-15 02:45:15 - /usr/sbin/config -m GUMSTIX TB --- 2012-06-15 02:45:15 - building GUMSTIX kernel TB --- 2012-06-15 02:45:15 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:45:15 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:45:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:45:15 - SRCCONF=/dev/null TB --- 2012-06-15 02:45:15 - TARGET=arm TB --- 2012-06-15 02:45:15 - TARGET_ARCH=arm TB --- 2012-06-15 02:45:15 - TZ=UTC TB --- 2012-06-15 02:45:15 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:45:15 - cd /src TB --- 2012-06-15 02:45:15 - /usr/bin/make -B buildkernel KERNCONF=GUMSTIX >>> Kernel build for GUMSTIX started on Fri Jun 15 02:45: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 >>> Kernel build for GUMSTIX completed on Fri Jun 15 02:47:45 UTC 2012 TB --- 2012-06-15 02:47:45 - cd /src/sys/arm/conf TB --- 2012-06-15 02:47:45 - /usr/sbin/config -m GUMSTIX-QEMU TB --- 2012-06-15 02:47:45 - building GUMSTIX-QEMU kernel TB --- 2012-06-15 02:47:45 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:47:45 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:47:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:47:45 - SRCCONF=/dev/null TB --- 2012-06-15 02:47:45 - TARGET=arm TB --- 2012-06-15 02:47:45 - TARGET_ARCH=arm TB --- 2012-06-15 02:47:45 - TZ=UTC TB --- 2012-06-15 02:47:45 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:47:45 - cd /src TB --- 2012-06-15 02:47:45 - /usr/bin/make -B buildkernel KERNCONF=GUMSTIX-QEMU >>> Kernel build for GUMSTIX-QEMU started on Fri Jun 15 02:47:45 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for GUMSTIX-QEMU completed on Fri Jun 15 02:50:27 UTC 2012 TB --- 2012-06-15 02:50:27 - cd /src/sys/arm/conf TB --- 2012-06-15 02:50:27 - /usr/sbin/config -m HL200 TB --- 2012-06-15 02:50:28 - building HL200 kernel TB --- 2012-06-15 02:50:28 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:50:28 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:50:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:50:28 - SRCCONF=/dev/null TB --- 2012-06-15 02:50:28 - TARGET=arm TB --- 2012-06-15 02:50:28 - TARGET_ARCH=arm TB --- 2012-06-15 02:50:28 - TZ=UTC TB --- 2012-06-15 02:50:28 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:50:28 - cd /src TB --- 2012-06-15 02:50:28 - /usr/bin/make -B buildkernel KERNCONF=HL200 >>> Kernel build for HL200 started on Fri Jun 15 02:50:28 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for HL200 completed on Fri Jun 15 02:53:25 UTC 2012 TB --- 2012-06-15 02:53:25 - cd /src/sys/arm/conf TB --- 2012-06-15 02:53:25 - /usr/sbin/config -m HL201 TB --- 2012-06-15 02:53:25 - building HL201 kernel TB --- 2012-06-15 02:53:25 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:53:25 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:53:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:53:25 - SRCCONF=/dev/null TB --- 2012-06-15 02:53:25 - TARGET=arm TB --- 2012-06-15 02:53:25 - TARGET_ARCH=arm TB --- 2012-06-15 02:53:25 - TZ=UTC TB --- 2012-06-15 02:53:25 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:53:25 - cd /src TB --- 2012-06-15 02:53:25 - /usr/bin/make -B buildkernel KERNCONF=HL201 >>> Kernel build for HL201 started on Fri Jun 15 02:53:25 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 >>> Kernel build for HL201 completed on Fri Jun 15 02:55:46 UTC 2012 TB --- 2012-06-15 02:55:46 - cd /src/sys/arm/conf TB --- 2012-06-15 02:55:46 - /usr/sbin/config -m IQ31244 TB --- 2012-06-15 02:55:46 - building IQ31244 kernel TB --- 2012-06-15 02:55:46 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:55:46 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:55:46 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:55:46 - SRCCONF=/dev/null TB --- 2012-06-15 02:55:46 - TARGET=arm TB --- 2012-06-15 02:55:46 - TARGET_ARCH=arm TB --- 2012-06-15 02:55:46 - TZ=UTC TB --- 2012-06-15 02:55:46 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:55:46 - cd /src TB --- 2012-06-15 02:55:46 - /usr/bin/make -B buildkernel KERNCONF=IQ31244 >>> Kernel build for IQ31244 started on Fri Jun 15 02:55:46 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 >>> Kernel build for IQ31244 completed on Fri Jun 15 02:59:10 UTC 2012 TB --- 2012-06-15 02:59:10 - cd /src/sys/arm/conf TB --- 2012-06-15 02:59:10 - /usr/sbin/config -m KB920X TB --- 2012-06-15 02:59:10 - building KB920X kernel TB --- 2012-06-15 02:59:10 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:59:10 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:59:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:59:10 - SRCCONF=/dev/null TB --- 2012-06-15 02:59:10 - TARGET=arm TB --- 2012-06-15 02:59:10 - TARGET_ARCH=arm TB --- 2012-06-15 02:59:10 - TZ=UTC TB --- 2012-06-15 02:59:10 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:59:10 - cd /src TB --- 2012-06-15 02:59:10 - /usr/bin/make -B buildkernel KERNCONF=KB920X >>> Kernel build for KB920X started on Fri Jun 15 02:59:10 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for KB920X completed on Fri Jun 15 03:09:50 UTC 2012 TB --- 2012-06-15 03:09:50 - cd /src/sys/arm/conf TB --- 2012-06-15 03:09:50 - /usr/sbin/config -m LN2410SBC TB --- 2012-06-15 03:09:51 - building LN2410SBC kernel TB --- 2012-06-15 03:09:51 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 03:09:51 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 03:09:51 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 03:09:51 - SRCCONF=/dev/null TB --- 2012-06-15 03:09:51 - TARGET=arm TB --- 2012-06-15 03:09:51 - TARGET_ARCH=arm TB --- 2012-06-15 03:09:51 - TZ=UTC TB --- 2012-06-15 03:09:51 - __MAKE_CONF=/dev/null TB --- 2012-06-15 03:09:51 - cd /src TB --- 2012-06-15 03:09:51 - /usr/bin/make -B buildkernel KERNCONF=LN2410SBC >>> Kernel build for LN2410SBC started on Fri Jun 15 03:09:51 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/libkern/umoddi3.c cc -mlittle-endian -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/arm/arm/cpufunc_asm_arm9.S cc -mlittle-endian -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/arm/arm/irq_dispatch.S cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/arm/s3c2xx0/board_ln2410sbc.c cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/arm/s3c2xx0/s3c24x0_rtc.c cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/arm/s3c2xx0/s3c24x0_machdep.c /src/sys/arm/s3c2xx0/s3c24x0_machdep.c: In function 'initarm': /src/sys/arm/s3c2xx0/s3c24x0_machdep.c:252: error: too few arguments to function 'fake_preload_metadata' *** Error code 1 Stop in /obj/arm.arm/src/sys/LN2410SBC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-15 03:11:40 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-15 03:11:40 - ERROR: failed to build LN2410SBC kernel TB --- 2012-06-15 03:11:40 - 5402.20 user 1039.56 system 7900.27 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri Jun 15 03:34:06 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD0B6106568A; Fri, 15 Jun 2012 03:34:06 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy2.sentex.ca (freebsd-legacy2.sentex.ca [64.7.128.101]) by mx1.freebsd.org (Postfix) with ESMTP id 728D58FC08; Fri, 15 Jun 2012 03:34:06 +0000 (UTC) Received: from freebsd-legacy2.sentex.ca (localhost [127.0.0.1]) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5) with ESMTP id q5F3WhIV059764; Fri, 15 Jun 2012 03:32:43 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5/Submit) id q5F3WhZI059748; Fri, 15 Jun 2012 03:32:43 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 15 Jun 2012 03:32:43 GMT Message-Id: <201206150332.q5F3WhZI059748@freebsd-legacy2.sentex.ca> X-Authentication-Warning: freebsd-legacy2.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_8 tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 03:34:07 -0000 TB --- 2012-06-15 02:52:03 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca TB --- 2012-06-15 02:52:03 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-06-15 02:52:03 - starting RELENG_8 tinderbox run for arm/arm TB --- 2012-06-15 02:52:03 - cleaning the object tree TB --- 2012-06-15 02:52:03 - cvsupping the source tree TB --- 2012-06-15 02:52:03 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8/arm/arm/supfile TB --- 2012-06-15 02:52:19 - building world TB --- 2012-06-15 02:52:19 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 02:52:19 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 02:52:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 02:52:19 - SRCCONF=/dev/null TB --- 2012-06-15 02:52:19 - TARGET=arm TB --- 2012-06-15 02:52:19 - TARGET_ARCH=arm TB --- 2012-06-15 02:52:19 - TZ=UTC TB --- 2012-06-15 02:52:19 - __MAKE_CONF=/dev/null TB --- 2012-06-15 02:52:19 - cd /src TB --- 2012-06-15 02:52:19 - /usr/bin/make -B buildworld >>> World build started on Fri Jun 15 02:52:20 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri Jun 15 03:29:27 UTC 2012 TB --- 2012-06-15 03:29:27 - cd /src/sys/arm/conf TB --- 2012-06-15 03:29:27 - /usr/sbin/config -m AVILA TB --- 2012-06-15 03:29:27 - building AVILA kernel TB --- 2012-06-15 03:29:27 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 03:29:27 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 03:29:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 03:29:27 - SRCCONF=/dev/null TB --- 2012-06-15 03:29:27 - TARGET=arm TB --- 2012-06-15 03:29:27 - TARGET_ARCH=arm TB --- 2012-06-15 03:29:27 - TZ=UTC TB --- 2012-06-15 03:29:27 - __MAKE_CONF=/dev/null TB --- 2012-06-15 03:29:27 - cd /src TB --- 2012-06-15 03:29:27 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Fri Jun 15 03:29:27 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AVILA completed on Fri Jun 15 03:31:23 UTC 2012 TB --- 2012-06-15 03:31:23 - cd /src/sys/arm/conf TB --- 2012-06-15 03:31:23 - /usr/sbin/config -m BWCT TB --- 2012-06-15 03:31:23 - building BWCT kernel TB --- 2012-06-15 03:31:23 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 03:31:23 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 03:31:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 03:31:23 - SRCCONF=/dev/null TB --- 2012-06-15 03:31:23 - TARGET=arm TB --- 2012-06-15 03:31:23 - TARGET_ARCH=arm TB --- 2012-06-15 03:31:23 - TZ=UTC TB --- 2012-06-15 03:31:23 - __MAKE_CONF=/dev/null TB --- 2012-06-15 03:31:23 - cd /src TB --- 2012-06-15 03:31:23 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Fri Jun 15 03:31:23 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 -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_pio.c cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_pmc.c cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_ssc.c cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_spi.c cc1: warnings being treated as errors /src/sys/arm/at91/at91_spi.c: In function 'at91_spi_attach': /src/sys/arm/at91/at91_spi.c:127: warning: implicit declaration of function 'at91_is_rm92' /src/sys/arm/at91/at91_spi.c:127: warning: nested extern declaration of 'at91_is_rm92' *** Error code 1 Stop in /obj/arm/src/sys/BWCT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-15 03:32:43 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-15 03:32:43 - ERROR: failed to build BWCT kernel TB --- 2012-06-15 03:32:43 - 1875.59 user 425.36 system 2440.05 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri Jun 15 03:56:45 2012 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BB5A1065696; Fri, 15 Jun 2012 03:56:45 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 13E308FC19; Fri, 15 Jun 2012 03:56:44 +0000 (UTC) Received: from 63.imp.bsdimp.com (63.imp.bsdimp.com [10.0.0.63]) (authenticated bits=0) by harmony.bsdimp.com (8.14.4/8.14.3) with ESMTP id q5F3uH0g064410 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Thu, 14 Jun 2012 21:56:18 -0600 (MDT) (envelope-from imp@bsdimp.com) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <201206150311.q5F3BeJN021992@freebsd-current.sentex.ca> Date: Thu, 14 Jun 2012 21:56:17 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <54887691-6427-4CEE-A525-ADF5290CFCBC@bsdimp.com> References: <201206150311.q5F3BeJN021992@freebsd-current.sentex.ca> To: FreeBSD Tinderbox X-Mailer: Apple Mail (2.1084) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (harmony.bsdimp.com [10.0.0.6]); Thu, 14 Jun 2012 21:56:18 -0600 (MDT) Cc: arm@FreeBSD.org, current@FreeBSD.org Subject: Re: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 03:56:45 -0000 On Jun 14, 2012, at 9:11 PM, FreeBSD Tinderbox wrote: > /src/sys/arm/s3c2xx0/s3c24x0_machdep.c: In function 'initarm': > /src/sys/arm/s3c2xx0/s3c24x0_machdep.c:252: error: too few arguments = to function 'fake_preload_metadata' Odd... This looks like a stale build. 252 no longer has that call on = it... Warner From owner-freebsd-arm@FreeBSD.ORG Fri Jun 15 03:58:19 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D6411065678; Fri, 15 Jun 2012 03:58:19 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 6250E8FC15; Fri, 15 Jun 2012 03:58:19 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q5F3wCVN072705; Fri, 15 Jun 2012 03:58:12 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 389bqi3in9tpbtmamnex7ni4cs; Fri, 15 Jun 2012 03:58:12 +0000 (UTC) (envelope-from tim@kientzle.com) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <20120614123432.GB2337@deviant.kiev.zoral.com.ua> Date: Thu, 14 Jun 2012 20:58:10 -0700 Content-Transfer-Encoding: 7bit Message-Id: References: <4FCE211D.10204@semihalf.com> <0FE5C5BF-FADE-49BA-BF38-00018A752F14@kientzle.com> <4FD6FB72.10900@semihalf.com> <20120612084917.GL2337@deviant.kiev.zoral.com.ua> <20120614123432.GB2337@deviant.kiev.zoral.com.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.1278) Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: Possible fix for Perl failing with ../lib/auto/POSIX/POSIX.so: Undefined symbol "__flt_rounds" on ARM X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 03:58:19 -0000 On Jun 14, 2012, at 5:34 AM, Konstantin Belousov wrote: > On Wed, Jun 13, 2012 at 08:32:19PM -0700, Tim Kientzle wrote: >> On Jun 12, 2012, at 1:49 AM, Konstantin Belousov wrote: >>>>> >>>>> On Jun 5, 2012, at 8:09 AM, Jan Sieka wrote: >>>>>> >>>>>> >>>>>> After investigating the issue it appeared that __flt_rounds symbol is >>>>>> not exported by libc. Applying the following patch, recompilling world >>>>>> and Perl fixed the problem and allowed to use Perl on SheevaPlug: >>>>>> >>>>>> diff --git a/lib/libc/arm/Symbol.map b/lib/libc/arm/Symbol.map >>>>>> index e8c7f1d..8cdcdaf 100644 >>>>>> --- a/lib/libc/arm/Symbol.map >>>>>> +++ b/lib/libc/arm/Symbol.map >>>>>> @@ -70,6 +70,7 @@ FBSDprivate_1.0 { >>>>>> __divdf3; >>>>>> __floatsisf; >>>>>> __floatsidf; >>>>>> + __flt_rounds; >>>>>> __fixsfsi; >>>>>> __fixdfsi; >>>>>> __fixunssfsi; >> >> >>> If the symbols are used by normal programs, that I think >>> we should indeed guarantee ABI stability for them, and FBSD_1.3 >>> namespace is the right namespace to use. >> >> Why 1.3? >> >> This is a common function across every architecture except MIPS right >> now (and that's probably easily remedied), so why would it be in >> a different section for different architectures? > > The libc.so built as a result is architecture-specific, so it shall > follow the ABI and ABI history of that architecture. By the project > policy, a symbol added during the lifetime of CURRENT-10, goes into > FBSD_1.3 version namespace. What other arches do there is irrelevant. Changed in r237110. Tim From owner-freebsd-arm@FreeBSD.ORG Fri Jun 15 09:34:59 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C5381065673; Fri, 15 Jun 2012 09:34:59 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy2.sentex.ca (freebsd-legacy2.sentex.ca [64.7.128.101]) by mx1.freebsd.org (Postfix) with ESMTP id A4CF28FC08; Fri, 15 Jun 2012 09:34:58 +0000 (UTC) Received: from freebsd-legacy2.sentex.ca (localhost [127.0.0.1]) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5) with ESMTP id q5F9YvhL038366; Fri, 15 Jun 2012 09:34:57 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5/Submit) id q5F9Yvcr038220; Fri, 15 Jun 2012 09:34:57 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 15 Jun 2012 09:34:57 GMT Message-Id: <201206150934.q5F9Yvcr038220@freebsd-legacy2.sentex.ca> X-Authentication-Warning: freebsd-legacy2.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_8 tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 09:34:59 -0000 TB --- 2012-06-15 08:53:49 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca TB --- 2012-06-15 08:53:49 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-06-15 08:53:49 - starting RELENG_8 tinderbox run for arm/arm TB --- 2012-06-15 08:53:49 - cleaning the object tree TB --- 2012-06-15 08:54:05 - cvsupping the source tree TB --- 2012-06-15 08:54:05 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8/arm/arm/supfile TB --- 2012-06-15 08:55:10 - building world TB --- 2012-06-15 08:55:10 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 08:55:10 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 08:55:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 08:55:10 - SRCCONF=/dev/null TB --- 2012-06-15 08:55:10 - TARGET=arm TB --- 2012-06-15 08:55:10 - TARGET_ARCH=arm TB --- 2012-06-15 08:55:10 - TZ=UTC TB --- 2012-06-15 08:55:10 - __MAKE_CONF=/dev/null TB --- 2012-06-15 08:55:10 - cd /src TB --- 2012-06-15 08:55:10 - /usr/bin/make -B buildworld >>> World build started on Fri Jun 15 08:55:10 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Fri Jun 15 09:31:44 UTC 2012 TB --- 2012-06-15 09:31:44 - cd /src/sys/arm/conf TB --- 2012-06-15 09:31:44 - /usr/sbin/config -m AVILA TB --- 2012-06-15 09:31:44 - building AVILA kernel TB --- 2012-06-15 09:31:44 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 09:31:44 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 09:31:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 09:31:44 - SRCCONF=/dev/null TB --- 2012-06-15 09:31:44 - TARGET=arm TB --- 2012-06-15 09:31:44 - TARGET_ARCH=arm TB --- 2012-06-15 09:31:44 - TZ=UTC TB --- 2012-06-15 09:31:44 - __MAKE_CONF=/dev/null TB --- 2012-06-15 09:31:44 - cd /src TB --- 2012-06-15 09:31:44 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Fri Jun 15 09:31:44 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 >>> Kernel build for AVILA completed on Fri Jun 15 09:33:39 UTC 2012 TB --- 2012-06-15 09:33:39 - cd /src/sys/arm/conf TB --- 2012-06-15 09:33:39 - /usr/sbin/config -m BWCT TB --- 2012-06-15 09:33:39 - building BWCT kernel TB --- 2012-06-15 09:33:39 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 09:33:39 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 09:33:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 09:33:39 - SRCCONF=/dev/null TB --- 2012-06-15 09:33:39 - TARGET=arm TB --- 2012-06-15 09:33:39 - TARGET_ARCH=arm TB --- 2012-06-15 09:33:39 - TZ=UTC TB --- 2012-06-15 09:33:39 - __MAKE_CONF=/dev/null TB --- 2012-06-15 09:33:39 - cd /src TB --- 2012-06-15 09:33:39 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Fri Jun 15 09:33:39 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 -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_pio.c cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_pmc.c cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_ssc.c cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_spi.c cc1: warnings being treated as errors /src/sys/arm/at91/at91_spi.c: In function 'at91_spi_attach': /src/sys/arm/at91/at91_spi.c:127: warning: implicit declaration of function 'at91_is_rm92' /src/sys/arm/at91/at91_spi.c:127: warning: nested extern declaration of 'at91_is_rm92' *** Error code 1 Stop in /obj/arm/src/sys/BWCT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-15 09:34:57 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-15 09:34:57 - ERROR: failed to build BWCT kernel TB --- 2012-06-15 09:34:57 - 1852.58 user 408.45 system 2467.31 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri Jun 15 12:15:04 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 66EEB106566B; Fri, 15 Jun 2012 12:15:04 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 054958FC17; Fri, 15 Jun 2012 12:15:03 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q5FCF2dV005334; Fri, 15 Jun 2012 08:15:02 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q5FCF2Ni005324; Fri, 15 Jun 2012 12:15:02 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 15 Jun 2012 12:15:02 GMT Message-Id: <201206151215.q5FCF2Ni005324@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 12:15:04 -0000 TB --- 2012-06-15 10:00:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-06-15 10:00:00 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-06-15 10:00:00 - starting HEAD tinderbox run for arm/arm TB --- 2012-06-15 10:00:00 - cleaning the object tree TB --- 2012-06-15 10:04:05 - cvsupping the source tree TB --- 2012-06-15 10:04:05 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2012-06-15 10:04:39 - building world TB --- 2012-06-15 10:04:39 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 10:04:39 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 10:04:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 10:04:39 - SRCCONF=/dev/null TB --- 2012-06-15 10:04:39 - TARGET=arm TB --- 2012-06-15 10:04:39 - TARGET_ARCH=arm TB --- 2012-06-15 10:04:39 - TZ=UTC TB --- 2012-06-15 10:04:39 - __MAKE_CONF=/dev/null TB --- 2012-06-15 10:04:39 - cd /src TB --- 2012-06-15 10:04:39 - /usr/bin/make -B buildworld >>> World build started on Fri Jun 15 10:04:39 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 Fri Jun 15 11:09:44 UTC 2012 TB --- 2012-06-15 11:09:44 - cd /src/sys/arm/conf TB --- 2012-06-15 11:09:44 - /usr/sbin/config -m AVILA TB --- 2012-06-15 11:09:44 - building AVILA kernel TB --- 2012-06-15 11:09:44 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:09:44 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:09:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:09:44 - SRCCONF=/dev/null TB --- 2012-06-15 11:09:44 - TARGET=arm TB --- 2012-06-15 11:09:44 - TARGET_ARCH=arm TB --- 2012-06-15 11:09:44 - TZ=UTC TB --- 2012-06-15 11:09:44 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:09:44 - cd /src TB --- 2012-06-15 11:09:44 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Fri Jun 15 11:09:45 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AVILA completed on Fri Jun 15 11:12:55 UTC 2012 TB --- 2012-06-15 11:12:55 - cd /src/sys/arm/conf TB --- 2012-06-15 11:12:55 - /usr/sbin/config -m BWCT TB --- 2012-06-15 11:12:55 - building BWCT kernel TB --- 2012-06-15 11:12:55 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:12:55 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:12:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:12:55 - SRCCONF=/dev/null TB --- 2012-06-15 11:12:55 - TARGET=arm TB --- 2012-06-15 11:12:55 - TARGET_ARCH=arm TB --- 2012-06-15 11:12:55 - TZ=UTC TB --- 2012-06-15 11:12:55 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:12:55 - cd /src TB --- 2012-06-15 11:12:55 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Fri Jun 15 11:12:55 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 >>> Kernel build for BWCT completed on Fri Jun 15 11:15:06 UTC 2012 TB --- 2012-06-15 11:15:06 - cd /src/sys/arm/conf TB --- 2012-06-15 11:15:06 - /usr/sbin/config -m CAMBRIA TB --- 2012-06-15 11:15:06 - building CAMBRIA kernel TB --- 2012-06-15 11:15:06 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:15:06 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:15:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:15:06 - SRCCONF=/dev/null TB --- 2012-06-15 11:15:06 - TARGET=arm TB --- 2012-06-15 11:15:06 - TARGET_ARCH=arm TB --- 2012-06-15 11:15:06 - TZ=UTC TB --- 2012-06-15 11:15:06 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:15:06 - cd /src TB --- 2012-06-15 11:15:06 - /usr/bin/make -B buildkernel KERNCONF=CAMBRIA >>> Kernel build for CAMBRIA started on Fri Jun 15 11:15:06 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CAMBRIA completed on Fri Jun 15 11:18:07 UTC 2012 TB --- 2012-06-15 11:18:07 - cd /src/sys/arm/conf TB --- 2012-06-15 11:18:07 - /usr/sbin/config -m CNS11XXNAS TB --- 2012-06-15 11:18:07 - building CNS11XXNAS kernel TB --- 2012-06-15 11:18:07 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:18:07 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:18:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:18:07 - SRCCONF=/dev/null TB --- 2012-06-15 11:18:07 - TARGET=arm TB --- 2012-06-15 11:18:07 - TARGET_ARCH=arm TB --- 2012-06-15 11:18:07 - TZ=UTC TB --- 2012-06-15 11:18:07 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:18:07 - cd /src TB --- 2012-06-15 11:18:07 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS >>> Kernel build for CNS11XXNAS started on Fri Jun 15 11:18:07 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CNS11XXNAS completed on Fri Jun 15 11:20:38 UTC 2012 TB --- 2012-06-15 11:20:38 - cd /src/sys/arm/conf TB --- 2012-06-15 11:20:38 - /usr/sbin/config -m CRB TB --- 2012-06-15 11:20:38 - building CRB kernel TB --- 2012-06-15 11:20:38 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:20:38 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:20:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:20:38 - SRCCONF=/dev/null TB --- 2012-06-15 11:20:38 - TARGET=arm TB --- 2012-06-15 11:20:38 - TARGET_ARCH=arm TB --- 2012-06-15 11:20:38 - TZ=UTC TB --- 2012-06-15 11:20:38 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:20:38 - cd /src TB --- 2012-06-15 11:20:38 - /usr/bin/make -B buildkernel KERNCONF=CRB >>> Kernel build for CRB started on Fri Jun 15 11:20:38 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 >>> Kernel build for CRB completed on Fri Jun 15 11:24:04 UTC 2012 TB --- 2012-06-15 11:24:04 - cd /src/sys/arm/conf TB --- 2012-06-15 11:24:04 - /usr/sbin/config -m DB-78XXX TB --- 2012-06-15 11:24:04 - building DB-78XXX kernel TB --- 2012-06-15 11:24:04 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:24:04 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:24:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:24:04 - SRCCONF=/dev/null TB --- 2012-06-15 11:24:04 - TARGET=arm TB --- 2012-06-15 11:24:04 - TARGET_ARCH=arm TB --- 2012-06-15 11:24:04 - TZ=UTC TB --- 2012-06-15 11:24:04 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:24:04 - cd /src TB --- 2012-06-15 11:24:04 - /usr/bin/make -B buildkernel KERNCONF=DB-78XXX >>> Kernel build for DB-78XXX started on Fri Jun 15 11:24:04 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 >>> Kernel build for DB-78XXX completed on Fri Jun 15 11:26:52 UTC 2012 TB --- 2012-06-15 11:26:52 - cd /src/sys/arm/conf TB --- 2012-06-15 11:26:52 - /usr/sbin/config -m DB-88F5XXX TB --- 2012-06-15 11:26:52 - building DB-88F5XXX kernel TB --- 2012-06-15 11:26:52 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:26:52 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:26:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:26:52 - SRCCONF=/dev/null TB --- 2012-06-15 11:26:52 - TARGET=arm TB --- 2012-06-15 11:26:52 - TARGET_ARCH=arm TB --- 2012-06-15 11:26:52 - TZ=UTC TB --- 2012-06-15 11:26:52 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:26:52 - cd /src TB --- 2012-06-15 11:26:52 - /usr/bin/make -B buildkernel KERNCONF=DB-88F5XXX >>> Kernel build for DB-88F5XXX started on Fri Jun 15 11:26:52 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DB-88F5XXX completed on Fri Jun 15 11:29:32 UTC 2012 TB --- 2012-06-15 11:29:32 - cd /src/sys/arm/conf TB --- 2012-06-15 11:29:32 - /usr/sbin/config -m DB-88F6XXX TB --- 2012-06-15 11:29:32 - building DB-88F6XXX kernel TB --- 2012-06-15 11:29:32 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:29:32 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:29:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:29:32 - SRCCONF=/dev/null TB --- 2012-06-15 11:29:32 - TARGET=arm TB --- 2012-06-15 11:29:32 - TARGET_ARCH=arm TB --- 2012-06-15 11:29:32 - TZ=UTC TB --- 2012-06-15 11:29:32 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:29:32 - cd /src TB --- 2012-06-15 11:29:32 - /usr/bin/make -B buildkernel KERNCONF=DB-88F6XXX >>> Kernel build for DB-88F6XXX started on Fri Jun 15 11:29:32 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DB-88F6XXX completed on Fri Jun 15 11:32:25 UTC 2012 TB --- 2012-06-15 11:32:25 - cd /src/sys/arm/conf TB --- 2012-06-15 11:32:25 - /usr/sbin/config -m DOCKSTAR TB --- 2012-06-15 11:32:25 - building DOCKSTAR kernel TB --- 2012-06-15 11:32:25 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:32:25 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:32:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:32:25 - SRCCONF=/dev/null TB --- 2012-06-15 11:32:25 - TARGET=arm TB --- 2012-06-15 11:32:25 - TARGET_ARCH=arm TB --- 2012-06-15 11:32:25 - TZ=UTC TB --- 2012-06-15 11:32:25 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:32:25 - cd /src TB --- 2012-06-15 11:32:25 - /usr/bin/make -B buildkernel KERNCONF=DOCKSTAR >>> Kernel build for DOCKSTAR started on Fri Jun 15 11:32:26 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DOCKSTAR completed on Fri Jun 15 11:34:59 UTC 2012 TB --- 2012-06-15 11:34:59 - cd /src/sys/arm/conf TB --- 2012-06-15 11:34:59 - /usr/sbin/config -m EP80219 TB --- 2012-06-15 11:34:59 - building EP80219 kernel TB --- 2012-06-15 11:34:59 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:34:59 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:34:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:34:59 - SRCCONF=/dev/null TB --- 2012-06-15 11:34:59 - TARGET=arm TB --- 2012-06-15 11:34:59 - TARGET_ARCH=arm TB --- 2012-06-15 11:34:59 - TZ=UTC TB --- 2012-06-15 11:34:59 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:34:59 - cd /src TB --- 2012-06-15 11:34:59 - /usr/bin/make -B buildkernel KERNCONF=EP80219 >>> Kernel build for EP80219 started on Fri Jun 15 11:34:59 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 >>> Kernel build for EP80219 completed on Fri Jun 15 11:37:53 UTC 2012 TB --- 2012-06-15 11:37:53 - cd /src/sys/arm/conf TB --- 2012-06-15 11:37:53 - /usr/sbin/config -m ETHERNUT5 TB --- 2012-06-15 11:37:53 - building ETHERNUT5 kernel TB --- 2012-06-15 11:37:53 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:37:53 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:37:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:37:53 - SRCCONF=/dev/null TB --- 2012-06-15 11:37:53 - TARGET=arm TB --- 2012-06-15 11:37:53 - TARGET_ARCH=arm TB --- 2012-06-15 11:37:53 - TZ=UTC TB --- 2012-06-15 11:37:53 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:37:53 - cd /src TB --- 2012-06-15 11:37:53 - /usr/bin/make -B buildkernel KERNCONF=ETHERNUT5 >>> Kernel build for ETHERNUT5 started on Fri Jun 15 11:37:53 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 >>> Kernel build for ETHERNUT5 completed on Fri Jun 15 11:48:36 UTC 2012 TB --- 2012-06-15 11:48:36 - cd /src/sys/arm/conf TB --- 2012-06-15 11:48:36 - /usr/sbin/config -m GUMSTIX TB --- 2012-06-15 11:48:37 - building GUMSTIX kernel TB --- 2012-06-15 11:48:37 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:48:37 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:48:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:48:37 - SRCCONF=/dev/null TB --- 2012-06-15 11:48:37 - TARGET=arm TB --- 2012-06-15 11:48:37 - TARGET_ARCH=arm TB --- 2012-06-15 11:48:37 - TZ=UTC TB --- 2012-06-15 11:48:37 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:48:37 - cd /src TB --- 2012-06-15 11:48:37 - /usr/bin/make -B buildkernel KERNCONF=GUMSTIX >>> Kernel build for GUMSTIX started on Fri Jun 15 11:48:37 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 >>> Kernel build for GUMSTIX completed on Fri Jun 15 11:51:13 UTC 2012 TB --- 2012-06-15 11:51:13 - cd /src/sys/arm/conf TB --- 2012-06-15 11:51:13 - /usr/sbin/config -m GUMSTIX-QEMU TB --- 2012-06-15 11:51:13 - building GUMSTIX-QEMU kernel TB --- 2012-06-15 11:51:13 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:51:13 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:51:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:51:13 - SRCCONF=/dev/null TB --- 2012-06-15 11:51:13 - TARGET=arm TB --- 2012-06-15 11:51:13 - TARGET_ARCH=arm TB --- 2012-06-15 11:51:13 - TZ=UTC TB --- 2012-06-15 11:51:13 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:51:13 - cd /src TB --- 2012-06-15 11:51:13 - /usr/bin/make -B buildkernel KERNCONF=GUMSTIX-QEMU >>> Kernel build for GUMSTIX-QEMU started on Fri Jun 15 11:51: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 >>> Kernel build for GUMSTIX-QEMU completed on Fri Jun 15 11:53:48 UTC 2012 TB --- 2012-06-15 11:53:48 - cd /src/sys/arm/conf TB --- 2012-06-15 11:53:48 - /usr/sbin/config -m HL200 TB --- 2012-06-15 11:53:48 - building HL200 kernel TB --- 2012-06-15 11:53:48 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:53:48 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:53:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:53:48 - SRCCONF=/dev/null TB --- 2012-06-15 11:53:48 - TARGET=arm TB --- 2012-06-15 11:53:48 - TARGET_ARCH=arm TB --- 2012-06-15 11:53:48 - TZ=UTC TB --- 2012-06-15 11:53:48 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:53:48 - cd /src TB --- 2012-06-15 11:53:48 - /usr/bin/make -B buildkernel KERNCONF=HL200 >>> Kernel build for HL200 started on Fri Jun 15 11:53:48 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for HL200 completed on Fri Jun 15 11:56:36 UTC 2012 TB --- 2012-06-15 11:56:36 - cd /src/sys/arm/conf TB --- 2012-06-15 11:56:36 - /usr/sbin/config -m HL201 TB --- 2012-06-15 11:56:36 - building HL201 kernel TB --- 2012-06-15 11:56:36 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:56:36 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:56:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:56:36 - SRCCONF=/dev/null TB --- 2012-06-15 11:56:36 - TARGET=arm TB --- 2012-06-15 11:56:36 - TARGET_ARCH=arm TB --- 2012-06-15 11:56:36 - TZ=UTC TB --- 2012-06-15 11:56:36 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:56:36 - cd /src TB --- 2012-06-15 11:56:36 - /usr/bin/make -B buildkernel KERNCONF=HL201 >>> Kernel build for HL201 started on Fri Jun 15 11:56:36 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 >>> Kernel build for HL201 completed on Fri Jun 15 11:59:00 UTC 2012 TB --- 2012-06-15 11:59:00 - cd /src/sys/arm/conf TB --- 2012-06-15 11:59:00 - /usr/sbin/config -m IQ31244 TB --- 2012-06-15 11:59:00 - building IQ31244 kernel TB --- 2012-06-15 11:59:00 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 11:59:00 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 11:59:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 11:59:00 - SRCCONF=/dev/null TB --- 2012-06-15 11:59:00 - TARGET=arm TB --- 2012-06-15 11:59:00 - TARGET_ARCH=arm TB --- 2012-06-15 11:59:00 - TZ=UTC TB --- 2012-06-15 11:59:00 - __MAKE_CONF=/dev/null TB --- 2012-06-15 11:59:00 - cd /src TB --- 2012-06-15 11:59:00 - /usr/bin/make -B buildkernel KERNCONF=IQ31244 >>> Kernel build for IQ31244 started on Fri Jun 15 11:59:00 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 >>> Kernel build for IQ31244 completed on Fri Jun 15 12:02:24 UTC 2012 TB --- 2012-06-15 12:02:24 - cd /src/sys/arm/conf TB --- 2012-06-15 12:02:24 - /usr/sbin/config -m KB920X TB --- 2012-06-15 12:02:24 - building KB920X kernel TB --- 2012-06-15 12:02:24 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 12:02:24 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 12:02:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 12:02:24 - SRCCONF=/dev/null TB --- 2012-06-15 12:02:24 - TARGET=arm TB --- 2012-06-15 12:02:24 - TARGET_ARCH=arm TB --- 2012-06-15 12:02:24 - TZ=UTC TB --- 2012-06-15 12:02:24 - __MAKE_CONF=/dev/null TB --- 2012-06-15 12:02:24 - cd /src TB --- 2012-06-15 12:02:24 - /usr/bin/make -B buildkernel KERNCONF=KB920X >>> Kernel build for KB920X started on Fri Jun 15 12:02:24 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 >>> Kernel build for KB920X completed on Fri Jun 15 12:12:56 UTC 2012 TB --- 2012-06-15 12:12:56 - cd /src/sys/arm/conf TB --- 2012-06-15 12:12:56 - /usr/sbin/config -m LN2410SBC TB --- 2012-06-15 12:12:56 - building LN2410SBC kernel TB --- 2012-06-15 12:12:56 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 12:12:56 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 12:12:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 12:12:56 - SRCCONF=/dev/null TB --- 2012-06-15 12:12:56 - TARGET=arm TB --- 2012-06-15 12:12:56 - TARGET_ARCH=arm TB --- 2012-06-15 12:12:56 - TZ=UTC TB --- 2012-06-15 12:12:56 - __MAKE_CONF=/dev/null TB --- 2012-06-15 12:12:56 - cd /src TB --- 2012-06-15 12:12:56 - /usr/bin/make -B buildkernel KERNCONF=LN2410SBC >>> Kernel build for LN2410SBC started on Fri Jun 15 12:12:56 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 -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/libkern/umoddi3.c cc -mlittle-endian -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/arm/arm/cpufunc_asm_arm9.S cc -mlittle-endian -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/arm/arm/irq_dispatch.S cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/arm/s3c2xx0/board_ln2410sbc.c cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/arm/s3c2xx0/s3c24x0_rtc.c cc -mlittle-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm920t -ffreestanding -Werror /src/sys/arm/s3c2xx0/s3c24x0_machdep.c /src/sys/arm/s3c2xx0/s3c24x0_machdep.c: In function 'initarm': /src/sys/arm/s3c2xx0/s3c24x0_machdep.c:252: error: too few arguments to function 'fake_preload_metadata' *** Error code 1 Stop in /obj/arm.arm/src/sys/LN2410SBC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-15 12:15:02 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-15 12:15:02 - ERROR: failed to build LN2410SBC kernel TB --- 2012-06-15 12:15:02 - 5400.40 user 1044.13 system 8101.86 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri Jun 15 15:45:09 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 570BB1065670; Fri, 15 Jun 2012 15:45:09 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy2.sentex.ca (freebsd-legacy2.sentex.ca [64.7.128.101]) by mx1.freebsd.org (Postfix) with ESMTP id 953558FC0A; Fri, 15 Jun 2012 15:45:08 +0000 (UTC) Received: from freebsd-legacy2.sentex.ca (localhost [127.0.0.1]) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5) with ESMTP id q5FFj7ud006363; Fri, 15 Jun 2012 15:45:07 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-legacy2.sentex.ca (8.14.5/8.14.5/Submit) id q5FFj7D7006354; Fri, 15 Jun 2012 15:45:07 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 15 Jun 2012 15:45:07 GMT Message-Id: <201206151545.q5FFj7D7006354@freebsd-legacy2.sentex.ca> X-Authentication-Warning: freebsd-legacy2.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_8 tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2012 15:45:09 -0000 TB --- 2012-06-15 15:03:36 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca TB --- 2012-06-15 15:03:36 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-06-15 15:03:36 - starting RELENG_8 tinderbox run for arm/arm TB --- 2012-06-15 15:03:36 - cleaning the object tree TB --- 2012-06-15 15:03:44 - cvsupping the source tree TB --- 2012-06-15 15:03:44 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8/arm/arm/supfile TB --- 2012-06-15 15:04:45 - building world TB --- 2012-06-15 15:04:45 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 15:04:45 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 15:04:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 15:04:45 - SRCCONF=/dev/null TB --- 2012-06-15 15:04:45 - TARGET=arm TB --- 2012-06-15 15:04:45 - TARGET_ARCH=arm TB --- 2012-06-15 15:04:45 - TZ=UTC TB --- 2012-06-15 15:04:45 - __MAKE_CONF=/dev/null TB --- 2012-06-15 15:04:45 - cd /src TB --- 2012-06-15 15:04:45 - /usr/bin/make -B buildworld >>> World build started on Fri Jun 15 15:04:46 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 Fri Jun 15 15:41:54 UTC 2012 TB --- 2012-06-15 15:41:54 - cd /src/sys/arm/conf TB --- 2012-06-15 15:41:54 - /usr/sbin/config -m AVILA TB --- 2012-06-15 15:41:54 - building AVILA kernel TB --- 2012-06-15 15:41:54 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 15:41:54 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 15:41:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 15:41:54 - SRCCONF=/dev/null TB --- 2012-06-15 15:41:54 - TARGET=arm TB --- 2012-06-15 15:41:54 - TARGET_ARCH=arm TB --- 2012-06-15 15:41:54 - TZ=UTC TB --- 2012-06-15 15:41:54 - __MAKE_CONF=/dev/null TB --- 2012-06-15 15:41:54 - cd /src TB --- 2012-06-15 15:41:54 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Fri Jun 15 15:41:54 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 >>> Kernel build for AVILA completed on Fri Jun 15 15:43:50 UTC 2012 TB --- 2012-06-15 15:43:50 - cd /src/sys/arm/conf TB --- 2012-06-15 15:43:50 - /usr/sbin/config -m BWCT TB --- 2012-06-15 15:43:50 - building BWCT kernel TB --- 2012-06-15 15:43:50 - CROSS_BUILD_TESTING=YES TB --- 2012-06-15 15:43:50 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-15 15:43:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-15 15:43:50 - SRCCONF=/dev/null TB --- 2012-06-15 15:43:50 - TARGET=arm TB --- 2012-06-15 15:43:50 - TARGET_ARCH=arm TB --- 2012-06-15 15:43:50 - TZ=UTC TB --- 2012-06-15 15:43:50 - __MAKE_CONF=/dev/null TB --- 2012-06-15 15:43:50 - cd /src TB --- 2012-06-15 15:43:50 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Fri Jun 15 15:43:50 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_pio.c cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_pmc.c cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_ssc.c cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=arm9 -ffreestanding -Werror /src/sys/arm/at91/at91_spi.c cc1: warnings being treated as errors /src/sys/arm/at91/at91_spi.c: In function 'at91_spi_attach': /src/sys/arm/at91/at91_spi.c:127: warning: implicit declaration of function 'at91_is_rm92' /src/sys/arm/at91/at91_spi.c:127: warning: nested extern declaration of 'at91_is_rm92' *** Error code 1 Stop in /obj/arm/src/sys/BWCT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-15 15:45:07 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-15 15:45:07 - ERROR: failed to build BWCT kernel TB --- 2012-06-15 15:45:07 - 1876.33 user 417.52 system 2491.26 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Sat Jun 16 11:52:47 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 119FA1065676 for ; Sat, 16 Jun 2012 11:52:47 +0000 (UTC) (envelope-from se@freebsd.org) Received: from nm14.bullet.mail.ukl.yahoo.com (nm14.bullet.mail.ukl.yahoo.com [217.146.183.188]) by mx1.freebsd.org (Postfix) with SMTP id 7B2268FC0A for ; Sat, 16 Jun 2012 11:52:46 +0000 (UTC) Received: from [217.146.183.181] by nm14.bullet.mail.ukl.yahoo.com with NNFMP; 16 Jun 2012 11:46:59 -0000 Received: from [217.146.182.186] by tm12.bullet.mail.ukl.yahoo.com with NNFMP; 16 Jun 2012 11:46:59 -0000 Received: from [127.0.0.1] by smtp152.mail.ukl.yahoo.com with NNFMP; 16 Jun 2012 11:46:59 -0000 X-Yahoo-Newman-Id: 491275.2188.bm@smtp152.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: XB6uhbYVM1maDmGVT7yjKeKP28hzaemzEUBRKkG1aUzcBzn dGIx2iuZpRDcLNfssNLfed85EIu1CzksAWklpFA45OfMZ02fb1vmzbMDA14c K9B9DbOmtNFl3DDtnwwTk1iiQFDk2oPGds8_bF7UpJrSvmFyQwASIUoTQGj0 rrlKYNy3WVatXvbU67uGCqBVJ1tTso.CY4nFJdzxBPVfnKIR1MLCDqWtX37Z pMy8GIh4pGhjPNq4dpKN1IpMRJYGnxYsez65LD2r_I7O6xewbQSs6KPex8x5 o7SWfbnAsmOUQbxg2ilL2GzjHyzc.5WyMBEJOXdtjcvfckUzQiS80qDP0S69 F6MnUFSelqe8k.Il0zHfXnc1DWbOsYa8xV0krgDZSgdQevusyUX5tt88KSdG FtKE6S..JOI34kS9XVpZY9riupw21e_smKt40pYn6yPgZ4Asnxx8k03evuSN w17wfckTfOhSKjC91 X-Yahoo-SMTP: iDf2N9.swBDAhYEh7VHfpgq0lnq. Received: from [192.168.119.11] (se@81.173.151.13 with plain) by smtp152.mail.ukl.yahoo.com with SMTP; 16 Jun 2012 04:46:59 -0700 PDT Message-ID: <4FDC7235.8030608@freebsd.org> Date: Sat, 16 Jun 2012 13:47:01 +0200 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org References: <4F533E46.1070105@freebsd.org> <20120603201229.3fd31c98.torfinn.ingolfsen@getmail.no> <4FCBC564.3060404@freebsd.org> <20120604012908.b4122dc3.torfinn.ingolfsen@getmail.no> <4FCC08FF.3020001@fuzzwad.org> <4FCCABC3.4070901@freebsd.org> In-Reply-To: <4FCCABC3.4070901@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Support for Raspberry-PI X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2012 11:52:47 -0000 Am 04.06.2012 14:36, schrieb Stefan Esser: > Am 04.06.2012 03:01, schrieb Ron McDowell: >> On 6/3/12 6:29 PM, Torfinn Ingolfsen wrote: >>> On Sun, 03 Jun 2012 13:13:24 -0700 >>> Oleksandr Tymoshenko wrote: >>> >>>> The problem with porting - >>>> there is no way to netboot device. So Alexander Rybalko and I are >>>> working on U-Boot port for Raspberry-Pi. Once we'll have netboot option >>>> thighs should go much faster. >>> Very cool! Let us know when you have something you want us to test :) >> Newark claims mine will ship on 28 June, so I too will be watching the >> queue for news and updates. > > I pre-ordered mine from Farnell on April 11th, received > an invitation to actually place the order on May 18, and > now I'm awaiting the delivery (within 3 weeks, one more > week to wait ...). My RasPi arrived and I gave it a try with the Debian 6 distribution suggested in the downloads page on raspberrypi.org. Observations: I ordered mine from RS components together with a power supply. The RasPi boots from SD (a slower 16GB Micro-SD card) within some 20 seconds (to the Linux single user login prompt). Switching to run-level 5 takes some 45 seconds (the X server starts within a few seconds, but there must be quite a lot of activity going ... Logging in on GDM takes only a few seconds (maybe 10) to get an Openbox LXDE desktop up and taking commands. The X11 server uses the uncommon geometry of 1824x1104 on my 1920x1200 screen (connected via HDMI). Now for the "bad" parts: As soon as I connect a wireless mouse dongle (whether M$ or Logitech does not matter), messages about USB device resets are logged every other second (for the USB device number corresponding to the mouse adapter). I also had lots of error messages: smsc95xx 1-1.1:1.0: eth0: Failed to read register index 0x00000114 smsc95xx 1-1.1:1.0: eth0: Failed to write register index 0x00000114 but cannot reproduce this message today. A Google search gives many hits, these problems do not appear to be uncommon. I've read the opinion, that the USB problems are caused by instable 5V power, but given the rating of my power supply, this should not be the case. Another common problem seems to be caused by active USB hubs that feed current into the Raspberry PI's USB port. This seems to affect my configuration too: As soon as I connect an active hub, Ethernet traffic stops (the Ethernet chip is internally connected to an USB hub). The Linux drivers are not yet finished, e.g. the sound driver always stops playing after a few seconds. All in all it still is an impressive little device and I hope to find some time to study its internals over the next few weeks. Has any progress been made with regard to leveraging the existing Linux boot support for FreeBSD? Regards, STefan