Re: [PATCH] Fix libgfortran build on hppa64-hp-hpux11.11

2015-12-07 Thread Ian Lance Taylor
John David Anglin writes: > 2015-12-05 John David Anglin > > PR 68115/libfortran > * configure.ac: Set libbacktrace_cv_sys_sync to no on hppa*-*-hpux*. > * configure: Regenerate. > * elf.c (backtrace_initialize): Cast __sync_bool_compare_and_swap call > to void.

[PATCH] Fix libgfortran build on hppa64-hp-hpux11.11

2015-12-05 Thread John David Anglin
The use of libbacktrace in libgfortran exposed a libgfortran build issue on hppa64-hp-hpux11.11. This target doesn't have any __sync builtins, so we need to set libbacktrace_cv_sys_sync to no when with_target_subdir is set and configure tests are not done. This exposed a compilation issue in elf