From owner-freebsd-questions@FreeBSD.ORG Mon Mar 30 11:33:55 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C85F96E for ; Mon, 30 Mar 2015 11:33:55 +0000 (UTC) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C429FD for ; Mon, 30 Mar 2015 11:33:55 +0000 (UTC) Received: by obvd1 with SMTP id d1so54290142obv.0 for ; Mon, 30 Mar 2015 04:33:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JqjH/QUKNaBvomU/woT2K/sw3W5gowgEgEzg5U2U3i0=; b=QvH+YdW+KSJ8jG14huJubscYlxXz58fVaecbXovZyjGxTlZBuYeIjZgOUxO1Tzd20c QENW1tF0dhxyOrCHUJC4/uK9iU2cmdlVWVW1QCweBL91zq0mLAZc2xQHdm2b2STN9Tql WNylD0EDYwDXN5GmrG83jKD7HRdQ0I9f6/VM40PuhUBGQB7W7Fd47qegO3KdmWiK7iDu 4+h+Il1pXLXScWOlA9vYRZLoiIrKKbQJbQXVh+zWE24HaptgMwyQxgOP0BK5bdANrcrF uEBd4chbRMBsLh+vlZXcipekrnszsLMLF/xgmRvQFD9+54ltoAgCS5o2hZUn7MlJUR2f 5ROw== MIME-Version: 1.0 X-Received: by 10.202.84.132 with SMTP id i126mr13530948oib.129.1427715234576; Mon, 30 Mar 2015 04:33:54 -0700 (PDT) Received: by 10.202.188.132 with HTTP; Mon, 30 Mar 2015 04:33:54 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 Mar 2015 12:33:54 +0100 Message-ID: Subject: Re: Is running a buildworld harder these days? From: krad To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2015 11:33:55 -0000 hmm dropping the CC and CXX lines from my make file seems to have cured the problem. Does running clang as "clang" vs "cc" make a difference to how it works are is it a simple case of the command line getting to long ? On 30 March 2015 at 12:07, krad wrote: > Over the past 18 months or so I have had so many build issues when > compiling world, which in the previous 10 years I didnt get unless I did > something stupid. They are never the same, but mainly linking issues, > or missing .h files. They also also seem to randomly clear themselves up. > > Currently I'm running the builds in a jail built from the 10.1 base > tarball, with just bash and svnup installed, and no nullfs bits so pretty > clean. > > Today I get the following with a make -j5 buildworld > > /usr/src/lib/libc/gen/cap_sandboxed.c:33:10: fatal error: 'sys/capsicum.h' > file not found > #include > ^ > 1 error generated. > /usr/src/lib/libc/../../sys/kern/subr_capability.c:45:10: fatal error: > 'sys/capsicum.h' file not found > #include > ^ > > [root@stable /usr/src]# find /usr/src/ -name capsicum.h -ls -exec sha256 > {} \; > 74503 33 -rw-r--r-- 1 root wheel > 15587 Mar 30 08:38 /usr/src/sys/sys/capsicum.h > SHA256 (/usr/src/sys/sys/capsicum.h) = > 39be88c0bb614f09fc3c517293cef339186611affbde3b0190d81a05ab7851c4 > > I get the same with a straight "make buildworld" > > > Is clang more picky than gcc? This has happened on multiple installs, > including ones I have tried to keep as clean as possible > > > > # cat /etc/make.conf > USA_RESIDENT=NO > SVN_UPDATE=YES > XFREE8pro_VERSION= 4 > KERNCONF=me > KERNCONFDIR=/etc/kernel > BOOT_COMCONSOLE_SPEED="115200" > FETCH_BEFORE_ARGS=-p > > #DEBUG=-g > LOADER_TFTP_SUPPORT=YES" > LOADER_ZFS_SUPPORT=yes > FTP_PASSIVE_MODE=1 > > #MAKE_JOBS_NUMBER=5 > #MAKE_JOBS_NUMBER?=8 > WITH_CTF=1 > STRIP= > > CC=/usr/local/bin/clang35 > CXX=/usr/local/bin/clang++35 > CC=/usr/bin/clang > CXX=/usr/bin/clang++ > #CC="/usr/local/libexec/ccache/world/cc" > #CXX="/usr/local/libexec/ccache/world/c++" > CCACHE_LOGFILE=/root/.ccache/log > > WITH_PKGNG= yes > PF_ENABLE_FILTER_RULES=yes > > > # cat /etc/make.conf > USA_RESIDENT=NO > SVN_UPDATE=YES > XFREE8pro_VERSION= 4 > KERNCONF=me > KERNCONFDIR=/etc/kernel > BOOT_COMCONSOLE_SPEED="115200" > FETCH_BEFORE_ARGS=-p > > #DEBUG=-g > LOADER_TFTP_SUPPORT=YES" > LOADER_ZFS_SUPPORT=yes > FTP_PASSIVE_MODE=1 > > #MAKE_JOBS_NUMBER=5 > #MAKE_JOBS_NUMBER?=8 > WITH_CTF=1 > STRIP= > > CC=/usr/local/bin/clang35 > CXX=/usr/local/bin/clang++35 > CC=/usr/bin/clang > CXX=/usr/bin/clang++ > #CC="/usr/local/libexec/ccache/world/cc" > #CXX="/usr/local/libexec/ccache/world/c++" > CCACHE_LOGFILE=/root/.ccache/log > > WITH_PKGNG= yes > PF_ENABLE_FILTER_RULES=yes > [root@stable /usr/src]# cat /etc/src.conf > WITHOUT_FREEBSD_UPDATE="yes" > WITHOUT_GAMES="yes" > WITHOUT_HTML="yes" > WITHOUT_IPFILTER="yes" > WITHOUT_IPFW="yes" > WITHOUT_IPX="yes" > WITHOUT_LIB32="YES" > WITHOUT_PORTSNAP="YES" > WITHOUT_ATM="YES" > WITHOUT_BLUETOOTH=YES > WITHOUT_BSNMP="YES" > WITHOUT_SENDMAIL=YES > WITHOUT_INFO=yes > WITHOUT_AMD=yes > WITH_UNBOUND=yes > > > Is it just me, or are others seeing this? > >