From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82147 invoked by alias); 17 Oct 2018 19:33:06 -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 78558 invoked by uid 89); 17 Oct 2018 19:33:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: relay.fit.cvut.cz Received: from relay.fit.cvut.cz (HELO relay.fit.cvut.cz) (147.32.232.237) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 17 Oct 2018 19:33:01 +0000 Received: from imap.fit.cvut.cz (imap.fit.cvut.cz [147.32.232.238]) by relay.fit.cvut.cz (8.15.2/8.15.2) with ESMTPS id w9HJWnVN044192 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Oct 2018 21:32:51 +0200 (CEST) (envelope-from jan.vrany@fit.cvut.cz) Received: from [192.168.1.72] (ip-62-24-85-77.net.upcbroadband.cz [62.24.85.77]) (authenticated bits=0 as user vranyj1) by imap.fit.cvut.cz (8.15.2/8.15.2) with ESMTPSA id w9HJWmaM083651 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 17 Oct 2018 21:32:49 +0200 (CEST) (envelope-from jan.vrany@fit.cvut.cz) Message-ID: Subject: Re: [PATCH v3] Fix various tests to use -no-pie linker flag when needed From: Jan Vrany To: Simon Marchi Cc: gdb-patches@sourceware.org Date: Wed, 17 Oct 2018 19:33:00 -0000 In-Reply-To: <2985d86a6b3b9a3bef6e79bc2d130955@polymtl.ca> References: <20181017145537.3010-1-jan.vrany@fit.cvut.cz> <20181017151210.3278-1-jan.vrany@fit.cvut.cz> <52489e133153f8151f1ea529122feafa@polymtl.ca> <2985d86a6b3b9a3bef6e79bc2d130955@polymtl.ca> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.1-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2018-10/txt/msg00386.txt.bz2 On Wed, 2018-10-17 at 11:52 -0400, Simon Marchi wrote: > On 2018-10-17 11:43, Simon Marchi wrote: > > On 2018-10-17 11:12, Jan Vrany wrote: > > > Various test use test code written in i385 / x86_64 assembly that > > > cannot > > > > typo, "i385" > > > > > be used to create PIE executables. Therefore compilation of test > > > programs > > > failed on systems where the compiler default is to create PIE > > > executable. > > > > > > To fix this, force -no-pie linker flag. > > > > LGTM, thanks! > > Actually, see the message from Pedro. gcc 4.8 doesn't know about this > flag, and we probably want to support that for a while... so we'll have > to implement that gdb_compile flag. > Yeah, I saw it. I'll update the patch later. Jan