From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 03:26:54 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5169E1065672 for ; Mon, 22 Sep 2008 03:26:54 +0000 (UTC) (envelope-from bri@brianwhalen.net) Received: from entwistle.sonicboom.org (entwistle.sonicboom.org [66.93.34.170]) by mx1.freebsd.org (Postfix) with ESMTP id 2028E8FC13 for ; Mon, 22 Sep 2008 03:26:53 +0000 (UTC) (envelope-from bri@brianwhalen.net) Received: from [127.0.0.1] (dsl093-034-235.snd1.dsl.speakeasy.net [66.93.34.235]) by entwistle.sonicboom.org (8.14.2/8.14.2) with ESMTP id m8M2tc1K074759 for ; Sun, 21 Sep 2008 19:55:41 -0700 (PDT) (envelope-from bri@brianwhalen.net) Message-ID: <48D7092B.1040503@brianwhalen.net> Date: Sun, 21 Sep 2008 19:55:39 -0700 From: Brian User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: 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: Mon, 22 Sep 2008 03:26:54 -0000 Has there been any change in the above? On a single core i386, the documentation described notes work properly. However, on a AM2 based machine with the amd64 version of freebsd (both 6.4 Beta and 7.0 show this behavior) I consistently get the below error. ===> lib/csu/i386-elf (obj,depend,all,install) rm -f .depend CC='/usr/local/libexec/ccache/world-cc' mkdep -f .depend -a -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include /usr/src/lib/csu/i386-elf/crt1.c /usr/src/lib/csu/i386-elf/crti.S /usr/src/lib/csu/i386-elf/crtn.S /usr/local/libexec/ccache/world-cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /usr/src/lib/csu/i386-elf/crt1.c {standard input}: Assembler messages: {standard input}:67: Error: suffix or operands invalid for `mov' *** Error code 1 Stop in /usr/src/lib/csu/i386-elf. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 I have followed the listed instructions, and the above persists. [root@amd ~]# more /etc/make.conf # added by use.perl 2008-09-20 15:50:41 PERL_VER=5.8.8 PERL_VERSION=5.8.8 .if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && !defined(NOCCACHE) CC=/usr/local/libexec/ccache/world-cc CXX=/usr/local/libexec/ccache/world-c++ .endif These are asses to /etc/profile export PATH=/usr/local/libexec/ccache:$PATH export CCACHE_PATH=/usr/bin:/usr/local/bin export CCACHE_DIR=/usr/.ccache