amd64: building lib32 with ccache ?

Frank Staals frankstaals at
Sat Nov 28 10:57:48 UTC 2009

Hey everyone,

Yesterday I wanted to update my system currently running 8.0-RC1 amd64 
to the latest 8-STABLE release. However buildworld failed. I found out 
the problem seems to pop up when trying to build the lib32 libraries. If 
I build lib32 without ccache everything on itself everything seems to go 
fine. However when using ccache, even with a clean cache, the build 
fails. The error seems to start at:

echo /usr/obj/usr/src/lib32/usr/lib32/libgcc.a >> .depend
/usr/local/libexec/ccache/world-cc -O -pipe -I/usr/src/lib/libc/include 
-I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -DNLS 
-D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 
-I/usr/obj/lib32/usr/src/lib/libc -I/usr/src/lib/libc/resolv 
-D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES 
-DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DNS_CACHING 
-DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers 
-Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c fork.S
fork.S: Assembler messages:
fork.S:3: Error: invalid character '_' in mnemonic

Can anyone point out what could go wrong ? Am I even 'allowed' to build 
lib32 with ccache on ? My current system is running:

frank at Rena# uname -a
FreeBSD Rena.FStaals.LAN 8.0-RC1 FreeBSD 8.0-RC1 #0: Mon Nov  2 13:45:35 
CET 2009     root at Rena.FStaals.LAN:/usr/obj/usr/src/sys/RENAKERNEL  amd64

frank at Rena# ccache -V
ccache version 2.4
Copyright Andrew Tridgell 2002
Released under the GNU GPL v2 or later*
The full log :

thanks in advance


- Frank

More information about the freebsd-questions mailing list