Preparing a container for kernel compilation using the Debian compiler


Nobuhiro Iwamatsu
 

Hi Chris,

The 5.10.y tree building is failing due to a problem with the version of the compiler
currently used for kernel compiling. To solve this, I thought it was necessary to prepare
an environment where each tree could be compiled. We also suggest using Debian as the
compiler as we are developing using Debian.

I have created a fix and MR[0][1] to solve these.
Could you check these?

Best regards,
Nobuhiro

[0]: https://gitlab.com/cip-project/cip-testing/linux-cip-ci/-/merge_requests/53
[1]: https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/-/merge_requests/25


Jan Kiszka
 

On 18.01.22 13:35, nobuhiro1.iwamatsu@toshiba.co.jp wrote:
Hi Chris,
The 5.10.y tree building is failing due to a problem with the version of the compiler
currently used for kernel compiling. To solve this, I thought it was necessary to prepare
an environment where each tree could be compiled. We also suggest using Debian as the
compiler as we are developing using Debian.
I have created a fix and MR[0][1] to solve these.
Could you check these?
Just a thought: We could also derive such build environments from isar-cip-core, building SDKs as containers for its images, e.g. for the kernelci images that will soon exist. I can't promise that his will be easier to implement, but it may be interesting from the perspective of having build envs aligned at some point.

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux


Nobuhiro Iwamatsu
 

Hi Jan,

-----Original Message-----
From: cip-dev@lists.cip-project.org <cip-dev@lists.cip-project.org> On
Behalf Of Jan Kiszka
Sent: Tuesday, January 18, 2022 10:59 PM
To: iwamatsu nobuhiro(岩松 信洋 □SWC◯ACT)
<nobuhiro1.iwamatsu@toshiba.co.jp>; Chris.Paterson2@renesas.com;
alice.ferrazzi@cybertrust.co.jp
Cc: cip-dev@lists.cip-project.org
Subject: Re: [cip-dev] Preparing a container for kernel compilation using the
Debian compiler

On 18.01.22 13:35, nobuhiro1.iwamatsu@toshiba.co.jp wrote:
Hi Chris,

The 5.10.y tree building is failing due to a problem with the version
of the compiler currently used for kernel compiling. To solve this, I
thought it was necessary to prepare an environment where each tree
could be compiled. We also suggest using Debian as the compiler as we are
developing using Debian.

I have created a fix and MR[0][1] to solve these.
Could you check these?
Just a thought: We could also derive such build environments from
isar-cip-core, building SDKs as containers for its images, e.g. for the kernelci
images that will soon exist. I can't promise that his will be easier to implement,
but it may be interesting from the perspective of having build envs aligned at
some point.
I see. I think that is also a good idea.
I will check the latest isar-cip-core.

Best regards,
Nobuhiro


Chris Paterson
 

Hello Iwamatsu-san,

Apologies in taking a while to get to this.

From: nobuhiro1.iwamatsu@toshiba.co.jp
<nobuhiro1.iwamatsu@toshiba.co.jp>
Sent: 18 January 2022 12:36

Hi Chris,

The 5.10.y tree building is failing due to a problem with the version of the
compiler
currently used for kernel compiling. To solve this, I thought it was necessary
to prepare
an environment where each tree could be compiled. We also suggest using
Debian as the
compiler as we are developing using Debian.

I have created a fix and MR[0][1] to solve these.
Could you check these?
I've added some comments to the linux-cip-ci MR.
linux-cip-pipelines MR is approved but obviously the first MR needs to be merged first.

We can migrate to cip-core-isar once we're done with this first step.

Kind regards, Chris


Best regards,
Nobuhiro

[0]:
https://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab
.com%2Fcip-project%2Fcip-testing%2Flinux-cip-ci%2F-
%2Fmerge_requests%2F53&amp;data=04%7C01%7CChris.Paterson2%40ren
esas.com%7Ce01604e9a78c4a058b0208d9da7f2b4e%7C53d82571da1947e49c
b4625a166a4a2a%7C0%7C0%7C637781061993287282%7CUnknown%7CTWFp
bGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC
I6Mn0%3D%7C3000&amp;sdata=%2BxpkKQJX1QrSJrNnVbAFCmhHR97nZhre
rqfc3xjgj6M%3D&amp;reserved=0
[1]:
https://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab
.com%2Fcip-project%2Fcip-testing%2Flinux-cip-pipelines%2F-
%2Fmerge_requests%2F25&amp;data=04%7C01%7CChris.Paterson2%40ren
esas.com%7Ce01604e9a78c4a058b0208d9da7f2b4e%7C53d82571da1947e49c
b4625a166a4a2a%7C0%7C0%7C637781061993287282%7CUnknown%7CTWFp
bGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVC
I6Mn0%3D%7C3000&amp;sdata=NESpNj06G410KlYrpKIhPoGIwQp6Z2ZFfeFF
6mesvHE%3D&amp;reserved=0