COLLECT_LTO_WRAPPER - declaration sys wide - where/how?

lejeczek via gcc-help gcc-help@gcc.gnu.org
Fri Aug 31 20:15:00 GMT 2018



On 31/08/18 19:56, Jonathan Wakely wrote:
> On Fri, 31 Aug 2018 at 18:55, lejeczek via gcc-help
> <gcc-help@gcc.gnu.org> wrote:
>> hi guys
>>
>> I have cron which is supposed to update a few things which involves
>> compiler but it fails. I could find only one bit which is not there, but
>> which there for root when root does the same thing.
>>
>> Cron does not seem to get COLLECT_LTO_WRAPPER declared. And that is on
>> one box where a sister box's cron gets it okey.
>>
>> How to fix that? (I'm on Centos 7.5)
> You haven't said what the problem is.
>
> You need to tell us what you're trying to do and what the error you
> get is. Just saying it "involves compiler but it fails" is not enough
> for us to help.
could we just keep it simple for now?
When as root in bash session I do:
] gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper
Target: x86_64-redhat-linux
...
But when crond does the same then COLLECT_LTO_WRAPPER is not 
there.
Is it possible to fix that first?

thanks, L.



More information about the Gcc-help mailing list