[BUGFIX] Update the configure file for BOLT.

This commit is contained in:
zhenyu--zhao_admin 2024-04-27 20:01:27 +08:00
parent 1c11226629
commit 7dd679d56c
2 changed files with 30113 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
%global gcc_major 12 %global gcc_major 12
# Note, gcc_release must be integer, if you want to add suffixes to # Note, gcc_release must be integer, if you want to add suffixes to
# %%{release}, append them after %%{gcc_release} on Release: line. # %%{release}, append them after %%{gcc_release} on Release: line.
%global gcc_release 26 %global gcc_release 27
%global _unpackaged_files_terminate_build 0 %global _unpackaged_files_terminate_build 0
%global _performance_build 1 %global _performance_build 1
@ -197,6 +197,7 @@ Patch56: 0056-Fix-bug-that-verifying-gimple-failed-when-reorg-leve.patch
Patch57: 0057-AutoFdo-Fix-memory-leaks-in-autofdo.patch Patch57: 0057-AutoFdo-Fix-memory-leaks-in-autofdo.patch
Patch86: 0086-Modfify-cost-calculation-for-dealing-with-equivalenc.patch Patch86: 0086-Modfify-cost-calculation-for-dealing-with-equivalenc.patch
Patch87: 0087-Add-cost-calculation-for-reg-equivalence-invariants.patch Patch87: 0087-Add-cost-calculation-for-reg-equivalence-invariants.patch
Patch88: 0088-BUGFIX-Fix-the-configure-file-of-BOLT.patch
# Part 3000 ~ 4999 # Part 3000 ~ 4999
%ifarch loongarch64 %ifarch loongarch64
@ -855,6 +856,7 @@ not stable, so plugins must be rebuilt any time GCC is updated.
%patch57 -p1 %patch57 -p1
%patch86 -p1 %patch86 -p1
%patch87 -p1 %patch87 -p1
%patch88 -p1
%ifarch loongarch64 %ifarch loongarch64
%patch3001 -p1 %patch3001 -p1
@ -1074,6 +1076,7 @@ CONFIGURE_OPTS="\
%endif %endif
%ifarch aarch64 %ifarch aarch64
--with-multilib-list=lp64 \ --with-multilib-list=lp64 \
--enable-bolt
%endif %endif
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
--enable-cet \ --enable-cet \
@ -2261,6 +2264,9 @@ end
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/lto-wrapper %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/lto-wrapper
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/liblto_plugin.so* %{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/liblto_plugin.so*
%{_libdir}/bfd-plugins/liblto_plugin.so %{_libdir}/bfd-plugins/liblto_plugin.so
%ifarch aarch64
%{_prefix}/libexec/gcc/%{gcc_target_platform}/%{gcc_major}/libbolt_plugin.so*
%endif
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/rpmver %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/rpmver
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/stddef.h %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/stddef.h
%{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/stdarg.h %{_prefix}/lib/gcc/%{gcc_target_platform}/%{gcc_major}/include/stdarg.h
@ -3246,6 +3252,10 @@ end
%doc rpm.doc/changelogs/libcc1/ChangeLog* %doc rpm.doc/changelogs/libcc1/ChangeLog*
%changelog %changelog
* Fri Apr 26 2024 Zhenyu Zhao <zhaozhenyu17@huawei.com> - 12.3.1-27
- Type: BUGFIX
- DESC: Update the configure file for BOLT.
* Fri Apr 26 2024 Zheng Chenhui <zhengchenhui1@huawei.com> - 12.3.1-26 * Fri Apr 26 2024 Zheng Chenhui <zhengchenhui1@huawei.com> - 12.3.1-26
- Type: Revert - Type: Revert
- DESC: Revert Intel patches. - DESC: Revert Intel patches.