mirror of
				https://git.proxmox.com/git/llvm-toolchain
				synced 2025-11-04 00:59:56 +00:00 
			
		
		
		
	Add the following option to the libc++ build: -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF to address upstream bug 46321
This commit is contained in:
		
							parent
							
								
									d7240e1a38
								
							
						
					
					
						commit
						8358f9498b
					
				
							
								
								
									
										8
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							@ -1,5 +1,11 @@
 | 
			
		||||
llvm-toolchain-12 (1:12.0.1-2) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
  * Add the following option to the libc++ build:
 | 
			
		||||
    -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON
 | 
			
		||||
    -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON
 | 
			
		||||
    -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF
 | 
			
		||||
     to address upstream bug 46321
 | 
			
		||||
 | 
			
		||||
  [ Kasper Kantz ]
 | 
			
		||||
  * Add riscv64 architecture in control
 | 
			
		||||
    enable liblldb, libomp and others which are
 | 
			
		||||
@ -13,7 +19,7 @@ llvm-toolchain-12 (1:12.0.1-2) unstable; urgency=medium
 | 
			
		||||
  [ Jordan Justen ]
 | 
			
		||||
  * d/rules: Adjust cmake defines to fix libclc.pc paths
 | 
			
		||||
 | 
			
		||||
 -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 12 Jul 2021 08:19:59 +0200
 | 
			
		||||
 -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 27 Jul 2021 00:01:29 +0200
 | 
			
		||||
 | 
			
		||||
llvm-toolchain-12 (1:12.0.1-1) unstable; urgency=medium
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										14
									
								
								debian/qualify-clang.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								debian/qualify-clang.sh
									
									
									
									
										vendored
									
									
								
							@ -939,6 +939,20 @@ clang++-$VERSION -std=c++11 -stdlib=libc++ foo.cpp -o o
 | 
			
		||||
clang++-$VERSION -std=c++14 -stdlib=libc++ foo.cpp -lc++experimental -o o
 | 
			
		||||
./o > /dev/null
 | 
			
		||||
 | 
			
		||||
# Bug 46321
 | 
			
		||||
cat > test.cpp << EOF
 | 
			
		||||
#include <iostream>
 | 
			
		||||
int main() {
 | 
			
		||||
  std::cout << "Hello World!" << std::endl;
 | 
			
		||||
}
 | 
			
		||||
EOF
 | 
			
		||||
clang++-$VERSION -stdlib=libc++ -unwindlib=libunwind -rtlib=compiler-rt -static-libstdc++ -static-libgcc test.cpp &> /dev/null || true
 | 
			
		||||
 | 
			
		||||
clang++-$VERSION -stdlib=libc++ -static-libstdc++ -fuse-ld=lld -l:libc++abi.a test.cpp -o test
 | 
			
		||||
./test
 | 
			
		||||
 | 
			
		||||
clang++-$VERSION -stdlib=libc++ -nostdlib++ test.cpp -l:libc++.a -l:libc++abi.a -pthread -o test
 | 
			
		||||
 | 
			
		||||
# Bug 889832
 | 
			
		||||
echo '#include <iostream>
 | 
			
		||||
int main() {}'  | clang++-$VERSION -std=c++1z  -x c++ -stdlib=libc++ -
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								debian/rules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								debian/rules
									
									
									
									
										vendored
									
									
								
							@ -473,6 +473,9 @@ LIBCXX_CMAKE_OPTIONS := \
 | 
			
		||||
	-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
 | 
			
		||||
	-DLIBCXX_USE_COMPILER_RT=YES \
 | 
			
		||||
	-DLIBCXXABI_USE_COMPILER_RT=YES \
 | 
			
		||||
	-DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON \
 | 
			
		||||
	-DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON \
 | 
			
		||||
	-DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF \
 | 
			
		||||
	$(CMAKE_EXTRA) \
 | 
			
		||||
	$(CMAKE_EXTRA_LIBCXX)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user