From owner-freebsd-arm@freebsd.org Tue Oct 13 05:32:41 2015 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 50DD8A11305 for ; Tue, 13 Oct 2015 05:32:41 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (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 D0F441456 for ; Tue, 13 Oct 2015 05:32:40 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by lbwr8 with SMTP id r8so6732535lbw.2 for ; Mon, 12 Oct 2015 22:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=fw03iFBTcJjvC2J7tAguJyvVPM/im+lVgLHZ01buYtY=; b=T0/DJXmI1Ub3h6hxKUdWaZI1mBmv/ueA4g7vDg58GwmNu4CvxphMACocbDeBZa13jn mRDnsgp9ON39OM5OtmE7T9UG+QVunxaHH9YrpLmbiN7og4q5J3x1aLTEVDu56MlhhsO1 wIbtNgo5aW0ilwRdrFmsoOiYPjJAb5Ipz39b7SrjG3IbR3sreSg/XgfdcY4rgoelhQ5s FjGY+oe6RhTV4VqePtbhbxZB0d4rABNgHNfMH4vWFRZljYIWv/WFO4xxMI8EAanUIama V7UkXqNsXLkZkYf2R6OmMfvHNnfdwpkIXkH+PO1mQ0ytjuVbJ9FLOoGPxv4Z2XZI+pW2 QkBw== X-Received: by 10.112.163.99 with SMTP id yh3mr14072436lbb.121.1444714358257; Mon, 12 Oct 2015 22:32:38 -0700 (PDT) Received: from [192.168.1.193] (xdsl-205-163.nblnetworks.fi. [83.145.205.163]) by smtp.gmail.com with ESMTPSA id g7sm199551lbs.10.2015.10.12.22.32.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Oct 2015 22:32:37 -0700 (PDT) Content-Type: text/plain; charset=windows-1251 Mime-Version: 1.0 (1.0) Subject: Re: machine/acle-compat.h missing From: Jukka Ukkonen X-Mailer: iPad Mail (13A452) In-Reply-To: <626A93AA-8E14-4027-8FFC-95CA2AC77193@kientzle.com> Date: Tue, 13 Oct 2015 08:32:35 +0300 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <59E5C236-908F-4AAA-942B-7E5FE5B76C0D@gmail.com> References: <561B4A25.2030703@gmail.com> <20151012232952.GR67524@funkthat.com> <626A93AA-8E14-4027-8FFC-95CA2AC77193@kientzle.com> To: Tim Kientzle X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Oct 2015 05:32:41 -0000 Quite recently the 11.x builds using clang 3.4.1 started giving me trouble. If I remember correctly, the older clang had problems with the more recent clang source. So, after browsing the UPDATING file a little I found a note there explaining how the clang source in 11.x now needs at least clang 3.5 to compile. That is how I ended up overriding CC and CXX. Then started the problems with acle-compat.h.=20 I guess the dilemma is twofold. Is this file really used at all? If so, why does it not appear where it is expected to be found? If not really used, is it included in error when I override the compiler? I guess the problem might not happen when compiling on the rpi2 itself or on another 11.x system. In fact I am going to update the source on the rpi2 and launch a test build locally on the target later today. The local builds on rpi2 just take some 11 hours or so. Obviously I run those very rarely. --jau Sent from my iPad > On 13 Oct 2015, at 06:34, Tim Kientzle wrote: >=20 > Do you get the same problem if you do not override CC and CXX? >=20 > I=92ve never needed to set those. >=20 > Tim >=20 >=20 >> On Oct 12, 2015, at 7:29 PM, jau789@gmail.com wrote: >>=20 >> The build environment is amd64 running 10-stable. >> The native cc is obviously clang 3.4.1. >> The build target in has been rpi2. >> To make current build possible at all CC and CXX >> are set to clang37 and clang++37 during the make >> run. >>=20 >> --jau >>> On 13/10/2015 2:29 John-Mark Gurney wrote: >>> Jukka Ukkonen wrote this message on Mon, Oct 12, 2015 at 08:50 +0300: >>> After the latest clang update in current cross-compilation for arm >>> has been failing due to "missing" >>=20 >> Do you mean armeb? or what specific arch? >>=20 >>> >>>=20 >>> The file is apparently present... >>>=20 >>> src.head/sys/arm/include/acle-compat.h >>>=20 >>> but the compiler fails to find it because for some reason it >>> never gets copied to the path where the compiler expects to >>> find it... >>>=20 >>> /tank/fish/jau/Xcomp/src.head/gnu/lib/libgcc/../../../contrib/gcc/config= /arm/libunwind.S:29:10: >>> fatal error: 'machine/acle-compat.h' file not found >>> #include >>> ^ >>> 1 error generated. >>> *** [libunwind.o] Error code 1 >>>=20 >>> Has anyone else noticed this, or is it just me doing something >>> odd? >>=20 >> Are you using gcc, or the default of clang now? >>=20 >> --=20 >> John-Mark Gurney Voice: +1 415 225 5579 >>=20 >> "All that I will do, has been done, All that I have, has not." >>=20 >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >=20