Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2002 17:22:24 -0800 (PST)
From:      Lamont Granquist <lamont@scriptkiddie.org>
To:        freebsd-hackers@freebsd.org
Subject:   help compiling propolice gcc
Message-ID:  <20021208171541.T12569-100000@coredump.scriptkiddie.org>

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

I'm trying to follow these instructions to build 4.7 with the propolice
modifications to the gcc compiler:

http://www.trl.ibm.com/projects/security/ssp/buildfreebsd.html

I'm starting with an absolutely fresh cvs checkout and i've nuked my
/usr/obj tree.  What I'm getting is in this step:


 cd /usr/src/gnu/usr.bin/cc
 make depend && make all install

I'm getting this error in the build:

----------------------------------------------------------------------

cc -O -pipe  -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\"
-I/usr/src/gnu/usr.bin/cc/cc1/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc1/../cc_tools
-I/usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc
-I/usr/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/config -I.
-static -o cc1 c-parse.o c-lang.o c-decl.o c-lex.o
/usr/src/gnu/usr.bin/cc/cc1/../cc_int/libcc_int.a
cc: /usr/src/gnu/usr.bin/cc/cc1/../cc_int/libcc_int.a: No such file or
directory
*** Error code 1

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

Stop in /usr/src/gnu/usr.bin/cc.

------------------------------------------------------------------------

And if I try to go into /usr/src/gnu/usr.bin/cc/cc_int and do a make I get
only this:

Warning: Object directory not changed from original
/usr/src/gnu/usr.bin/cc/cc_int

Can anyone suggest how to build gcc "standalone" like this?  Or if that
shouldn't be supported is there a better build procedure that you should
follow to upgrade to the propolice compiler?  I know I could build+install
the world and then do it again to recompile with propolice, but a shortcut
in that process would be a good thing.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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