Re: [head tinderbox] failure on ia64/ia64

From: Alan Cox <alc_at_rice.edu>
Date: Mon, 20 Jun 2011 13:19:19 -0700
On 6/20/2011 11:40 AM, Garrett Cooper wrote:
> On Mon, Jun 20, 2011 at 11:37 AM, FreeBSD Tinderbox
> <tinderbox_at_freebsd.org>  wrote:
>> TB --- 2011-06-20 17:09:28 - tinderbox 2.7 running on freebsd-current.sentex.ca
>> TB --- 2011-06-20 17:09:28 - starting HEAD tinderbox run for ia64/ia64
>> TB --- 2011-06-20 17:09:28 - cleaning the object tree
>> TB --- 2011-06-20 17:09:40 - cvsupping the source tree
>> TB --- 2011-06-20 17:09:40 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/ia64/ia64/supfile
>> TB --- 2011-06-20 17:10:27 - building world
>> TB --- 2011-06-20 17:10:27 - MAKEOBJDIRPREFIX=/obj
>> TB --- 2011-06-20 17:10:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
>> TB --- 2011-06-20 17:10:27 - TARGET=ia64
>> TB --- 2011-06-20 17:10:27 - TARGET_ARCH=ia64
>> TB --- 2011-06-20 17:10:27 - TZ=UTC
>> TB --- 2011-06-20 17:10:27 - __MAKE_CONF=/dev/null
>> TB --- 2011-06-20 17:10:27 - cd /src
>> TB --- 2011-06-20 17:10:27 - /usr/bin/make -B buildworld
>>>>> World build started on Mon Jun 20 17:10:28 UTC 2011
>>>>> Rebuilding the temporary build tree
>>>>> stage 1.1: legacy release compatibility shims
>>>>> stage 1.2: bootstrap tools
>>>>> stage 2.1: cleaning up the object tree
>>>>> stage 2.2: rebuilding the object tree
>>>>> stage 2.3: build tools
>>>>> stage 3: cross tools
>>>>> stage 4.1: building includes
>>>>> stage 4.2: building libraries
>>>>> stage 4.3: make dependencies
>>>>> stage 4.4: building everything
>>>>> World build completed on Mon Jun 20 18:35:55 UTC 2011
>> TB --- 2011-06-20 18:35:56 - generating LINT kernel config
>> TB --- 2011-06-20 18:35:56 - cd /src/sys/ia64/conf
>> TB --- 2011-06-20 18:35:56 - /usr/bin/make -B LINT
>> TB --- 2011-06-20 18:35:56 - building LINT kernel
>> TB --- 2011-06-20 18:35:56 - MAKEOBJDIRPREFIX=/obj
>> TB --- 2011-06-20 18:35:56 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
>> TB --- 2011-06-20 18:35:56 - TARGET=ia64
>> TB --- 2011-06-20 18:35:56 - TARGET_ARCH=ia64
>> TB --- 2011-06-20 18:35:56 - TZ=UTC
>> TB --- 2011-06-20 18:35:56 - __MAKE_CONF=/dev/null
>> TB --- 2011-06-20 18:35:56 - cd /src
>> TB --- 2011-06-20 18:35:56 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>>>> Kernel build for LINT started on Mon Jun 20 18:35:56 UTC 2011
>>>>> stage 1: configuring the kernel
>>>>> stage 2.1: cleaning up the object tree
>>>>> stage 2.2: rebuilding the object tree
>>>>> stage 2.3: build tools
>>>>> stage 3.1: making dependencies
>> [...]
>> awk -f /src/sys/tools/makeobjops.awk /src/sys/kgssapi/kgss_if.m -h
>> awk -f /src/sys/tools/makeobjops.awk /src/sys/libkern/iconv_converter_if.m -h
>> awk -f /src/sys/tools/makeobjops.awk /src/sys/opencrypto/cryptodev_if.m -h
>> awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/acpica/acpi_if.m -h
>> rm -f .newdep
>> /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/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/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding
>> /src/sys/vm/vm_page.c:2356:2: error: #error "PAGE_SIZE is not supported."
>> mkdep: compile failed
>> *** Error code 1
>>
>> Stop in /obj/ia64.ia64/src/sys/LINT.
>> *** Error code 1
>>
>> Stop in /src.
>> *** Error code 1
>      r223307 broke tinderbox on ia64. What should the PAGE_SIZE be for
> that architecture?


The LINT build on ia64 is using a non-standard page size, that is, it is 
specifying a different page size than GENERIC would have.  However, I'm 
not sure why 32KB is being specified here since that isn't one of the 
supported page sizes on ia64.

The following should do the trick.  It is both an ia64 supported page 
size and different from GENERIC.

Index: ia64/conf/NOTES
===================================================================
--- ia64/conf/NOTES     (revision 223305)
+++ ia64/conf/NOTES     (working copy)
_at__at_ -25,7 +25,7 _at__at_ options       LOG2_ID_PAGE_SIZE=27            # 128M
  # option: LOG2_PAGE_SIZE
  # Specify the log2 size of the page to be used for virtual memory 
management.
  # The page size being equal to 1<<LOG2_PAGE_SIZE.
-options        LOG2_PAGE_SIZE=15               # 32K
+options        LOG2_PAGE_SIZE=14               # 16K

  # option: SKI
  # Build support for running under the ski simulator.
Received on Mon Jun 20 2011 - 18:36:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC