From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1689 invoked by alias); 3 Jun 2011 19:44:28 -0000 Received: (qmail 1681 invoked by uid 22791); 3 Jun 2011 19:44:27 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 03 Jun 2011 19:44:09 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p53Ji6og023077 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 3 Jun 2011 15:44:06 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (tyan-ft48-01.lab.bos.redhat.com [10.16.42.4]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p53Ji5ph011553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Jun 2011 15:44:06 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (localhost.localdomain [127.0.0.1]) by tyan-ft48-01.lab.bos.redhat.com (8.14.4/8.14.4) with ESMTP id p53Ji4KX029654; Fri, 3 Jun 2011 21:44:04 +0200 Received: (from jakub@localhost) by tyan-ft48-01.lab.bos.redhat.com (8.14.4/8.14.4/Submit) id p53Ji34R029653; Fri, 3 Jun 2011 21:44:03 +0200 Date: Fri, 03 Jun 2011 19:44:00 -0000 From: Jakub Jelinek To: Rainer Orth Cc: gcc-patches@gcc.gnu.org Subject: Re: [testsuite] Run TLS torture tests with -fpic etc. Message-ID: <20110603194403.GG17079@tyan-ft48-01.lab.bos.redhat.com> Reply-To: Jakub Jelinek References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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/msg00279.txt.bz2 On Fri, Jun 03, 2011 at 09:38:31PM +0200, Rainer Orth wrote: > Rainer Orth writes: > Jakub, any suggestion how to properly test for -fpie/-fPIE support? > Otherwise, I'll remove that part of the patch for now and just commit > the -fpic/-fPIC one. You want to compile/link the program with -pie -fpie rather than just -fpie, if it links, otherwise you are testing just linking PIC code into normal executables. Jakub