Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2006 00:38:14 +1100 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        freebsd-stable@freebsd.org
Subject:   5.5-STABLE make buildkernel parsing oddity
Message-ID:  <Pine.BSF.3.96.1061121232027.23024B-100000@gaia.nimnet.asn.au>

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

FreeBSD paqi.smithi.id.au 5.5-STABLE FreeBSD 5.5-STABLE #0: Sun Nov 19
20:22:12 EST 2006 root@paqi.smithi.id.au:/usr/obj/usr/src/sys/PAQI5S_2
i386

Not sure this little water rat is even worth reporting, what with all
the crocodiles, and "well don't do that" resolves the problem, but ..

cvsup; make buildworld; check new kernconf edited back in August after
last world + kernel update for 'next time', a couple of small changes;
make buildkernel .. urgh:

>>> Kernel build for PAQI5S_2 started on Sun Nov 19 14:42:29 EST 2006
--------------------------------------------------------------
[..]
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointe
r-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc
-I-  -I. -I/usr/src/sys -I/usr/src/sy
s/contrib/dev/acpica -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/s
rc/sys/dev/twa -D_KERNEL -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=1
00 --param large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-
3dnow -mno-sse -mno-sse2 -ffreestanding -Werror
/usr/src/sys/libkern/umoddi3.c

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointe
r-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc
-I-  -I. -I/usr/src/sys -I/usr/src/sy
s/contrib/dev/acpica -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/s
rc/sys/dev/twa -D_KERNEL -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=1
00 --param large-function-growth=1000  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-
3dnow -mno-sse -mno-sse2 -ffreestanding -Werror  config.c
config.c:5:47: trigraph ??/ converted to \
config.c:5:48: trigraph ??/ converted to \
*** Error code 1

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

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

Stop in /usr/src.
=======

/usr/obj/usr/src/sys/PAQI5S_2/config.c now (successfully) begins:

START CONFIG FILE /usr/src/
#include "opt_config.h"
#ifdef INCLUDE_CONFIG_FILE
static const char config[] = "\
START CONFIG FILE /usr/src/sys/i386/conf/PAQI5S_2\n\
___#% PAQI5S_2 9Aug06 tuning 5.5S .. compiled 19/11/06\n\
___#% PAQI5S_1 10/6/6 + 1/8/6 updates to:\n\
___#% PAQI54_1 (Compaq Armada 1500c) 21/2/6 from: \n\
___# GENERIC -- Generic kernel configuration file for FreeBSD/i386\n\

but the error above occured when $KERNCONF first line was exactly:

#% PAQI5S_2 9Aug06 tuning 5.5S .. compiled ??/??/??

'invalid comment'?  What's parsing $KERNCONF to config.c here?

Cheers, Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1061121232027.23024B-100000>