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

Dimitry Andric <d...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ema...@freebsd.org
             Status|New                         |In Progress

--- Comment #5 from Dimitry Andric <d...@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.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to