BTW. I see two GCC8 related fixes in elfutils git since the last
release:

commit 268a27211b152d876185ff95255e5025c43b9c13
Author: Mark Wielaard <m...@klomp.org>
Date:   Mon Nov 20 14:11:02 2017 +0100

    libdwfl: Don't dereference possibly unaligned auxv entry pointer from core.
    
    The notes in a core file that contain the auxv entries might not be
    naturally aligned. The code already tried to account for that, but
    the GCC 8 undefined behaviour sanitizer found we were till dereferencing
    the actual auxv entry pointer directly. Fix this by calculating all pointers
    by hand and not use an array of auxv entries trick.
    
    This makes make distcheck (which enables sanitize-undefined by default)
    pass again using GCC8.
    
    Signed-off-by: Mark Wielaard <m...@klomp.org>

commit ab6b37ac32ddf2f2f11f800a770170814f5cbb8b
Author: Mark Wielaard <m...@klomp.org>
Date:   Tue Oct 24 14:23:30 2017 +0200

    backends: Ignore GCC8 -Wpacked-not-aligned for m68k_corenote.c.
    
    The GCC8 -Wpacked-not-aligned warns if a structure field with explicit
    padding in a packed structure will be misaligned. m68k prstatus core
    notes are described by a packed structure which has such aligned structure
    fields.
    
    Signed-off-by: Mark Wielaard <m...@klomp.org>

Reply via email to