Re: [Bug Report] Git fails to compile with fortify-headers and LTO - error: inlining failed in call to 'always_inline' 'fwrite': function body can be overwritten at link time

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

 



I've reported to the folks over at fortify-headers already and they
came to the same conclusion (minus GCC), it's an odd one that's for
sure.

Immolo

On Wed, 19 Jul 2023 at 00:13, Junio C Hamano <gitster@xxxxxxxxx> wrote:
>
> Immolo <immoloism@xxxxxxxxxxxxxx> writes:
>
> > /usr/include/fortify/stdio.h: In function 'verify_cache':
> > /usr/include/fortify/stdio.h:59:28: error: inlining failed in call to
> > 'always_inline' 'fwrite': function body can be overwritten at link
> > time
> >    59 | _FORTIFY_FN(fwrite) size_t fwrite(const void *__d, size_t __n,
> > size_t __m, FILE *__f)
> >       |                            ^
> > cache-tree.c:175:33: note: called from here
> >   175 |                                 fprintf(stderr, "...\n");
> >       |                                 ^
>
> It looks like a plain vanilla invocation of fprintf(), unlike from
> any random application, a user of the standard C runtime library .
> Is this a bug to be reported here, or would it be more valuable and
> useful if reported to GCC or Fortify folks, I wonder?
>



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux