From owner-freebsd-arm@freebsd.org Sat May 21 21:09:16 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9812DB441A7 for ; Sat, 21 May 2016 21:09:16 +0000 (UTC) (envelope-from usenet@ulrich-grey.de) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C97C1B82 for ; Sat, 21 May 2016 21:09:15 +0000 (UTC) (envelope-from usenet@ulrich-grey.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1463864951; l=1271; s=domk; d=ulrich-grey.de; h=Content-Transfer-Encoding:Content-Type:Mime-Version:Subject:To:From: Date; bh=bQl4+8L1fzS4kPKzqWJHsKK16//JE23Ob8ydBGGJ1pw=; b=mgo/9w/ulQ3ltSN8imjfKvY8uQ8zG6y5JWFlI6hsn6wcqAKgawrewzERCI+rhcx7gNZ ZctQ6KmESixdY1zSnNKMkXvIyng6uP5hVvAsf7s4ArF1NsQdRSsSLbm+skpADJMAxGDOp iErQatOi2ra4+X4uD5oRQ5hHNhXj9jBPE/I= X-RZG-AUTH: :OX8Be0W8W+pMC3rDLL/lo2xV/LZTbZkYhOcjg8suic3iYr/B8J9Lzp3TJg46scv/pEmS X-RZG-CLASS-ID: mo00 Received: from work (p5486817F.dip0.t-ipconnect.de [84.134.129.127]) by smtp.strato.de (RZmta 37.27 DYNA|AUTH) with ESMTPSA id V06e55s4LL99HOT (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Sat, 21 May 2016 23:09:09 +0200 (CEST) Date: Sat, 21 May 2016 23:09:08 +0200 From: Ulrich Grey To: freebsd-arm@freebsd.org Subject: Upgrading and devel/ccache Message-Id: <20160521230908.8e3594331e6ca820dbddb7d3@ulrich-grey.de> Organization: - X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.28; armv6-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2016 21:09:16 -0000 I have tried to upgrade to armv6hf using devel/ccache. This howto /usr/local/share/doc/ccache/ccache-howto-freebsd.txt is outdated. I had build failures because some parts of the source tree get ignored. I have found this instructions https://lists.freebsd.org/pipermail/freebsd-arch/2015-November/017472.html and it seems to work. In the shell I have set these environment variables: export CCACHE_PATH=/usr/bin:/usr/local/bin export CCACHE_DIR= #export CCACHE_COMPRESS=yes And in /etc/make.conf: MALLOC_PRODUCTION=yes #NO_CLEAN=1 WITH_FAST_DEPEND=1 WITH_CCACHE_BUILD=1 ccache works, but now I have the same problems like bob prohaska. :( ===> usr.bin/clang/clang-tblgen (all) ===> usr.bin/clang/llvm-tblgen (all) cc1_main.o: In function `std::__1::basic_string, std::__1::allocator >::__zero()': /usr/include/c++/v1/string:1783: relocation truncated to fit: R_ARM_CALL against symbol `memset' defined in .text section in /usr/lib/libc.a(memset.o) cc1_main.o: In function `__vector_base': /usr/include/c+ +/v1/vector:432: relocation truncated to fit: R_ARM_CALL against symbol `memset' defined in .text section in /usr/lib/libc.a(memset.o) cc1_main.o: In function ...