https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119678

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:f53c5cde64770d6c175737a444450fea81feba80

commit r15-9312-gf53c5cde64770d6c175737a444450fea81feba80
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Tue Apr 8 12:39:16 2025 +0200

    riscv: Fix a typo in config/riscv/freebsd.h [PR119678]

    The r15-1124 commit had a typo in one of the FBSD_LINK_PG_NOTE
    macro uses.

    Fixed thusly, tested with
    ../configure --target riscv64-unknown-freebsd14 --disable-bootstrap
--enable-languages=c --disable-libsanitizer --disable-libgomp
    make -j32
    Before it failed while compiling gcc.cc:
    In file included from ./tm.h:44,
                     from ../../gcc/gcc.cc:35:
    ../../gcc/config/riscv/freebsd.h:45:5: error: expected â,â or â;â
before âFBSD_LINK_PG_NOTESâ
       45 |   " FBSD_LINK_PG_NOTES "                                           
    \
          |     ^~~~~~~~~~~~~~~~~~
    ../../gcc/gcc.cc:1211:32: note: in expansion of macro âLINK_SPECâ
    Now it fails later on during libgcc configury because I don't have
    corresponding binutils.

    2025-04-08  Jakub Jelinek  <ja...@redhat.com>

            PR target/119678
            * config/riscv/freebsd.h (LINK_SPEC): Use FBSD_LINK_PG_NOTE rather
            than non-existing FBSD_LINK_PG_NOTES.

Reply via email to