[lttng-dev] [EXTERNAL] Re: lttng 2.12 install

Weber, John jweber1 at ball.com
Tue Nov 24 16:02:41 EST 2020


Ok, it I get what you're saying then I am modifying make on the command line while running make? Still the same problem. I don't think it is using the gcc I am specifying as it continues to look in: /usr/src/kernels/3.10.0-1127.19.1.el7.x86_64/
And I suspect it is still seeing the OS version of gcc (4.8.5) instead of the 6.3.1 provided by devtoolset-6.
Do you have some pixy dust??

----------------------------
John Weber
Ball Aerospace
ITS ND System Administrator 
10 Longs Peak Dr., Broomfield, CO 80021
C: 303-807-3608   P: 303-234-2103
E: jweber1 at ball.com
 
 

 

 

-----Original Message-----
From: Jonathan Rajotte-Julien <jonathan.rajotte-julien at efficios.com> 
Sent: Tuesday, November 24, 2020 1:22 PM
To: Weber, John <jweber1 at ball.com>
Cc: 'lttng-dev at lists.lttng.org' <lttng-dev at lists.lttng.org>
Subject: Re: [EXTERNAL] Re: [lttng-dev] lttng 2.12 install

Hi John,

AFAIK, you should be able to do so using something similar to the following:

  make CC="your_compiler" HOSTCC="your_compiler" ...

Cheers


On Tue, Nov 24, 2020 at 07:22:10PM +0000, Weber, John wrote:
> Hi, thanks for your reply. So, on my system there are 2 gcc's. one 
> installed by the OS and the other by installation of devtooset-6. Upon 
> checking the versions of both I have 4.8.5 installed by OS in /usr/bin 
> the other one from devtoolset is 6.3.1. Your reference to check 
> /proc/version shows that it sees 4.8.5. how can I manipulate the 
> install to use the gcc from /opt/rh/devtoolset-6/root/bin/gcc (which 
> is 6.3.1)
> 
> ----------------------------
> John Weber
> Ball Aerospace
> ITS ND System Administrator
> 10 Longs Peak Dr., Broomfield, CO 80021
> C: 303-807-3608   P: 303-234-2103
> E: jweber1 at ball.com
>  
>  
> 
>  
> 
>  
> 
> -----Original Message-----
> From: Jonathan Rajotte-Julien <jonathan.rajotte-julien at efficios.com>
> Sent: Friday, November 20, 2020 11:48 AM
> To: Weber, John <jweber1 at ball.com>
> Cc: 'lttng-dev at lists.lttng.org' <lttng-dev at lists.lttng.org>
> Subject: [EXTERNAL] Re: [lttng-dev] lttng 2.12 install
> 
> Hi John,
> 
> This does not seems to be directly related to the lttng-modules project.
> 
> This errors seems to arise because of the compiler you are using to compile lttng-modules (kernel modules). The RETPOLINE check is part of the kernel build system, not directly lttng-modules.
> 
> I would recommend that you take a look at the /proc/version file and the compiler that was used to compile your kernel. 
> 
> Also note that EfficiOS [1] provide commercial support if you ever need more in-depth support. 
> 
> Cheers
> 
> [1] 
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.efficios.com_
> contact_&d=DwIBAg&c=jF7FvYH6t0RX1HrEjVCgHQ&r=t_BRyMysL9XIchJvkrT9wQ&m=
> EB0u_nTE1tUx4ZXA7ENPxCS2zGFrbf0ZpfI5DiP051o&s=JumKvFuRjeKw-8NQkpWd1nN8
> ZOHAo-JMUMiqWc2Oq9o&e=
> 
> On Fri, Nov 20, 2020 at 05:43:00PM +0000, Weber, John via lttng-dev wrote:
> > Hi, I have a centos 7.8 workstation that I'm trying to install lttng-modules & lttng-tools from source. Based on your install instructions I'm working on installing the modules part first and its failing. I am getting the error:
> > Make entering directory /usr/src/kernels/3.10.0-1127.19.1.el7.x86_64
> > Arch/x86/Makefile:166 *** CONFIG_RETPOLINE=y, but not supported by 
> > the compiler. Compiler update recommended... stop
> > Make: modules error 2
> > 
> > Help, how can I get this program to install? Im stuck. Also, my work environment is classified so there is no access to internet from high side.
> > 
> > ----------------------------
> > John Weber
> > Ball Aerospace
> > ITS ND System Administrator
> > 10 Longs Peak Dr., Broomfield, CO 80021
> > C: 303-807-3608   P: 303-234-2103
> > E: jweber1 at ball.com
> > 
> > 
> > [cid:image001.jpg at 01D6BF29.AD6C5250]
> > 
> > 
> > [cid:image002.jpg at 01D6BF29.AD6C5250]<http://www.ball.com/aerospace>
> > 
> > This message and any enclosures are intended only for the addressee.  
> > Please notify the sender by email if you are not the intended 
> > recipient.  If you are not the intended recipient, you may not use, 
> > copy, disclose, or distribute this message or its contents or 
> > enclosures to any other person and any such actions may be unlawful.
> > Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address.
> 
> 
> 
> 
> > _______________________________________________
> > lttng-dev mailing list
> > lttng-dev at lists.lttng.org
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.lttng.org
> > _c 
> > gi-2Dbin_mailman_listinfo_lttng-2Ddev&d=DwIBAg&c=jF7FvYH6t0RX1HrEjVC
> > gH
> > Q&r=t_BRyMysL9XIchJvkrT9wQ&m=EB0u_nTE1tUx4ZXA7ENPxCS2zGFrbf0ZpfI5DiP
> > 05 1o&s=tlmdamhJeWU81ADw4gyy0TeCGIhuLXutgPxwQNZsQUk&e=
> 
> 
> --
> Jonathan Rajotte-Julien
> EfficiOS
> 
> This message and any enclosures are intended only for the addressee.  
> Please notify the sender by email if you are not the intended 
> recipient.  If you are not the intended recipient, you may not use, 
> copy, disclose, or distribute this message or its contents or 
> enclosures to any other person and any such actions may be unlawful.  
> Ball reserves the right to monitor and review all messages and enclosures sent to or from this email address.

--
Jonathan Rajotte-Julien
EfficiOS

This message and any enclosures are intended only for the addressee.  Please 
notify the sender by email if you are not the intended recipient.  If you are 
not the intended recipient, you may not use, copy, disclose, or distribute this 
message or its contents or enclosures to any other person and any such actions 
may be unlawful.  Ball reserves the right to monitor and review all messages 
and enclosures sent to or from this email address.


More information about the lttng-dev mailing list