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: jweb...@ball.com > > > > > > > > -----Original Message----- > From: Jonathan Rajotte-Julien <jonathan.rajotte-jul...@efficios.com> > Sent: Friday, November 20, 2020 11:48 AM > To: Weber, John <jweb...@ball.com> > Cc: 'lttng-dev@lists.lttng.org' <lttng-dev@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-8NQkpWd1nN8ZOHAo-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: jweb...@ball.com > > > > > > [cid:image001.jpg@01D6BF29.AD6C5250] > > > > > > [cid:image002.jpg@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@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=jF7FvYH6t0RX1HrEjVCgH > > Q&r=t_BRyMysL9XIchJvkrT9wQ&m=EB0u_nTE1tUx4ZXA7ENPxCS2zGFrbf0ZpfI5DiP05 > > 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 _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev