From owner-freebsd-current@FreeBSD.ORG Wed Sep 15 13:13:33 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD4481065695 for ; Wed, 15 Sep 2010 13:13:33 +0000 (UTC) (envelope-from krivenok.dmitry@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 978A68FC18 for ; Wed, 15 Sep 2010 13:13:33 +0000 (UTC) Received: by pzk7 with SMTP id 7so45754pzk.13 for ; Wed, 15 Sep 2010 06:13:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=JjOBbpe3o0t/FRjP0556CXU7rgmul3XLOaUtJyAWmdE=; b=Mph7YvWwdtusmZwXEzdqm5Xvwe3DwyVoUN+5YzWwfumaWpmF/28WU0D2693Sy+O74c hXYyr908TMbIQWsnDDFH6Rpw3cyhqFWOvTVq08r5wm2ivb3O/zpgF7fXRKD33knmEnXE yljG0eg6GiO3Lh8z3J6aDGMj0kUBASLaasA+Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KpVylEUKq86cQt32qYmRebL+ZYluK8+XkBJ2sDTZTFXNesMh9jmW28QBKeDCncaLSC HUJc/J21/XDbPulhpQ+y8RY08m+ArEvkNuBvMjfZfHtgoKDxVROlD6LzlK+CdzEc+l7i IOoO2pp02v0p8epKAw7ncR5Npra6ZwE6UMfZw= MIME-Version: 1.0 Received: by 10.114.94.18 with SMTP id r18mr1622776wab.188.1284554685701; Wed, 15 Sep 2010 05:44:45 -0700 (PDT) Received: by 10.220.15.71 with HTTP; Wed, 15 Sep 2010 05:44:45 -0700 (PDT) Date: Wed, 15 Sep 2010 16:44:45 +0400 Message-ID: From: Dmitry Krivenok To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: buildworld + ccache trouble X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 13:13:33 -0000 Hello All! I recently updated to r212634 and tried to build CURRENT tree with ccache. I added /usr/local/libexec/ccache in my $PATH and added the following in /etc/make.conf: .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 Then I set WITHOUT_BOOT = 'YES' DEBUG_FLAGS = '-g -O0' and run make buildworld buildkernel installkernel However, I got build 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/crti.S /usr/src/lib/csu/i386-elf/crtn.S /usr/local/libexec/ccache/world-cc -O2 -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -g -O0 -std=gnu99 -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 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/csu/i386-elf/crti.S /usr/local/libexec/ccache/world-cc -O2 -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -g -O0 -std=gnu99 -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 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/csu/i386-elf/crtn.S /usr/local/libexec/ccache/world-cc -O2 -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -g -O0 -std=gnu99 -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 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -DGCRT -c -o gcrt1_c.o /usr/src/lib/csu/i386-elf/crt1_c.c /usr/local/libexec/ccache/world-cc -O2 -pipe -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu/i386-elf/../../libc/include -g -O0 -std=gnu99 -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 -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /usr/src/lib/csu/i386-elf/crt1_s.S /usr/src/lib/csu/i386-elf/crt1_s.S: Assembler messages: /usr/src/lib/csu/i386-elf/crt1_s.S:36: Error: suffix or operands invalid for `push' /usr/src/lib/csu/i386-elf/crt1_s.S:39: Error: bad register expression /usr/src/lib/csu/i386-elf/crt1_s.S:40: Error: bad register expression /usr/src/lib/csu/i386-elf/crt1_s.S:42: Error: `8(%ebp)' is not a valid 64 bit base/index expression /usr/src/lib/csu/i386-elf/crt1_s.S:43: Error: suffix or operands invalid for `push' /usr/src/lib/csu/i386-elf/crt1_s.S:44: Error: `4(%ebp)' is not a valid 64 bit base/index expression /usr/src/lib/csu/i386-elf/crt1_s.S:45: Error: suffix or operands invalid for `push' *** Error code 1 Stop in /usr/src/lib/csu/i386-elf. *** Error code 1 Is it a know issue? Any solutions? Thanks in advance! P.S. Build works fine if I don't use ccache. -- Sincerely yours, Dmitry V. Krivenok e-mail: krivenok.dmitry@gmail.com skype: krivenok_dmitry jabber: krivenok_dmitry@jabber.ru icq: 242-526-443