From owner-freebsd-toolchain@freebsd.org Sat Aug 27 01:48:58 2016 Return-Path: Delivered-To: freebsd-toolchain@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 6CFBAB70151 for ; Sat, 27 Aug 2016 01:48:58 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm4.bullet.mail.bf1.yahoo.com (nm4.bullet.mail.bf1.yahoo.com [98.139.212.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 236A9F56 for ; Sat, 27 Aug 2016 01:48:57 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1472262531; bh=AtE+R5qfnGEjAdvO1rPdVPOhoCIWEdCMjKAfImnXjfw=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject; b=oW9XYGxMmVm+r75hD61ajz67EozhQRrg7PxVbbtuJ72hrC2cAo63aPV+N4TCKrsDIGxxj6jLk5LqhX8RkNEBPNOJe3H+iXTcHBaI49AvZsNxTvhSQU26FDsUlKfImc62BAEkKOaA7Zygvsr8zKxMFT5ASMOUpDTNGQXK7v0WePVfr9V5XoLFex341qEGALV+mEW+uUJeNIOYGjBEmOH8QmlSheJPempKFMh3qP6rkuhkXffJr+1XvziO2AG6egJzYidMI3fG0ApOtCXCnUV0r5EFeoBZR5uk5meCeQHQTTmCaDvj8ZK6/4iMfwICSsC2/lUf20cco4WQyyXv62QF9w== Received: from [66.196.81.174] by nm4.bullet.mail.bf1.yahoo.com with NNFMP; 27 Aug 2016 01:48:51 -0000 Received: from [98.139.213.11] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 27 Aug 2016 01:48:50 -0000 Received: from [127.0.0.1] by smtp111.mail.bf1.yahoo.com with NNFMP; 27 Aug 2016 01:48:50 -0000 X-Yahoo-Newman-Id: 985046.28140.bm@smtp111.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Z.8287IVM1kp2niYumUMi_MCdQ52Q8WE.VCGSb2IKxI72dI bGaP0oxnK.mDI_le_wjP1OTfYhmbpFVEq.QGejdq67rVMPVzA59HLb3zX9PY gSOwV3uLhRuyiVE17Ez7i0AOzY2QUUlOiYnviviY0GUJ8XGaqX7pLowkXJEu yjD7Xula1jFcXLJMpZe6eVKWNAmDCLVGqXVFol7YzIx601Z5Bb8DyYmkkbfE COwPC4_Le3KSKQPBP3y56buSHj6a37xO4bLFyOfkFUGFFKf4Dwm2ZJUZRGJK ADZgPNwzfz9GSeJ1c7v8qOchKR3xrgj0LFjpItblAdNl3y.N9YPybx9LvjJg l86uK_wb2b3pI1BNXufJDpzGhI3ZXNrjW0fvXCFnHdri.t2rvFeTR3987KhT PrXrsCcUgOyjANJk5xSthaYO4yCD1nXjKvV00_fTzmyPY9ERTk7ScfkMfeMj s7JNxLjPl1NUR2gzLr3_MaPQolzq3tEQYEWsRyJ_atXZDcadbllCd.Vm94Nd DORSP7G.PLhduJzmzmY1h1SqIMtrfXozuhKM9vK6kQeqXww-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Subject: Re: Time to enable partial relro To: "freebsd-toolchain@FreeBSD.org" References: <20160826105618.GS83214@kib.kiev.ua> <2e5bee0b-0102-8454-9975-e997bd5229ae@FreeBSD.org> <04514DD6-F431-490D-9ED6-EBFC9DCE97BF@bsdimp.com> From: Pedro Giffuni Message-ID: Date: Fri, 26 Aug 2016 20:49:01 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2016 01:48:58 -0000 For the record ... On 08/26/16 20:10, Pedro Giffuni wrote: > > > On 26/08/2016 19:00, Warner Losh wrote: ... >> I think we should move forward, just want to make sure it doesn’t >> break some arch completely before moving ahead. While lld is a goal, >> the goal is also to have a ld.bdf installed for 12, iirc, as a fallback. > > And very right you are, this has all the chances of breaking MIPS*: > > "A configure option --enable-relro={yes|no} to decide > whether -z relro should be the default behaviour for > the linker in ELF based targets. If this configure > option is not specified then relro will be enabled > automatically for all Linux based targets except FRV, > HPPA, IA64 and MIPS." > > _____ > > I will update the patch to exclude MIPS (and MIPS64 JIC). > The new patch is here: https://people.freebsd.org/~pfg/patches/partial-relro.diff If we were ever to MFC this, we would have to add IA64 to the exclusion list. Pedro.