From owner-freebsd-arm@freebsd.org Thu Jan 21 23:39:55 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 E2242A8BF60 for ; Thu, 21 Jan 2016 23:39:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) (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 A3D4E1452 for ; Thu, 21 Jan 2016 23:39:55 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by mail-ob0-x230.google.com with SMTP id vt7so49071960obb.1 for ; Thu, 21 Jan 2016 15:39:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=t34I6f5g+v4eO6lMWF20pY6fV14zhKz+Ft4+vt7yJTc=; b=tvheLbxFiqNpI5o6ARME/wUwQIBGjO7iW3uGYmHNu0scBphbUv6pckjx1FL8axuYLq 9Jvqmyy9o2QO+MREnnAhUxJaqs1BDYyJJFjPT1nAVtTkhyxNghsSxW/pYAj6lzbPZnIv dIyIqE5zUerRrtYJLLbR+QL4sY6ZxJVLhuv0gYz3alWAQ1NXGctToxp6Gn4fl6jTKIgv NvkfnJb1F8b8LMWU/e+gItN7g0Jylg1zSl0NdWla2vuL/WTMWF8gUExmUmVmPNAdp/ja 0gneEU+XQzd5/mXR3Wh5NbgQ9SFzPGNCxmz53yan9AAtiaej5FcLMbvzVs4HwxGjXzec qIjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=t34I6f5g+v4eO6lMWF20pY6fV14zhKz+Ft4+vt7yJTc=; b=AoEFhilw9bDVwSiRha3H7a+X3Nkx8LI8BH5iXKE3xIZsARIZDXxm7aoI6sVGt+KHnj XCspsnEDxMBlhKwIYyKVg1uo/0s9gRWZWTRw0ZcxiHlh28Lwo6iEPMpdk6z7x5DCxKBC HoFyn2l/1OOYzCVi2gt5t/WXi7/FNElh/n6tsG32Fwfzn0BdKzbAHTDU8yFXCvoJoRyQ LwH5TuWW5yrdLGnoi1FLkXxu05TGDW+Kj1rcuBgX7GfInkgPwwMT3uoAXmJSuCQ4ekVC 9NhWlqmz0zlY43md38DO8nlkbM+cDiH3ibO32G3BfeL45mW8fgbjfhzT7OYcNoVJsXmw fUxA== X-Gm-Message-State: ALoCoQn+NkcHjqnQTBR/SASUt7zRdRYtce1vYRQ5YQiHsDc9lfRb4ZM0x4UsjEfac2yh3O8Bbd+9uE9zuWeeNujfzW+MWCUBBw== X-Received: by 10.60.159.7 with SMTP id wy7mr36633664oeb.71.1453419594903; Thu, 21 Jan 2016 15:39:54 -0800 (PST) Received: from [192.168.43.169] (mef2636d0.tmodns.net. [208.54.38.239]) by smtp.gmail.com with ESMTPSA id a128sm1749534oig.3.2016.01.21.15.39.54 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Jan 2016 15:39:54 -0800 (PST) Sender: Warner Losh Subject: Re: make buildworld failed with error "relocation truncated to fit: R_ARM_JUMP24 against symbol `_fini'" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_615526BB-6E4D-4EC3-8B52-1203CAC45501"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5.2 From: Warner Losh In-Reply-To: <358D5606-3B91-4050-9BE4-CF3E23A253E5@dsl-only.net> Date: Thu, 21 Jan 2016 15:39:53 -0800 Cc: freebsd-arm , FreeBSD Toolchain , Andrew Turner Message-Id: <1870E0DF-2EF5-4A04-A994-95E4F1D5F754@bsdimp.com> References: <358D5606-3B91-4050-9BE4-CF3E23A253E5@dsl-only.net> To: Mark Millard X-Mailer: Apple Mail (2.2104) 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: Thu, 21 Jan 2016 23:39:56 -0000 --Apple-Mail=_615526BB-6E4D-4EC3-8B52-1203CAC45501 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jan 21, 2016, at 2:41 PM, Mark Millard wrote: >=20 > On Thu Jan 21 13:11:03 UTC 2016 Andrew Turner andrew at fubar.geek.nz = wrote" >=20 >> I've disabled setting -mlong-calls on the clang libraries for now, >> however I expect we will need to enable it again when clang 3.8.0 is >> imported. As such I would recommend anyone wishing to run buildworld = on >> arm to update before this is imported. >=20 >=20 > It seems that folks that later progress from 10.x-??? (or before) to = 11.0-RELELASE at some point for arm elf-hosted buildworld activity will = face the issue without having the opportunity to build a -mlong-calls = enabled context with a smaller clang first: >=20 > BEAGLEBONE > CUBOX-HUMMINGBOARD > GUMSTIX > RPI-B > PANDABOARD > WANDBOARD >=20 > So does the "all but clang libraries" -mlong-calls use need to be = MFC'd? Even this may require updating from older 10.x's to a 10.y that = has those -mlong-calls in place before going to 11.0-RELEASE (or later). >=20 > A similar point will be an issue for switching from such a 10.x (or = before) to 11.0-CURRENT once clang 3.8.0 has been imported: it may = require a middle stage of switching to a then-older 11.0-CURRENT first = (such as -r294499). Personally, I think we should make the dependent on the compiler version = when we bring them back / before we MFC things. Warner --Apple-Mail=_615526BB-6E4D-4EC3-8B52-1203CAC45501 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 iQIcBAEBCgAGBQJWoWxJAAoJEGwc0Sh9sBEALpcQAJD3cd5TmssWc4szS+0Jk2Ec wXBPrLhw7PTcwCZ94d2xZLY3UL3WlNxX10SajgdNhTl7KCpHsx80VBIo3Z7UUWfQ AgqDUe2aELzJUOFNAtcuYWQ/MSbJCBD1RdgMcOkIxInqlbm+tPd0YJWYRh9129LA Zk+m6/W5SBHc++4ONb79UB8AQjWzK51JBHtWRaur6D1DY9tcNHVCbZPTIwQUxBEH KwZNfKlP9cM7Z+QxZskKTzjijMZuNVG2DrJ8HhYT8j4ppsavcpXU/bg39k+biePc WZau2yb6/a99WBq2Jsz9bJgVCL7jJSeH9j0qdXwH99GctDtgsIFX3cZJRrf/EVgR nzPu6pWjTpoEKO8iAKU1okwDZlSXKiaJSgdVHJibAgi5avBEAUtxtLyrq8jDFp/4 GroQYwfijAfU4KoHmRt9Y0t5jUM/DwVntjG+z/JJsLplnuYM7gJbtd0mBq5gtfxf hWZS6htL7ofbHTLmwzYDSjinaxON/CDW2NKwrLl13Ce+Lw2tisDITLj/8xgWjghj CZSrXNLP9T7iwqdEzLwS1Fu+kdNSGiPEoEdw6qHjPqsgTlP7RMHuHcx13+4/NNoF v2DRY1nF2WxWrFasaoXzwWWpUrucQogHAK65F31VzEheSLlgdugMd5MsR0v8nNZZ 5IDZ1mRYjm0f6zT2z9gL =/OC+ -----END PGP SIGNATURE----- --Apple-Mail=_615526BB-6E4D-4EC3-8B52-1203CAC45501--