[Bug 230399] devel/libunwind: fails to build with Clang 7
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Aug 9 19:47:36 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230399
Dimitry Andric <dim at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |emaste at freebsd.org
Status|New |In Progress
--- Comment #5 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Jan Beich from comment #2)
> Probably affects a number of LLD_UNSAFE ports:
>
> $ echo 'int main() {}' >a.c
> $ cc a.c -lexecinfo
> $ cc a.c -fuse-ld=bfd -lexecinfo
> /usr/lib/libgcc_s.so: undefined reference to `__gxx_personality_v0'
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
It's weird, the __gxx_personality_v0 symbol is referenced from libunwind.pico,
built during the libgcc_s build.
libunwind.pico is built from contrib/llvm/projects/libunwind/src/libunwind.cpp,
which indeed is a C++ source file, so somehow this C++ specific symbol gets in,
but it did not in the previous version of clang.
Investigating...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list