lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYtV6X=c3JVTTAX89_=wc+uqLpzggnsbGSx-98m_5yd5yw@mail.gmail.com>
Date:   Fri, 24 Nov 2023 15:40:36 +0530
From:   Naresh Kamboju <naresh.kamboju@...aro.org>
To:     open list <linux-kernel@...r.kernel.org>,
        Linux-Next Mailing List <linux-next@...r.kernel.org>,
        lkft-triage@...ts.linaro.org
Cc:     Arnd Bergmann <arnd@...nel.org>,
        Vincenzo Frascino <vincenzo.frascino@....com>
Subject: next: arm64: vgettimeofday.c:10:5: error: conflicting types for
 '__vdso_clock_gettime'; have 'int(clockid_t, struct old_timespec32 *)' {aka
 'int(int, struct old_timespec32 *)'}

Following build warnings / errors noticed on arm64 build on Linux next-20231124

Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>

Build log:
--------
arch/arm64/boot/dts/mediatek/mt8195.dtsi:464.4-27: Warning
(interrupts_property): /soc/i2c@...01000/pmic@34:#interrupt-cells:
size is (8), expected multiple of 16
arch/arm64/kernel/vdso32/vgettimeofday.c:10:5: error: conflicting
types for '__vdso_clock_gettime'; have 'int(clockid_t,  struct
old_timespec32 *)' {aka 'int(int,  struct old_timespec32 *)'}
   10 | int __vdso_clock_gettime(clockid_t clock,
      |     ^~~~~~~~~~~~~~~~~~~~
In file included from arch/arm64/kernel/vdso32/vgettimeofday.c:8:
include/vdso/gettime.h:16:5: note: previous declaration of
'__vdso_clock_gettime' with type 'int(clockid_t,  struct
__kernel_timespec *)' {aka 'int(int,  struct __kernel_timespec *)'}
   16 | int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts);
      |     ^~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/vdso32/vgettimeofday.c:28:5: error: conflicting
types for '__vdso_clock_getres'; have 'int(clockid_t,  struct
old_timespec32 *)' {aka 'int(int,  struct old_timespec32 *)'}
   28 | int __vdso_clock_getres(clockid_t clock_id,
      |     ^~~~~~~~~~~~~~~~~~~
include/vdso/gettime.h:15:5: note: previous declaration of
'__vdso_clock_getres' with type 'int(clockid_t,  struct
__kernel_timespec *)' {aka 'int(int,  struct __kernel_timespec *)'}
   15 | int __vdso_clock_getres(clockid_t clock, struct __kernel_timespec *res);
      |     ^~~~~~~~~~~~~~~~~~~
make[3]: *** [arch/arm64/kernel/vdso32/Makefile:149:
arch/arm64/kernel/vdso32/vgettimeofday.o] Error 1



Links:
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231124/testrun/21224014/suite/build/test/gcc-13-lkftconfig/log
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231124/testrun/21224014/suite/build/test/gcc-13-lkftconfig/history/
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231124/testrun/21224014/suite/build/test/gcc-13-lkftconfig/details/



Steps to reproduce:
---
tuxmake --runtime podman --target-arch arm64 --toolchain gcc-13
--kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2YbbDYkIkXuo7IuAzRYY1HQS6Cr/config


--
Linaro LKFT
https://lkft.linaro.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ