From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27156 invoked by alias); 15 Jun 2011 17:00:54 -0000 Received: (qmail 27120 invoked by uid 22791); 15 Jun 2011 17:00:52 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from qmta05.emeryville.ca.mail.comcast.net (HELO qmta05.emeryville.ca.mail.comcast.net) (76.96.30.48) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 15 Jun 2011 17:00:35 +0000 Received: from omta24.emeryville.ca.mail.comcast.net ([76.96.30.92]) by qmta05.emeryville.ca.mail.comcast.net with comcast id wFM91g0081zF43QA5H0ZPQ; Wed, 15 Jun 2011 17:00:33 +0000 Received: from up.mrs.kithrup.com ([24.4.193.8]) by omta24.emeryville.ca.mail.comcast.net with comcast id wH071g00c0BKwT48kH08qp; Wed, 15 Jun 2011 17:00:09 +0000 Subject: Re: [testsuite] Run TLS torture tests with -fpic etc. Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Mike Stump In-Reply-To: Date: Wed, 15 Jun 2011 17:29:00 -0000 Cc: Rainer Orth , gcc-patches Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Ramana Radhakrishnan X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg01172.txt.bz2 On Jun 15, 2011, at 9:06 AM, Ramana Radhakrishnan wrote: >> After it has been determined how to check for PIE support, I'm checking >> this in. >=20 > I haven't bisected it and not investigated failures in detail because > I'm about to walk out of the door. This patch might have broken > testing with arm-linux-gnueabi cross with defaults set to v7-a. ( > configured with --with-arch=3Darmv7-a --with-fpu=3Dneon > --with-float=3D-softfp) . The GNU ARM linker doesn't allow PIE modules > where objects contain the MOVW_ABS_NC and MOVT_ABS relocations (which > are actually absolute relocations) and thus we should require -fPIC / > -fpic for these cases as well. The patch isn't suitable as is. If -PIE requires -fPIC, then anything that= adds it or tortures on it, should add both, or torture on both.