Re: gcc-12.0.0-0.4.fc36 in rawhide

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

 



On Fri, Jan 14, 2022 at 10:32 AM Jakub Jelinek <jakub@xxxxxxxxxx> wrote:
>
> Hi!
>
> gcc 12 snapshot has landed as the system compiler into rawhide today.
> GCC 12 is going to enter its stage4 development phase (only regression
> and documentation bugfixes allowed) on Monday 17th, so there should be
> just those bugfixes and not new features etc. anymore.
> https://gcc.gnu.org/gcc-12/changes.html lists important changes,
> most important is probably that vectorization is enabled at -O2 now
> which is the option with most of the distribution is built with.

Hi,

Don't think I've seen this reported, but I get the following warnings
for code that uses memset, memcpy, etc. while compiling an external
kernel module against the current rawhide kernel:

./include/linux/fortify-string.h: In function ‘memset’:
./include/linux/fortify-string.h:201:24: warning: infinite recursion
detected [-Winfinite-recursion]
  201 | __FORTIFY_INLINE void *memset(void *p, int c, __kernel_size_t size)
      |                        ^~~~~~
./include/linux/fortify-string.h:43:33: note: recursive call
   43 | #define __underlying_memset     __builtin_memset
      |                                 ^
./include/linux/fortify-string.h:209:16: note: in expansion of macro
‘__underlying_memset’
  209 |         return __underlying_memset(p, c, size);
      |                ^~~~~~~~~~~~~~~~~~~

The resulting module still works fine btw, afaict.

Marc
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux