From owner-freebsd-arm@FreeBSD.ORG Sun Oct 19 22:29:54 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 4D35FDBB for ; Sun, 19 Oct 2014 22:29:54 +0000 (UTC) Received: from orange.myspectrum.nl (unknown [IPv6:2a01:7c8:aab2:19e:5054:ff:fe1e:7dad]) by mx1.freebsd.org (Postfix) with ESMTP id 0E7F9FA2 for ; Sun, 19 Oct 2014 22:29:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by orange.myspectrum.nl (Postfix) with ESMTP id 6E38781570; Mon, 20 Oct 2014 00:29:53 +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 RT2hLuVPUEc1; Mon, 20 Oct 2014 00:29:48 +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 47C2181559; Mon, 20 Oct 2014 00:29:48 +0200 (CEST) Message-ID: <54443B5C.2000300@myspectrum.nl> Date: Mon, 20 Oct 2014 00:29:48 +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: Tim Kientzle , Jeroen Hofstee Subject: Re: make xdev-links References: <54438864.2050506@myspectrum.nl> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 19 Oct 2014 22:29:54 -0000 Hello Tim, On 19-10-14 23:46, Tim Kientzle wrote: >> On Oct 19, 2014, at 2:46 AM, Jeroen Hofstee wrote: >> >> Hi, >> >> I noticed that the xdev target no longer installs the long names, but it needs >> the xdev-links target for that purpose. However if you try to use that compiler you get: >> >> armv6-freebsd-cc main.c >> ERROR: Source object /tmp/main-2cb9c8.o has EABI version 0, but target a.out has EABI version 4 > What compiler? Is this clang or gcc? > > armv6-freebsd-cc --version This is: FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: armv6--freebsd Thread model: posix >> If the symlinks are renamed to armv6-freebsd-gnuebi-* compiling works fine. >> Should such a rename be considered? >> >> --- >> 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. > Please send a patch to Crochet project that unsets the VENDOR environment variable. For the record this is only an issue with u-boot 2014.10. If there is a sound reason to have this variable around I will send a patch to u-boot, which we can easily cherry-pick back. I have no idea who sets this at the moment though. Regards, Jeroen