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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87fsheojpo.fsf@meer.lwn.net>
Date:   Mon, 29 Aug 2022 14:53:07 -0600
From:   Jonathan Corbet <corbet@....net>
To:     Kees Cook <keescook@...omium.org>, Robert Elliott <elliott@....com>
Cc:     mpe@...erman.id.au, nanya@...ux.vnet.ibm.com, asahiroy@...nel.org,
        michal.lkml@...kovi.net, ndesaulniers@...gle.com,
        linux-hardening@...r.kernel.org, linux-kbuild@...r.kernel.org,
        linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] docs/core-api: expand Fedora instructions for GCC plugins

Kees Cook <keescook@...omium.org> writes:

> On Sat, Aug 27, 2022 at 02:38:36PM -0500, Robert Elliott wrote:
>> In Fedora 36, cross-compiling an allmodconfig configuration
>> for other architectures on x86 fails with this problem:
>> 
>> In file included from ../scripts/gcc-plugins/gcc-common.h:95,
>>                  from ../scripts/gcc-plugins/latent_entropy_plugin.c:78:
>> /usr/lib/gcc/aarch64-linux-gnu/12/plugin/include/builtins.h:23:10: fatal
>> error: mpc.h: No such file or directory
>>    23 | #include <mpc.h>
>>       |          ^~~~~~~
>> compilation terminated.
>> 
>> In that distro, that header file is available in the separate
>> libmpc-devel package.
>> 
>> Although future versions of Fedora might correctly mark
>> that dependency, mention this additional package.
>> 
>> To help detect such problems ahead of time, describe the
>>     gcc -print-file-name=plugin
>> command that is used by scripts/gcc-plugins/Kconfig to detect
>> plugins [1].
>> 
>> [1] https://lore.kernel.org/lkml/CAHk-=wjjiYjCp61gdAMpDOsUBU-A2hFFKJoVx5VAC7yV4K6WYg@xxxxxxxxxxxxxx/
>> 
>> Fixes: 43e96ef8b70c50f ("docs/core-api: Add Fedora instructions for GCC plugins");
>> Signed-off-by: Robert Elliott <elliott@....com>
>
> Thanks!
>
> Reviewed-by: Kees Cook <keescook@...omium.org>
>
> Jon, do you want to take this since it's entirely in the .rst file?

Yes, I'll do that.

Thanks,

jon

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ