Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Compilation issue with Linaro ARM toolchain
@ 2021-01-18 14:49 Sergey Suloev
  2021-01-18 15:59 ` Mathieu Poirier
  0 siblings, 1 reply; 4+ messages in thread
From: Sergey Suloev @ 2021-01-18 14:49 UTC (permalink / raw)
  To: keescook; +Cc: linux-hardening, linux-arm-kernel, linux-kernel

Hi, guys,

I am having an issue builduing kernel 5.11 (rc4) with Linaro ARM 
toolchain. The issue seems to be related to CC plugins sources.
Here is my build log: https://pastebin.com/DTn7Szax. I have never seen 
this before with versions 5.10 and below.

Thank you,
Sergey


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compilation issue with Linaro ARM toolchain
  2021-01-18 14:49 Compilation issue with Linaro ARM toolchain Sergey Suloev
@ 2021-01-18 15:59 ` Mathieu Poirier
  2021-01-18 16:04   ` Maxim Kuvyrkov
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Poirier @ 2021-01-18 15:59 UTC (permalink / raw)
  To: Sergey Suloev
  Cc: linux-kernel, linaro-toolchain, keescook, linux-arm-kernel,
	linux-hardening

Adding the Linaro toolchain group mailing list.

On Mon, Jan 18, 2021 at 05:49:39PM +0300, Sergey Suloev wrote:
> Hi, guys,
> 
> I am having an issue builduing kernel 5.11 (rc4) with Linaro ARM toolchain.
> The issue seems to be related to CC plugins sources.
> Here is my build log: https://pastebin.com/DTn7Szax. I have never seen this
> before with versions 5.10 and below.
> 
> Thank you,
> Sergey
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compilation issue with Linaro ARM toolchain
  2021-01-18 15:59 ` Mathieu Poirier
@ 2021-01-18 16:04   ` Maxim Kuvyrkov
  2021-01-18 18:21     ` Sergey Suloev
  0 siblings, 1 reply; 4+ messages in thread
From: Maxim Kuvyrkov @ 2021-01-18 16:04 UTC (permalink / raw)
  To: Mathieu Poirier, Sergey Suloev
  Cc: linux-arm-kernel, linux-hardening, LKML,
	Linaro Toolchain Working Group, keescook

> On 18 Jan 2021, at 18:59, Mathieu Poirier <mathieu.poirier@linaro.org> wrote:
> 
> Adding the Linaro toolchain group mailing list.
> 
> On Mon, Jan 18, 2021 at 05:49:39PM +0300, Sergey Suloev wrote:
>> Hi, guys,
>> 
>> I am having an issue builduing kernel 5.11 (rc4) with Linaro ARM toolchain.
>> The issue seems to be related to CC plugins sources.
>> Here is my build log: https://pastebin.com/DTn7Szax. I have never seen this
>> before with versions 5.10 and below.

Thanks, Mathieu.

Hi Sergey,

MPC (along with GMP and MPFR) are libraries that GCC and its plugins depend on.  I think, installing libmpc-dev or equivalent should fix the problem; installing an equivalent of “apt build-dep gcc” might be more robust.

Linux kernel has recently relaxed the way it detects support for compiler plugins, so it’s now enabling them more often than before.

Hope this helps,

--
Maxim Kuvyrkov
https://www.linaro.org


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compilation issue with Linaro ARM toolchain
  2021-01-18 16:04   ` Maxim Kuvyrkov
@ 2021-01-18 18:21     ` Sergey Suloev
  0 siblings, 0 replies; 4+ messages in thread
From: Sergey Suloev @ 2021-01-18 18:21 UTC (permalink / raw)
  To: Maxim Kuvyrkov, Mathieu Poirier
  Cc: linux-arm-kernel, linux-hardening, LKML,
	Linaro Toolchain Working Group, keescook

Hi, Maxim,

thank you for the reply.
Installing libmpc-dev helped.

On 18.01.2021 19:04, Maxim Kuvyrkov wrote:
>> On 18 Jan 2021, at 18:59, Mathieu Poirier <mathieu.poirier@linaro.org> wrote:
>>
>> Adding the Linaro toolchain group mailing list.
>>
>> On Mon, Jan 18, 2021 at 05:49:39PM +0300, Sergey Suloev wrote:
>>> Hi, guys,
>>>
>>> I am having an issue builduing kernel 5.11 (rc4) with Linaro ARM toolchain.
>>> The issue seems to be related to CC plugins sources.
>>> Here is my build log: https://pastebin.com/DTn7Szax. I have never seen this
>>> before with versions 5.10 and below.
> Thanks, Mathieu.
>
> Hi Sergey,
>
> MPC (along with GMP and MPFR) are libraries that GCC and its plugins depend on.  I think, installing libmpc-dev or equivalent should fix the problem; installing an equivalent of “apt build-dep gcc” might be more robust.
>
> Linux kernel has recently relaxed the way it detects support for compiler plugins, so it’s now enabling them more often than before.
>
> Hope this helps,
>
> --
> Maxim Kuvyrkov
> https://www.linaro.org
>
Thanks,
Sergey


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-18 18:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-18 14:49 Compilation issue with Linaro ARM toolchain Sergey Suloev
2021-01-18 15:59 ` Mathieu Poirier
2021-01-18 16:04   ` Maxim Kuvyrkov
2021-01-18 18:21     ` Sergey Suloev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox