[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39400: Go retains a reference to GCC

From: Sarah Morgensen
Subject: bug#39400: Go retains a reference to GCC
Date: Tue, 06 Jul 2021 13:17:15 -0700


A quick addendum...

Sarah Morgensen <iskarian@mgsn.dev> writes:

> This means that even if the user provides a different CC, the
> gcc-7.5.0-lib dir will also be in the runpath. I do not know if, or how
> much, this would conflict with other gcc-lib runpaths.

I have just seen the consequences of this: the binary is unable to load
symbols from the newer library. More info at

> I have experimented with a couple ways of removing the gcc-7.5.0 reference:
> 1. Simply set CC=gcc. This works to remove gcc-7.5.0 from references,
> but we still get a gcc-7.5.0-lib runpath. We can't remove this runpath
> completely, as anything using cgo-enabled parts of the standard library
> require it, and Go does not save the library location anywhere.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]