mirror of
				https://git.proxmox.com/git/llvm-toolchain
				synced 2025-10-31 02:23:42 +00:00 
			
		
		
		
	Enable binfmts support profile before using it, this fixes the autopkgtestsuite
This commit is contained in:
		
							parent
							
								
									4231fb08b7
								
							
						
					
					
						commit
						bcaea5c994
					
				
							
								
								
									
										3
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							| @ -1,8 +1,9 @@ | ||||
| llvm-toolchain-11 (1:11.0.0~+rc2-2) UNRELEASED; urgency=medium | ||||
| llvm-toolchain-11 (1:11.0.0~+rc2-2) unstable; urgency=medium | ||||
| 
 | ||||
|   [ Gianfranco Costamagna ] | ||||
|   * Disable ocaml support on i386, not reasonable to support it there | ||||
|     (specially for Ubuntu) | ||||
|   * Enable binfmt support before using it in tests, to fix them | ||||
| 
 | ||||
|   [ Sylvestre Ledru ] | ||||
|   * Also link against -latomic on mipsel to fix | ||||
|  | ||||
							
								
								
									
										1
									
								
								debian/qualify-clang.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								debian/qualify-clang.sh
									
									
									
									
										vendored
									
									
								
							| @ -295,6 +295,7 @@ clang-$VERSION -O3 -emit-llvm foo.c -c -o foo.bc | ||||
| chmod +x foo.bc | ||||
| # only run if the binfmt is installed correctly | ||||
| if /usr/sbin/update-binfmts --display llvm-$VERSION-runtime.binfmt &> /dev/null; then | ||||
|     /usr/sbin/update-binfmts --enable llvm-$VERSION-runtime.binfmt | ||||
|     if ! ./foo.bc|grep -q "lli foo"; then | ||||
|         echo "executing ./foo.bc failed" | ||||
|         ./foo.bc | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Gianfranco Costamagna
						Gianfranco Costamagna