From owner-freebsd-arm@FreeBSD.ORG Mon Oct 20 14:02:37 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 8A1EB18C for ; Mon, 20 Oct 2014 14:02:37 +0000 (UTC) Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FF52CBC for ; Mon, 20 Oct 2014 14:02:36 +0000 (UTC) Received: by mail-ig0-f178.google.com with SMTP id h3so4612124igd.17 for ; Mon, 20 Oct 2014 07:02:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=TjlGmyhP3gUt8ZSNbn0O9In4ADPYaqlg+KYbSum8x70=; b=Tm/zMislQLbdakMP4GbXLfZePzhc+v/ZEZYz2nUoRC2RlwRLEkk/tuhlp8Q9l1O8Zx gukJ/aZBeKRMocm88H/81ZdiMvo/C3DWstlOy+v2f9VGCKikCZNHjch9Z2zEGbnMNILO unlKvxfc5+mKJmxkfbukr9LoT0HRynCdUy8nzNOfy68HLdiJMOjCL6dftOt9mNNdHDrk 95SbgrThvL+125jAqS4iaznAb/sjblLT3UUL4cjMjPjg8AlECpIsvCbM6Q420hgT85l9 UEqmBvDDashGLNKPCR4fFjYo6VQ8dzaVDHSPFF/EnWpEuGwADVu/GnfyeQdyz4E/Ra87 Yndg== X-Gm-Message-State: ALoCoQkXYUwLumCcbUuEP3tc/3v/vdfOMfGLFWSpvWhvcYw6vVcugNLnIlxHNlleFHOtF6bKke6V X-Received: by 10.107.35.145 with SMTP id j139mr3254266ioj.55.1413813749284; Mon, 20 Oct 2014 07:02:29 -0700 (PDT) Received: from bsdimp.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id k141sm4552783iok.13.2014.10.20.07.02.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Oct 2014 07:02:28 -0700 (PDT) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_3FB333C0-CF94-4648-912F-493163D09F2F"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: make xdev-links From: Warner Losh In-Reply-To: <544438CC.2040607@myspectrum.nl> Date: Mon, 20 Oct 2014 08:02:26 -0600 Message-Id: References: <54438864.2050506@myspectrum.nl> <544438CC.2040607@myspectrum.nl> To: Jeroen Hofstee X-Mailer: Apple Mail (2.1878.6) 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 14:02:37 -0000 --Apple-Mail=_3FB333C0-CF94-4648-912F-493163D09F2F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Oct 19, 2014, at 4:18 PM, Jeroen Hofstee = wrote: > Hello Warner, >=20 > On 19-10-14 22:03, Warner Losh wrote: >> On Oct 19, 2014, at 3:46 AM, Jeroen Hofstee = wrote: >>=20 >>> Hi, >>>=20 >>> 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: >>>=20 >>> armv6-freebsd-cc main.c >>> ERROR: Source object /tmp/main-2cb9c8.o has EABI version 0, but = target a.out has EABI version 4 >> that=92s weird. Looks like you tried to build in a stale tree, or = with the wrong binaries >> since one of them is old ABI while the other one is new EABI 4 that = we implement. >=20 > I don't understand what you mean by that, I build >=20 > commit 12cfd5c5b7dc8bca093c3db614f93a61d02aa127 > Author: rpaulo > Date: Sat Oct 18 17:00:55 2014 +0000 >=20 > Make the ti_mbox and ti_pruss drivers optional. >=20 > MFC after: 1 week >=20 > with > make XDEV=3Darm XDEV_ARCH=3Darmv6 xdev > make XDEV=3Darm XDEV_ARCH=3Darmv6 xdev-links >=20 > resulting in >=20 > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) = 20140512 > Target: armv6--freebsd > Thread model: posix >=20 > So I am not behind (too much) if that is what you meant. 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=92t clean, you may have old OABI .os in = there that weren=92t rebuilt. >>> If the symlinks are renamed to armv6-freebsd-gnuebi-* compiling = works fine. >>> Should such a rename be considered? >> The links aren=92t causing that error. They won=92t be renamed. If = there=92s a real bug here, >> it needs to be fixed elsewhere. >=20 > 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=92t build u-boot. Second, if clang produces oabi binaries with = the above name, it needs to change to not do that. Either way, not an xdev = problem. >>> 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=92s odd. It shouldn=92t be doing that. Any idea where that=92s = coming from? >=20 > 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 =93acorn=94 on my rPi, which is = quite lame. Warner --Apple-Mail=_3FB333C0-CF94-4648-912F-493163D09F2F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJURRXyAAoJEGwc0Sh9sBEAFvsQANxu0Dq7g1B43WTeIzJxJzej 9rP3DEFHRjz/+RBDka8zstmJJEFIAC5F3nRUvAng5/JQBwNTdxXQzI2zadYoabLY loIVRl7UsD026jBhgLAJbdGWU2xgA6/1g6Xraxwz0WzWTnT83Q6lN/kCipzt+rF0 N9HS2bm0Wcs0+fWAqhaX57S6YpmLZgTV5RQ5i1pGTO83WC2E3HMDPAGuLg7GfpdB xwmqa/qXHwr8/gbWbTDRjyG05wWNFf5NpEtc/lEmA1GwEpuL1EXCUiXWrncBJQI3 T3GPplBkImLQTm4SadVaQF1O1ZukNaxNrhYBhYRwuIdYmJIqPgN82ooIkrvAdp3n fRPjKhX8I+43mqT0ESjvxWRoF1apuBonYaRBq1T6si/ugUgVZttH41LZdvEX5dQ1 Jrd1zj5hw6qD8bGpxs+XiLvBp17U77u9Bo2aB2/MlwOrNRriUguDye3eZLQix15L ukv5wHMTznqb7w8F7wGEB6CukBcI0zA3k54y/xXfvi9vcTvq671qJ4T5kRJ1C1bj r7gjqi3t43I/LVh1v/ZOFTkl85YV2hRF99PgLb6uqBtHB2D8YatS99cSdq9ayLj6 CyFeCLPv8cQMLAEKek24bnKajpzbSo6O4SPQnYPfrQgjONtM5vvJhjfLV7wwVdld gbIGA6oQwmtVkMcrw8IL =hiZk -----END PGP SIGNATURE----- --Apple-Mail=_3FB333C0-CF94-4648-912F-493163D09F2F--