Date: Sun, 21 Sep 2008 19:55:39 -0700 From: Brian <bri@brianwhalen.net> To: questions@freebsd.org Subject: ccache on amd64 Message-ID: <48D7092B.1040503@brianwhalen.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48D7092B.1040503>