2022-04-26 10:01:41

by Chen, Rong A

[permalink] [raw]
Subject: Re: [broonie-sound:for-5.19 88/98] sound/soc/soc-acpi.c:58:36: warning: initialization of 'struct acpi_device *' from 'int' makes pointer from integer without a cast



On 4/26/2022 3:25 PM, Amadeusz Sławiński wrote:
> On 4/26/2022 4:54 AM, kernel test robot wrote:
>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1
>> O=build_dir ARCH=arc SHELL=/bin/bash sound/soc/
>
> /home/xxxxxxxx/0day/gcc-11.3.0-nolibc/arceb-elf/bin/arceb-elf-gcc:
> /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found
> (required by
> /home/xxxxxxxx/0day/gcc-11.3.0-nolibc/arceb-elf/bin/arceb-elf-gcc)
> /home/xxxxxxxx/0day/gcc-11.3.0-nolibc/arceb-elf/bin/arceb-elf-gcc:
> /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found
> (required by
> /home/xxxxxxxx/0day/gcc-11.3.0-nolibc/arceb-elf/bin/arceb-elf-gcc)
>   SYNC    include/config/auto.conf.cmd
>   GEN     Makefile
> /home/xxxxxxxx/0day/gcc-11.3.0-nolibc/arceb-elf/bin/arceb-elf-gcc:
> unknown compiler
> scripts/Kconfig.include:44: Sorry, this compiler is not supported.
>
> Having a "nolibc" in compiler path I find it confusing that it seems to
> require glibc...?

Hi Amadeusz,

Yes, the arceb-elf-gcc depends on a few libraries include libc6,

linux-vdso.so.1 (0x00007ffd4a1f7000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4c4f36e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4c4f554000)

and the below version is used in 0day-CI:

ii libc6:amd64 2.33-7
amd64 GNU C Library: Shared libraries

Best Regards,
Rong Chen

>
> I guess I will be able to figure what's going on without reproduction,
> but would be probably easier with reproducer ;) .
>