From owner-freebsd-hackers Sun Dec 8 17:22:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6464437B401 for ; Sun, 8 Dec 2002 17:22:41 -0800 (PST) Received: from warez.scriptkiddie.org (uswest-dsl-142-38.cortland.com [209.162.142.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28CE643E4A for ; Sun, 8 Dec 2002 17:22:37 -0800 (PST) (envelope-from lamont@scriptkiddie.org) Received: from [192.168.69.11] (unknown [192.168.69.11]) by warez.scriptkiddie.org (Postfix) with ESMTP id 6FD0862D1A for ; Sun, 8 Dec 2002 17:22:24 -0800 (PST) Date: Sun, 8 Dec 2002 17:22:24 -0800 (PST) From: Lamont Granquist To: freebsd-hackers@freebsd.org Subject: help compiling propolice gcc Message-ID: <20021208171541.T12569-100000@coredump.scriptkiddie.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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