nixpkgs/pkgs/development/compilers/llvm/11
Alyssa Ross ee036ed5a4 llvmPackages: don't exclude FreeBSD from -lunwind
The exception for FreeBSD was added in 0afe9d1f70 ("freebsd packages:
Init at 13.1"), but it seems to have been erroneous, as e.g. ncurses
fails to build:

	x86_64-unknown-freebsd13-clang++  -o demo ../obj_s/demo.o -L../lib -lncurses++w -L../lib -lformw -lmenuw -lpanelw -lncursesw   -lutil     -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I../include  -DNDEBUG -O2  -fPIC -DPIC
	x86_64-unknown-freebsd13-ld: error: undefined symbol: _Unwind_Resume
	>>> referenced by demo.cc
	>>>               ../obj_s/demo.o:(TestApplication::run())
	>>> referenced by demo.cc
	>>>               ../obj_s/demo.o:(_GLOBAL__sub_I_demo.cc)
	>>> referenced by demo.cc
	>>>               ../obj_s/demo.o:(NCursesUserItem<UserData>::NCursesUserItem(char const*, char const*, UserData const*))
	>>> referenced 46 more times
	clang-12: error: linker command failed with exit code 1 (use -v to see invocation)

This is fixed by undoing the change, adding -lunwind on FreeBSD.
2023-01-24 21:18:39 +00:00
..
bintools bintools: add isGNU and isLLVM attributes 2023-01-20 18:35:25 +01:00
clang Merge remote-tracking branch 'origin/master' into staging-next 2022-12-04 22:06:42 +01:00
compiler-rt Merge pull request #82131 from Ericson2314/bsd-cross 2022-11-13 21:35:17 -05:00
libcxx llvm: Find otool bin from targetPrefix 2022-11-22 21:37:47 +00:00
libcxxabi llvm: Find otool bin from targetPrefix 2022-11-22 21:37:47 +00:00
libunwind
lld
lldb
llvm llvm: disable libpfm on all non-Linux platforms 2022-12-09 19:08:16 +00:00
openmp openmp: fix cross compile 2022-10-24 23:47:27 -07:00
default.nix llvmPackages: don't exclude FreeBSD from -lunwind 2023-01-24 21:18:39 +00:00