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>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 24 Jan 2019 16:24:50 +0100
From:   Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To:     Laura Abbott <labbott@...hat.com>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Arnd Bergmann <arnd@...db.de>
Subject: Re: New warnings with gcc9

Hi Laura,

On Wed, Jan 23, 2019 at 4:27 PM Laura Abbott <labbott@...hat.com> wrote:
>
> This looks like we just need to make the attributes match
>
> BUILDSTDERR: lib/crc32.c:209:5: warning: 'crc32_le_base' specifies less restrictive attribute than its target 'crc32_le': 'pure' [-Wmissing-attributes]
> BUILDSTDERR:   209 | u32 crc32_le_base(u32, unsigned char const *, size_t) __alias(crc32_le);
> BUILDSTDERR:       |     ^~~~~~~~~~~~~
> BUILDSTDERR: lib/crc32.c:195:19: note: 'crc32_le_base' target declared here
> BUILDSTDERR:   195 | u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len)
> BUILDSTDERR:       |                   ^~~~~~~~
> BUILDSTDERR: lib/crc32.c:210:5: warning: '__crc32c_le_base' specifies less restrictive attribute than its target '__crc32c_le': 'pure' [-Wmissing-attributes]
> BUILDSTDERR:   210 | u32 __crc32c_le_base(u32, unsigned char const *, size_t) __alias(__crc32c_le);
> BUILDSTDERR:       |     ^~~~~~~~~~~~~~~~
> BUILDSTDERR: lib/crc32.c:200:19: note: '__crc32c_le_base' target declared here
> BUILDSTDERR:   200 | u32 __pure __weak __crc32c_le(u32 crc, unsigned char const *p, size_t len)
> BUILDSTDERR:       |

I am sending a patch for these as well, since they are also coming
from -Wmissing-attributes like the others.

Cheers,
Miguel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ