Re: [head tinderbox] failure on i386/i386

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Mon, 22 Mar 2010 12:11:08 -0400
On Monday 22 March 2010 04:19 am, Andriy Gapon wrote:
> on 21/03/2010 08:25 Garrett Cooper said the following:
> > On Sat, Mar 20, 2010 at 9:58 PM, FreeBSD Tinderbox
> >
> > <tinderbox_at_freebsd.org> wrote:
> >> TB --- 2010-03-21 04:53:25 - /usr/bin/make -B buildkernel
> >> KERNCONF=PAE
> >>
> >>>>> Kernel build for PAE started on Sun Mar 21 04:53:25 UTC 2010
> >>>>> stage 1: configuring the kernel
> >>>>> stage 2.1: cleaning up the object tree
> >>>>> stage 2.2: rebuilding the object tree
> >>>>> stage 2.3: build tools
> >>>>> stage 3.1: making dependencies
> >>>>> stage 3.2: building everything
> >>
> >> [...]
> >> cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls
> >> -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
> >> -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
> >> -fformat-extensions -nostdinc  -I. -I/src/sys
> >> -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> >> -include opt_global.h -fno-common -finline-limit=8000 --param
> >> inline-unit-growth=100 --param large-function-growth=1000 
> >> -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
> >> -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
> >> -fstack-protector -Werror  /src/sys/libkern/qdivrem.c cc -c -O
> >> -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
> >> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
> >> -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
> >> -fformat-extensions -nostdinc  -I. -I/src/sys
> >> -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> >> -include opt_global.h -fno-common -finline-limit=8000 --param
> >> inline-unit-growth=100 --param large-function-growth=1000 
> >> -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
> >> -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
> >> -fstack-protector -Werror  /src/sys/libkern/ucmpdi2.c cc -c -O
> >> -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
> >> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
> >> -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
> >> -fformat-extensions -nostdinc  -I. -I/src/sys
> >> -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> >> -include opt_global.h -fno-common -finline-limit=8000 --param
> >> inline-unit-growth=100 --param large-function-growth=1000 
> >> -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
> >> -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
> >> -fstack-protector -Werror  /src/sys/libkern/udivdi3.c cc -c -O
> >> -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
> >> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
> >> -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
> >> -fformat-extensions -nostdinc  -I. -I/src/sys
> >> -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> >> -include opt_global.h -fno-common -finline-limit=8000 --param
> >> inline-unit-growth=100 --param large-function-growth=1000 
> >> -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
> >> -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
> >> -fstack-protector -Werror  /src/sys/libkern/umoddi3.c cc -c -O
> >> -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
> >> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
> >> -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
> >> -fformat-extensions -nostdinc  -I. -I/src/sys
> >> -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> >> -include opt_global.h -fno-common -finline-limit=8000 --param
> >> inline-unit-growth=100 --param large-function-growth=1000 
> >> -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
> >> -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
> >> -fstack-protector -Werror  /src/sys/compat/x86bios/x86bios.c
> >> cc1: warnings being treated as errors
> >> /src/sys/compat/x86bios/x86bios.c: In function
> >> 'x86bios_map_mem': /src/sys/compat/x86bios/x86bios.c:558:
> >> warning: cast to pointer from integer of different size ***
> >> Error code 1
> >>
> >> Stop in /obj/i386/src/sys/PAE.
> >> *** Error code 1
> >>
> >> Stop in /src.
> >> *** Error code 1
> >>
> >> Stop in /src.
> >> TB --- 2010-03-21 04:58:08 - WARNING: /usr/bin/make returned
> >> exit code  1 TB --- 2010-03-21 04:58:08 - ERROR: failed to build
> >> PAE kernel TB --- 2010-03-21 04:58:08 - 5080.43 user 936.95
> >> system 6788.14 real
> >
> > Hi Jung,
> >     Could you please resolve this error?
> > Thanks,
>
> It would have been nice to actually CC Jung-uk :-)
> The problem seems to be that with PAE type of x86bios_rom_phys,
> vm_paddr_t, is 64-bit.
> I am not sure what values x86bios_rom_phys can have, but most
> likely it can be simply cast to a 32-bit value.

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

Jung-uk Kim
Received on Mon Mar 22 2010 - 15:11:38 UTC

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