Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2003 07:40:28 +0000
From:      Wayne Pascoe <freebsd-questions@penguinpowered.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: securelevel problems
Message-ID:  <20031106074028.GA86686@marvin.penguinpowered.org>
In-Reply-To: <20031105060642.GA1367@grimoire.chen.org.nz>
References:  <20031104202557.GA81029@marvin.penguinpowered.org> <20031105060642.GA1367@grimoire.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 05, 2003 at 07:06:42PM +1300, Jonathan Chen wrote:
> On Tue, Nov 04, 2003 at 08:25:57PM +0000, Wayne Pascoe wrote:
> 
> [...]
> > however a make installworld is still failing with:
> > 
> > Stop in /usr/src/include.
> > *** Error code 1
> 
> It's debatable whether this is a securelevel problem. I would remove
> /usr/obj/* and rebuild again.

I've tried this, and I'm now having a whole new range of problems... A
make buildworld no longer works. I've redone my cvsup, removed /usr/obj
and done make clean in /usr/src

I then run make buildworld, and after quite some time, I get:

cc -O -pipe -march=i686 -march=pentiumpro -I. -static -DIN_GCC \
-DHAVE_CONFIG_H -DPREFIX=\"/usr\" \
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config \
-D__FBSDID=__RCSID -c \
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gengenrtl.c \

cc -O -pipe -march=i686 -march=pentiumpro -I. -static -DIN_GCC \
-DHAVE_CONFIG_H -DPREFIX=\"/usr\" \
-I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc \
-I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config \
-D__FBSDID=__RCSID  -o gengenrtl gengenrtl.o \

./gengenrtl genrtl.h genrtl.c
*** Signal 4

Stop in /usr/src/gnu/usr.bin/cc/cc_tools.
*** Error code 1

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

The above has been linewrapped for courtesy sake..

If I cd to /usr/src/gnu/usr.bin/cc/cc_tools and do make, it starts
building ok, but then I get 
./genattr /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md > insn-attr.h
Illegal instruction (core dumped)
*** Error code 132

(Apologies for no line wrapping, but I couldn't wrap it and keep context
clear)

The machine is a Pentium 166, and my make.conf has the following:
CPUTYPE=i586
CFLAGS= -O -pipe -march=i586
NO_BIND=true
NO_I4B= true 
NO_FORTRAN=     true
NO_LPR= true
NO_SENDMAIL=    true
NO_X=           true
NOGAMES=        true
NOLIBC_R=       true
NOPROFILE=      true
NO_OBJC=        true  
IPFW2=TRUE

I'm getting close to just migrating everything off of this machine and
re-installing from scratch, but as we've successfully upgraded every
other box in the farm to 4.9, I'd really like to try and fix this :(

Regards,

-- 
Wayne Pascoe
There are no stupid questions, only stupid
people.



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