Strip .gnu.build-attrib* sections from some binaries too
Resolves: RHEL-29882
This commit is contained in:
		
							parent
							
								
									020fcde1b6
								
							
						
					
					
						commit
						198bf7cc40
					
				| @ -80,7 +80,7 @@ | ||||
| 
 | ||||
| Name:		%pkg_name | ||||
| Version:	%{clang_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}} | ||||
| Release:	6%{?dist} | ||||
| Release:	7%{?dist} | ||||
| Summary:	A C language family front-end for LLVM | ||||
| 
 | ||||
| License:	NCSA | ||||
| @ -449,8 +449,8 @@ CFLAGS="$CFLAGS -Wno-address -Wno-nonnull -Wno-maybe-uninitialized" | ||||
| # Strip .gnu.build.attrib sections, because find-debuginfo.sh is failing to strip debug info, | ||||
| # because there are too many of them. | ||||
| # https://issues.redhat.com/browse/RHEL-43211 | ||||
| for f in libclang-cpp.so.%{maj_ver}.%{min_ver} libclang.so.%{maj_ver}.%{min_ver}.%{patch_ver}; do | ||||
|   objcopy  -R '.gnu.build.attrib*' aarch64-redhat-linux-gnu/lib64/$f | ||||
| for f in lib64/libclang-cpp.so.%{maj_ver}.%{min_ver} lib64/libclang.so.%{maj_ver}.%{min_ver}.%{patch_ver} bin/c-index-test bin/clang-tidy bin/clangd; do | ||||
|   objcopy  -R '.gnu.build.attrib*' aarch64-redhat-linux-gnu/$f | ||||
| done | ||||
| %endif | ||||
| 
 | ||||
| @ -742,6 +742,9 @@ SOURCE_DATE_EPOCH=1629181597 LD_LIBRARY_PATH=%{buildroot}/%{install_libdir} %{__ | ||||
| 
 | ||||
| %endif | ||||
| %changelog | ||||
| * Thu Jun 27 2024 Tom Stellard <tstellar@redhat.com> - 18.1.2-7 | ||||
| - Strip .gnu.build-attrib* sections from some binaries too | ||||
| 
 | ||||
| * Sat Jun 22 2024 Tom Stellard <tstellar@redhat.com> - 18.1.2-6 | ||||
| - Strip .gnu.build-attrib* sections out of libraries | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user