[Bug 230399] devel/libunwind: fails to build with Clang 7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 9 19:54:13 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230399

--- Comment #6 from Dimitry Andric <dim at FreeBSD.org> ---
This is how libunwind.s built with clang 6.0.1 ends:

        .ident  "FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540)
(based on LLVM 6.0.1)"
        .section        ".note.GNU-stack","", at progbits
        .section        .debug_line,"", at progbits
.Lline_table_start0:

Compare to this with clang 7.0.0:

        .ident  "FreeBSD clang version 7.0.0 (branches/release_70 338892)
(based on LLVM 7.0.0svn)"
        .section        ".note.GNU-stack","", at progbits
        .addrsig
        .addrsig_sym __gxx_personality_v0
        .addrsig_sym
_ZZN9libunwind17LocalAddressSpace18findUnwindSectionsEmRNS_18UnwindInfoSectionsEENUlP12dl_phdr_infomPvE_8__invokeES4_mS5_
        .addrsig_sym _ZN9libunwind17LocalAddressSpace17sThisAddressSpaceE
        .addrsig_sym
_ZN9libunwind13DwarfFDECacheINS_17LocalAddressSpaceEE5_lockE
        .addrsig_sym
_ZN9libunwind13DwarfFDECacheINS_17LocalAddressSpaceEE14_initialBufferE
        .section        .debug_line,"", at progbits
.Lline_table_start0:

For some reason, it adds these .addrsig_sym directives, but no idea what
they're for.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list