Re: [jenkins-ci PATCH 04/10] guests: Move ccache configuration to shell profile

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

 



On Thu, 2018-04-12 at 13:09 +0100, Daniel P. Berrangé wrote:
> IIUC, this appears to have broken the Go compiler. Unsetting 'CC' makes
> it work again. IIUC this wasn't a problem with normal Fedora setup for
> ccache, because that doesn't set 'CC', it just puts the ccache 'gcc'
> binary into $PATH.
> 
> It looks like its a limitation of "Go" - it doesn't like it when
> "CC" contains multiple words - it drops everything except the first
> word. So when we set CC="ccache cc", go just runs "ccache $args"
> instead of "ccache cc $args"

MinGW (or at least the way we do MinGW builds) has a similar issue.

I've posted a workaround:

  https://www.redhat.com/archives/libvir-list/2018-April/msg01000.html

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux