Hi, TM_MULTILIB_CONFIG is not set in config.gcc when building with multilib for arm targets, leading to config/arm/t-multilib not including any of the files (t-aprofile and t-rmprofile) definining the architecture and FPU to build multilib for. This patch fixes that by setting TM_MULTILIB_CONFIG to with_multilib_list's value after it has been checked. It also fix a trailing whitespace issue.
ChangeLog entry is as follows: *** gcc/ChangeLog ** 2017-05-08 Thomas Preud'homme <thomas.preudho...@arm.com> * config.gcc (arm*-*-*): Set TM_MULTILIB_CONFIG from with_multilib_list after it has been checked. Committing as obvious. Best regards, Thomas
diff --git a/gcc/config.gcc b/gcc/config.gcc index fd7caebf0d155df0b25cc6a8374af57555707fc3..e8aaf2df9d709bf9d95f0a249c79f5813519d51f 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -3803,7 +3803,7 @@ case "${target}" in ;; esac done - fi + fi if test "x${tmake_profile_file}" != x ; then # arm/t-aprofile and arm/t-rmprofile are only @@ -3820,6 +3820,7 @@ case "${target}" in fi tmake_file="${tmake_file} ${tmake_profile_file}" + TM_MULTILIB_CONFIG="$with_multilib_list" fi fi ;;