bug-binutils
[Top][All Lists]
Advanced

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

[Bug gprofng/32374] gprofng: fails to build with GCC trunk (defaults to


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gprofng/32374] gprofng: fails to build with GCC trunk (defaults to -std=gnu23)
Date: Mon, 18 Nov 2024 05:13:54 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32374

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Sam James <sjames@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a2f774427e078f3da2c06bdea25f77a61979a695

commit a2f774427e078f3da2c06bdea25f77a61979a695
Author: Sam James <sam@gentoo.org>
Date:   Sat Nov 16 05:13:48 2024 +0000

    gprofng: fix -std=gnu23 compatibility wrt unprototyped functions

    C23 removes support for unprototyped functions. Fix function pointer types
    accordingly.

    This does not fix all instances, there's a few left as I commented on in
    PR32374 (e.g. setitimer which I have a local workaround for but it involves
    a glibc implementation detail; the Linaro precommit CI tester pointed that
    out too, so dropped that).

    ChangeLog:
            PR gprofng/32374

            * libcollector/collector.c (collector_sample): Fix prototype.
            * libcollector/envmgmt.c (putenv): Ditto.
            (_putenv): Ditto.
            (__collector_putenv): Ditto.
            (setenv): Ditto.
            (_setenv): Ditto.
            (__collector_setenv): Ditto.
            (unsetenv): Ditto.
            (_unsetenv): Ditto.
            (__collector_unsetenv): Ditto.
            * libcollector/jprofile.c (open_experiment): Ditto.
            (__collector_jprofile_enable_synctrace): Ditto.
            (jprof_find_asyncgetcalltrace): Ditto.
            * libcollector/libcol_util.c (__collector_util_init): Ditto.
            (ARCH): Ditto.
            * libcollector/mmaptrace.c (collector_func_load): Ditto.
            (collector_func_unload): Ditto.
            * libcollector/unwind.c (__collector_ext_unwind_init): Ditto.
            * src/collector_module.h: Ditto.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]