From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16668 invoked by alias); 7 Sep 2018 20:43:55 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 16652 invoked by uid 89); 7 Sep 2018 20:43:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=PIE, U*jan.vrany, janvranyfitcvutcz, jan.vrany@fit.cvut.cz X-HELO: gateway24.websitewelcome.com Received: from gateway24.websitewelcome.com (HELO gateway24.websitewelcome.com) (192.185.50.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Sep 2018 20:43:53 +0000 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway24.websitewelcome.com (Postfix) with ESMTP id 4C0285117 for ; Fri, 7 Sep 2018 15:43:52 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id yNbcfJvw6aSeyyNbcfmFgu; Fri, 07 Sep 2018 15:43:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=SaCR+MIf2YI5JNl5edq66GxkvNrD38bTtSL1WuEgN2k=; b=fX+w7+Za2mBbWALJwDM5jcIHgo tGEuV5nfo1l5qUdWrDWODwqDbD9QkrUe6bxVeAFrEhlocaRNygB4zF/z8+BYpvYXNt4pcXMdT9NGw qkOAvui1sjlDgOjadF21nDWwA; Received: from 75-166-85-72.hlrn.qwest.net ([75.166.85.72]:51050 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fyNbc-001dRl-2F; Fri, 07 Sep 2018 15:43:52 -0500 From: Tom Tromey To: Jan Vrany Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Fix various tests to use -no-pie linker flag when needed References: <20180828193643.15530-1-jan.vrany@fit.cvut.cz> Date: Fri, 07 Sep 2018 20:43:00 -0000 In-Reply-To: <20180828193643.15530-1-jan.vrany@fit.cvut.cz> (Jan Vrany's message of "Tue, 28 Aug 2018 20:36:43 +0100") Message-ID: <87lg8dvy0o.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2018-09/txt/msg00124.txt.bz2 >>>>> "Jan" == Jan Vrany writes: Jan> Various test use test code written in i385 / x86_64 assembly that cannot Jan> be used to create PIE executables. Therefore compilation of test programs Jan> failed on systems where the compiler default is to create PIE executable. Jan> To fix this, force -no-pie linker flag. I guess you're on an OS that enables PIE by default? These tests don't seem to be linux- or gcc-specific. Do you know how universal -no-pie is? My worry is that this would fix the test for some people but break it for others. Tom