From owner-freebsd-arm@FreeBSD.ORG Mon Oct 20 21:04:53 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7918DAB7 for ; Mon, 20 Oct 2014 21:04:53 +0000 (UTC) Received: from orange.myspectrum.nl (orange.myspectrum.nl [149.210.134.247]) by mx1.freebsd.org (Postfix) with ESMTP id 37F48A33 for ; Mon, 20 Oct 2014 21:04:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by orange.myspectrum.nl (Postfix) with ESMTP id A487081712; Mon, 20 Oct 2014 23:04:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at myspectrum.nl Received: from orange.myspectrum.nl ([127.0.0.1]) by localhost (orange.myspectrum.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K3wLPE_3MCng; Mon, 20 Oct 2014 23:04:40 +0200 (CEST) Received: from [10.0.0.105] (ip136-5-208-87.adsl2.static.versatel.nl [87.208.5.136]) (Authenticated sender: jeroen@myspectrum.nl) by orange.myspectrum.nl (Postfix) with ESMTPSA id 21AD581703; Mon, 20 Oct 2014 23:04:40 +0200 (CEST) Message-ID: <544578E7.2040506@myspectrum.nl> Date: Mon, 20 Oct 2014 23:04:39 +0200 From: Jeroen Hofstee User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Warner Losh Subject: Re: make xdev-links References: <54438864.2050506@myspectrum.nl> <544438CC.2040607@myspectrum.nl> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2014 21:04:53 -0000 Hello Warner, On 20-10-14 16:02, Warner Losh wrote: > >> [snip] > You just built clang. If you are using the old gcc that you built a while ago, all bets are off. > Also, if your ports tree isn’t clean, you may have old OABI .os in there that weren’t rebuilt. I will have a look some day to see what happens if I start with a completely clean setup. >>>> If the symlinks are renamed to armv6-freebsd-gnuebi-* compiling works fine. >>>> Should such a rename be considered? >>> The links aren’t causing that error. They won’t be renamed. If there’s a real bug here, >>> it needs to be fixed elsewhere. >> I don't know the root cause, but clang e.g. will behave differently >> depending on the name it is invoked with. So perhaps that logic needs >> to be extended then. > clang can’t build u-boot. A couple of arm boards from 2014.10 can be build with clang. > Second, if clang produces oabi binaries with the above > name, it needs to change to not do that. Either way, not an xdev problem. As mentioned above I will have a look if this can be reproduced on a clean install. >>>> Unrelated, since crochet wants to be run as root, I noticed u-boot will stop >>>> compiling, since the root shell has VENDOR set to amd, overwriting the actual >>>> board VENDOR in the Makefiles. >>> That’s odd. It shouldn’t be doing that. Any idea where that’s coming from? >> No idea, I do know 2 more people reported the same problem in the >> u-boot mailinglist before, so it is not limited to my setup. I just didn't >> encounter it before, since I typically don't build u-boot as root. > Yea, that sounds like a bug to me. I get “acorn” on my rPi, which is quite lame. The variable is set by csh. I don't know why u-boot cannot cope with it at the moment. Regards, Jeroen