https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68744
--- Comment #2 from dave.anglin at bell dot net --- > WORKSFORME (x86_64-apple-darwin14) and for others (see x86_64-apple-darwin14). > Is this a regression? If yes, what was your last working revision and did > anything change in your system: new lib, ... ? It is likely a regression as there are no gfortran test failures on this target with 5.2.1: https://gcc.gnu.org/ml/gcc-testresults/2015-12/msg00496.html What has changed is the use of __sync functions in libgfortran: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68115 There is a patch which fixes the build of libbacktrace. However, libbacktrace thread support is now disabled because of the lack of __sync support. Patch is here: https://gcc.gnu.org/ml/gcc-patches/2015-12/msg00658.html Effectively, this makes libbacktrace unusable... -- John David Anglin dave.ang...@bell.net