This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix GCC_LINUX_FUTEX to work with C99 compilers
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Jeff Law <law at redhat dot com>, libstdc++ at gcc dot gnu dot org
- Date: Fri, 6 Sep 2019 12:18:24 +0200
- Subject: Re: Fix GCC_LINUX_FUTEX to work with C99 compilers
- References: <875zm5hkf1.fsf@oldenburg2.str.redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Sep 06, 2019 at 10:57:06AM +0200, Florian Weimer wrote:
> Without this change, libstdc++ is built without futex symbols if GCC
> rejects implicit function declarations in default mode.
>
> Thanks,
> Florian
>
> config/ChangeLog:
>
> 2019-09-06 Florian Weimer <fweimer@redhat.com>
>
> * futex.m4 (GCC_LINUX_FUTEX): Include <unistd.h> for the syscall
> function.
>
> libgomp/ChangeLog, libitm/ChangeLog, libstdc++-v3/ChangeLog:
>
> 2019-09-06 Florian Weimer <fweimer@redhat.com>
>
> * configure: Regenerate.
Ok, thanks.
Jakub