From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 23:00:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0280B1065690 for ; Wed, 24 Sep 2008 23:00:10 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id B25538FC16 for ; Wed, 24 Sep 2008 23:00:09 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 6786CAFBC01; Wed, 24 Sep 2008 15:00:08 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Thu, 25 Sep 2008 01:00:07 +0200 User-Agent: KMail/1.9.7 References: <48D7092B.1040503@brianwhalen.net> <200809241224.11455.fbsd.questions@rachie.is-a-geek.net> <48DA4E9C.8040905@brianwhalen.net> In-Reply-To: <48DA4E9C.8040905@brianwhalen.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809250100.07383.fbsd.questions@rachie.is-a-geek.net> Cc: Brian Subject: Re: ccache on amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 23:00:11 -0000 On Wednesday 24 September 2008 16:28:44 Brian wrote: > Mel wrote: > > On Wednesday 24 September 2008 05:34:22 Brian wrote: > >> /usr/local/libexec/ccache/world-cc -m32 -march=athlon64 -mfancy-math-387 > >> -DCOMPAT_32BIT -iprefix /usr/obj/usr/src/lib32/usr/ > >> -L/usr/obj/usr/src/lib32/usr/lib32 -B/usr/obj/usr/src/lib32/usr/lib32 > >> -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DTERMIOS -DANSI_SOURCE > >> -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl > >> -I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto > >> -I/usr/obj/lib32/usr/src/secure/lib/libcrypto -DOPENSSL_THREADS > >> -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA > >> -std=gnu89 -c > >> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/x509v3/v3er > >>r.c -o v3err.So > >> building shared library libcrypto.so.4 > >> Segmentation fault (core dumped) > >> *** Error code 139 > > > > And this all just works if you set NOCCACHE? Or does the problem persist > > then? > > I havebt specifically done the NOCCACHE, but commenting out all the > ccache stuff out of make.conf and /etc/profile, doing a straight compile > works. > Setting cputype=k8 fails as well. Since it fails on the link, I wonder if the wrong linker is called by ccache. I'll see what I can find out when it quiets down, right now machine is under heavy load. (It might just be the path you set in /etc/profile. I use only the /etc/make.conf version, not set the path additionally and make -f /usr/src/Makefile.inc1 -V LIB32WMAKE shows it's mangeling the path) -- Mel Problem with today's modular software: they start with the modules and never get to the software part.