Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Jul 2008 16:41:27 -0500
From:      David Alanis <canito@dalan.us>
To:        freebsd-questions@freebsd.org
Subject:   PAE Compilation Error
Message-ID:  <20080709164127.ijmgnm6uko40sg0g@mail.dalan.us>
In-Reply-To: <200807091751.m69Hp6iB082455@himinbjorg.tucs-beachin-obx-house.com>
References:  <200807091751.m69Hp6iB082455@himinbjorg.tucs-beachin-obx-house.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Good Day,

I suppose now I am paying for questioning TUC's credibility huh?!?!? (jk)

In the process of building an older server running 7.0-RELEASE =20
:/usr/obj/usr/src/sys/SERVER  i386 on a HP Proliant D380 G3 (CPU: =20
Intel(R) Xeon(TM) CPU 2.40GHz (2387.05-MHz 686-class CPU). After some =20
research I come to find out having RAM over 4 gigs can have side =20
effects and I will need to compile PAE with the kernel (this is a =20
given). I've also come to find my set up can only handle up to 6 gigs =20
of RAM and it's currently at 5.

However, when I compile PAE on this machine the kernel build crashes =20
with the following:

n -fformat-extensions -c /usr/src/sys/modules/rum/../../dev/usb/if_rum.c
ld  -d -warn-common -r -d -o if_rum.kld if_rum.o
:> export_syms
awk -f /usr/src/sys/modules/rum/../../conf/kmod_syms.awk if_rum.kld  =20
export_syms | xarg                          s -J% objcopy % if_rum.kld
ld -Bshareable  -d -warn-common -o if_rum.ko.debug if_rum.kld
objcopy --only-keep-debug if_rum.ko.debug if_rum.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=3Dif_rum.ko.symbols =20
if_rum.ko.debug if_rum.ko
=3D=3D=3D> s3 (all)
/usr/local/libexec/ccache/world-cc -O2 -fno-strict-aliasing -pipe  =20
-D_KERNEL -DKLD_MODU                          LE -std=3Dc99 -nostdinc   =20
-DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SERV        =20
                   ER/opt_global.h -I. -I@ -I@/contrib/altq =20
-finline-limit=3D8000 --param inline-unit-growth                         =20
  =3D100 --param large-function-growth=3D1000 -fno-common -g =20
-I/usr/obj/usr/src/sys/SERVER -m                          =20
no-align-long-strings -mpreferred-stack-boundary=3D2  -mno-mmx =20
-mno-3dnow -mno-sse -mno-s                          se2 -mno-sse3 =20
-ffreestanding -Wall -Wredundant-decls -Wnested-externs =20
-Wstrict-prototyp                          es  -Wmissing-prototypes =20
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sig         =20
                  n -fformat-extensions -c =20
/usr/src/sys/modules/s3/../../dev/fb/s3_pci.c
/usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:394: error: conflicting =20
types for 's3lfb_                          mmap'
/usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:116: error: previous =20
declaration of 's3lf                          b_mmap' was here
/usr/src/sys/modules/s3/../../dev/fb/s3_pci.c: In function 's3lfb_mmap':
/usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:395: warning: passing =20
argument 3 of 'prev                          vidsw->mmap' from =20
incompatible pointer type
*** Error code 1

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

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

Stop in /usr/obj/usr/src/sys/SERVER.
*** Error code 1

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

Stop in /usr/src.

I have a messy make.conf but I don't think this would be the issue =20
hence it's worked on different servers tweak to fit them ofcourse:

#CPUTYPE?=3Dathlon-xp
CFLAGS=3D -O2 -fno-strict-aliasing -pipe
MAKE_SHELL?=3Dsh
COPTFLAGS=3D -O -pipe
KERNCONF=3DSERVER

The only hit I get on google is this which really does not solve my =20
issue or I am not reading this correctly?

http://www.bsdforums.org/forums/archive/index.php/t-34088.html

Does anyone have any experience with this that can help?

Thank you,

David






----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080709164127.ijmgnm6uko40sg0g>