[Bug debugedit/32648] debugedit fails to build with '-Og' option and gcc 14

mark at klomp dot org sourceware-bugzilla@sourceware.org
Wed Feb 19 10:19:29 GMT 2025


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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #8 from Mark Wielaard <mark at klomp dot org> ---
commit 820498e881401a6f4b1715dc6831da965f6e1d69
Author: Chen Qi <Qi.Chen@windriver.com>
Date:   Tue Feb 18 18:50:46 2025 -0800

    Add option to allow disabling inlined xxhash

    xxhash cannot always inline. For example, when using gcc14 and
    '-Og' option, xxhash cannot inline. See links below:
   
https://github.com/Cyan4973/xxHash/commit/574aabad87b2ab9440403e92e1075ef48554eb87
    https://github.com/Cyan4973/xxHash/issues/943#issuecomment-2563205130

    To allow users successfully build debugedit with gcc14 and "-Og" option,
    add an option to allow disabling inlined xxhash.

    This patch refers to a similar patch for libabigail:
   
https://sourceware.org/cgit/libabigail/commit/?id=50497911e2590c21270e0763d277457cf7752c3f

    Note that the default remains using inlined xxhash.

    Signed-off-by: Chen Qi <Qi.Chen@windriver.com>

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


More information about the Debugedit mailing list