amd64: building lib32 with ccache ?

2009-11-28 Thread Frank Staals

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 libc.so.7: /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:


fr...@rena# uname -a
FreeBSD Rena.FStaals.LAN 8.0-RC1 FreeBSD 8.0-RC1 #0: Mon Nov  2 13:45:35 
CET 2009 r...@rena.fstaals.lan:/usr/obj/usr/src/sys/RENAKERNEL  amd64


fr...@rena# ccache -V
ccache version 2.4
Copyright Andrew Tridgell 2002
Released under the GNU GPL v2 or later*
*
The full log : http://fstaals.net/junk/build32_clean_cache.log


thanks in advance


--

- Frank

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: amd64: building lib32 with ccache ?

2009-11-28 Thread RW
On Sat, 28 Nov 2009 11:57:17 +0100
Frank Staals franksta...@gmx.net wrote:

 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. 
 ...
 
 Can anyone point out what could go wrong ? Am I even 'allowed' to
 build lib32 with ccache on ? 

People have reported buildworld problems before with the
ccache/amd64/32-bit combination. I'd suggest looking back through the
list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org