Re: error when compiling dts preprocessed with -g3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 12.10.2021 15:38, Rob Herring wrote:
> On Tue, Oct 12, 2021 at 8:16 AM Adrian Fiergolski
> <adrian.fiergolski@xxxxxxxxxxxxx> wrote:
>> Hi David,
>>
>> I am being hit by this problem again. This time on Ubuntu 20.04 LTS with
>> gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04), yocto (hardknott) and
>> kernel v5.10.
>>
>> As it's standard kernel built, I am using scripts/Makefile.lib from
>> kernel sources. This line [1] causes the problem. As you indicated, it
>> calls the preprocessor and afterwards dtc.
> How is '-g3' getting introduced here? You are externally overriding
> HOSTCC with 'gcc -g3' or something like that?

Yes, that's the way yocto introduces kernel build flags [1].

[1]
https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/kernel.bbclass#n229

Adrian




[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux