From: Bernd Schmidt <bschmidt@redhat.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,
Joseph Myers <joseph@codesourcery.com>
Cc: gcc-patches@gcc.gnu.org,
rb-general@lists.reproducible-builds.org,
anthraxx@archlinux.org, niels@thykier.net
Subject: Re: [PATCH] gcc: read -fdebug-prefix-map OLD from environment (improved reproducibility)
Date: Tue, 15 Dec 2015 16:08:00 -0000 [thread overview]
Message-ID: <56703AF7.7040103@redhat.com> (raw)
In-Reply-To: <87oadrbxya.fsf@alice.fifthhorseman.net>
On 12/15/2015 03:14 PM, Daniel Kahn Gillmor wrote:
> On Tue 2015-12-15 07:19:30 -0500, Bernd Schmidt wrote:
>> On 12/11/2015 08:14 PM, Daniel Kahn Gillmor wrote:
>>> Here's a one-liner patch for this approach (also at
>>> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37007):
>>
>> I think that one-liner is fine, even for now.
>
> great! what would be the next steps for getting this applied upstream?
I'm guessing you don't have an account so I'll bootstrap and test it and
then commit. (with an extra testcase, as below - adapted from another
testcase in the debug/dwarf2 directory).
Bernd
* gcc.dg/debug/dwarf2/prod-options.c: New file.
/* Verify that the DW_AT_producer does not contain certain compiler options
such as -fdebug-prefix-map=; this is undesirable since path names make
the build not reproducible. Other skipped options could be tested here
as well. */
/* { dg-do compile } */
/* { dg-options "-O2 -gdwarf -dA -fdebug-prefix-map=a=b" } */
/* { dg-final { scan-assembler "DW_AT_producer: \"GNU C" } } */
/* { dg-final { scan-assembler-not "debug-prefix-map" } } */
void func (void)
{
}
next prev parent reply other threads:[~2015-12-15 16:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87egf1mxfl.fsf@alice.fifthhorseman.net>
2015-12-10 17:36 ` Daniel Kahn Gillmor
2015-12-10 22:05 ` Daniel Kahn Gillmor
2015-12-10 23:59 ` Joseph Myers
2015-12-11 0:13 ` Daniel Kahn Gillmor
2015-12-11 16:49 ` Daniel Kahn Gillmor
2015-12-11 17:03 ` Bernd Schmidt
2015-12-11 19:14 ` Daniel Kahn Gillmor
2015-12-15 12:19 ` Bernd Schmidt
2015-12-15 14:15 ` Daniel Kahn Gillmor
2015-12-15 16:08 ` Bernd Schmidt [this message]
2015-12-15 16:32 ` Daniel Kahn Gillmor
2015-12-22 12:16 ` [rb-general] " Thomas Klausner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56703AF7.7040103@redhat.com \
--to=bschmidt@redhat.com \
--cc=anthraxx@archlinux.org \
--cc=dkg@fifthhorseman.net \
--cc=gcc-patches@gcc.gnu.org \
--cc=joseph@codesourcery.com \
--cc=niels@thykier.net \
--cc=rb-general@lists.reproducible-builds.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).