Hello!

It seems, that one of the source of the reporoducibilty issues with the gcc build output is that it contains la files with libdir recorded.
Libtool records that in those la files.
I wonder if we have any solution to that already, because it seems to affect every project using libtool.

If not, do we have any idea to solve this? It would be great if we could come up with some generic solution to the problem.

2017-11-23 8:14 GMT+01:00 Ricardo Wurmus <rekado@elephly.net>:

Hi Gábor,

> I'm using the getenv approach Ricardo suggested. I've not written a wrapper
> yet, the environment variables are set from the build.

Maybe that’s sufficient already.  Since the result of this package is
not going to be used as an input to build software it may not actually
need a wrapper.

Instead we can just set the variables in a build phase.

> I'd like some help with choosing appropriate names for these environment
> variables.

I would prefix all of the environment variables with “GUIX_GCC_” just to
avoid conflicts with other legitimate environment variables.  Other than
that the names are fine.

Thanks for investigating this.  I’m impressed with your level of success!

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net