Samuel Thibault: > Hello, > > I have noticed that for reproducibility, gcc is now given > > -fdebug-prefix-map=/build-2nd/the-package-1.0=.ยท > > to avoid the debugging symbols to be depending on the path where the > package is built. But I'd say it can be really useful to have the > "the-package-1.0" part when debugging stuff. Perhaps we should instead > use: > > -fdebug-prefix-map=/build-2nd/the-package-1.0=../the-package-1.0 > > ? >
Hi Samuel, you are also not the first person to ask about this! We actually have a rough solution already sketched out: we plan on submitting some patches to GCC to fix this in one central place. See https://lists.alioth.debian.org/pipermail/reproducible-builds/Week-of-Mon-20160822/006788.html https://lists.alioth.debian.org/pipermail/reproducible-builds/Week-of-Mon-20160905/006984.html and https://lists.alioth.debian.org/pipermail/reproducible-builds/Week-of-Mon-20160912/007076.html for more details. Help writing these patches would be welcome! I am pretty rusty with my C/C++. I should probably get around to this fairly soon. I've already started sketching up a wiki page BuildPathProposal, similar to what we had for TimestampsProposal. X -- GPG: ed25519/56034877E1F87C35 GPG: rsa4096/1318EFAC5FBBDBCE https://github.com/infinity0/pubkeys.git _______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds