https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66848
--- Comment #25 from Jack Howarth <howarth.at.gcc at gmail dot com> --- (In reply to r...@cebitec.uni-bielefeld.de from comment #24) > > --- Comment #23 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > >> Yes. If you apply the ugly hack from comment 11, you will find that it > >> fixes > >> both the boehm-gc test suite regressions as well as those in the libjava > >> test > >> suite (which are due to the breakage in boehm-gc used by libjava). > > > > Yes it does. This should probably also be done for the 5 branch (I see the > > same > > failures). > > For me (on Mac OS X 10.11.1), the hack fixes the boehm-gc failures, but > the libjava ones remain. > > Rainer Did you remember to install the patched build before attempting to run the libjava test suite? System Integrity Protection on 10.11 will make any usage of DYLD_LIBRARY_PATH by the test suite non-functional so any previously installed libraries will be used instead of those in the current build directory. Native configuration is x86_64-apple-darwin15.3.0 === libjava tests === Running target unix/-m32 FAIL: PR16923.c compilation === libjava Summary for unix/-m32 === # of expected passes 2580 # of unexpected failures 1 # of expected failures 4 Running target unix/-m64 FAIL: Throw_2 execution - source compiled test FAIL: Throw_2 -findirect-dispatch execution - source compiled test FAIL: Throw_2 -O3 execution - source compiled test FAIL: Throw_2 -O3 -findirect-dispatch execution - source compiled test === libjava Summary for unix/-m64 === # of expected passes 2574 # of unexpected failures 4 # of expected failures 4 # of untested testcases 4 === libjava Summary === # of expected passes 5154 # of unexpected failures 5 # of expected failures 8 # of untested testcases 4 Compiler version: gcc libjava Platform: x86_64-apple-darwin15.3.0 configure flags: --prefix=/sw --prefix=/sw/lib/gcc6 --mandir=/sw/share/man --infodir=/sw/lib/gcc6/info --enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-isl=/sw --with-mpc=/sw --with-system-zlib --program-suffix=-fsf-6 --with-build-config=bootstrap-debug