https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71757
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Timo Teräs from comment #3) > (In reply to Timo Teräs from comment #2) > > (In reply to Andrew Pinski from comment #1) > > > What target is this on? I get all passes in the java testsuite with GCC > > > 6.1 > > > on aarch-linux-gnu. > > > > Happens on x86_64-alpine-linux-musl for me. PIE enabled by default. > > Also it happens only during bootstrap. If you have --disable-bootstrap it > won't probably happen. It's related to the fact xgcc is used as CXX during > bootstrap. Actually xgcc/xg++ will be used to compile the target libraries even with --disable-bootstrap. And you are the first one to report this issue.