The hppa*-*-hpux* doesn't support undefined weak. The existing check doesn't work on the 64-bit runtime.
Likewise, we don't have ascii locale. Committed to trunk. Dave -- John David Anglin dave.ang...@bell.net 2019-03-09 John David Anglin <dave.ang...@bell.net> * lib/target-supports.exp (check_effective_target_weak_undefined): Return 0 on hppa*-*-hpux*. (check_ascii_locale_available): Likewise. Index: lib/target-supports.exp =================================================================== --- lib/target-supports.exp (revision 269442) +++ lib/target-supports.exp (working copy) @@ -341,6 +341,9 @@ # return 1 if weak undefined symbols are supported. proc check_effective_target_weak_undefined { } { + if { [istarget hppa*-*-hpux*] } { + return 0 + } return [check_runtime weak_undefined { extern void foo () __attribute__((weak)); int main (void) { if (foo) return 1; return 0; } @@ -1427,6 +1430,9 @@ # Return 1 if an ASCII locale is supported on this host, 0 otherwise. proc check_ascii_locale_available { } { + if { [istarget hppa*-*-hpux*] } { + return 0 + } return 1 }