Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2006 15:03:42 +0800
From:      "Balgansuren Batsukh" <balgaa@mongol.net>
To:        <freebsd-current@freebsd.org>
Subject:   PAE compile
Message-ID:  <003c01c64bec$6cf37f20$0201000a@JACK>

next in thread | raw e-mail | index | archive | help
Hello,

When I remove following options from kernel config file.

options         INVARIANTS
options         WITNESS

then produce following error:

mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror  vnode_if.c
touch hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=3Dmake sh /usr/src/sys/conf/newvers.sh BASE
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs =
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline =
-Wcast-qual  -fformat-extensions -std=3Dc99 -g -nostdinc -I-  -I. =
-I/usr/src/sys -I/usr/src/sys/contrib/altq =
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf =
-I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd =
-I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL =
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common =
-finline-limit=3D8000 --param inline-unit-growth=3D100 --param =
large-function-growth=3D1000  -mno-align-long-strings =
-mpreferred-stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 =
-ffreestanding -Werror  vers.c
linking kernel.debug
locore.o(.text+0x17): In function `btext':
/usr/src/sys/i386/i386/locore.s:246: relocation truncated to fit: =
R_386_32 end
locore.o(.text+0x1c):/usr/src/sys/i386/i386/locore.s:247: relocation =
truncated to fit: R_386_32 edata
locore.o(.text+0x2d):/usr/src/sys/i386/i386/locore.s:262: relocation =
truncated to fit: R_386_32 .data
locore.o(.text+0x3d):/usr/src/sys/i386/i386/locore.s:297: relocation =
truncated to fit: R_386_32 cpu_feature
locore.o(.text+0x51):/usr/src/sys/i386/i386/locore.s:306: relocation =
truncated to fit: R_386_32 IdlePDPT
locore.o(.text+0x6d):/usr/src/sys/i386/i386/locore.s:319: relocation =
truncated to fit: R_386_32 .text
locore.o(.text+0x73): In function `begin':
/usr/src/sys/i386/i386/locore.s:325: relocation truncated to fit: =
R_386_32 proc0kstack
locore.o(.text+0x81):/usr/src/sys/i386/i386/locore.s:332: relocation =
truncated to fit: R_386_32 IdlePDPT
locore.o(.text+0x8d):/usr/src/sys/i386/i386/locore.s:338: relocation =
truncated to fit: R_386_32 .data
locore.o(.text+0xf1): In function `newboot':
/usr/src/sys/i386/i386/locore.s:507: relocation truncated to fit: =
R_386_32 kernelname
locore.o(.text+0x116): In function `got_bi_size':
/usr/src/sys/i386/i386/locore.s:535: additional relocation overflows =
omitted from the output
*** Error code 1

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

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

Stop in /usr/src.
base#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003c01c64bec$6cf37f20$0201000a>