https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556
--- Comment #35 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > When I tried the workaround, I got > > /var/gcc/regression/trunk/10.7-gcc/build/./gcc/xgcc > -B/var/gcc/regression/trunk/10.7-gcc/build/./gcc/ > -B/vol/gcc/x86_64-apple-darwin11.4.2/bin/ > -B/vol/gcc/x86_64-apple-darwin11.4.2/lib/ -isystem > /vol/gcc/x86_64-apple-darwin11.4.2/include -isystem > /vol/gcc/x86_64-apple-darwin11.4.2/sys-include -c -g -O2 -fno-common -W > -Wall -gnatpg -nostdinc g-exptty.adb -o g-exptty.o > dyld: Symbol not found: __ZdaPvm > Referenced from: /var/gcc/regression/trunk/10.7-gcc/build/./gcc/gnat1 > Expected in: /usr/lib/libstdc++.6.dylib > in /var/gcc/regression/trunk/10.7-gcc/build/./gcc/gnat1 > xgcc: internal compiler error: Trace/BPT trap: 5 (program gnat1) The workaround is to filter out -static-libgcc in configure.ac on Darwin but to leave -static-libstdc++, so why is it still looking for the shared libstdc++?