https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61759
--- Comment #2 from Douglas Mencken <dougmencken at gmail dot com> --- Also, there's builder.cxx (one of files which compiles after removing -x objective-c++ from line, but not with it): S=/lo-build && I=$S/instdir && W=$S/workdir && mkdir -p $W/CxxObject/vcl/source/window/ $W/Dep/CxxObject/vcl/source/window/ && cd /lo-build && /usr/bin/ccache g++ -mmacosx-version-min=10.5 -DCPPU_ENV=gcc3 -DLIBO_INTERNAL_ONLY -DMACOSX -DMACOSX_SDK_VERSION=1050 -DMAC_OS_X_VERSION_MAX_ALLOWED=1050 -DMAC_OS_X_VERSION_MIN_REQUIRED=1050 -DNDEBUG -DNO_PTHREAD_PRIORITY -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPOWERPC -DPPC -DSUPD=440 -DUNIX -DUNX -D_PTHREADS -D_REENTRANT -DRTL_USING -DVCL_DLLIMPLEMENTATION -DCUI_DLL_NAME=\"libcuilo.dylib\" -DDESKTOP_DETECTOR_DLL_NAME=\"\" -DTK_DLL_NAME=\"libtklo.dylib\" -DVCLPLUG_SVP_DLL_NAME=\"\" -DMACOSX_BUNDLE_IDENTIFIER=\"org.libreoffice.script\" -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden -Wall -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe -fno-threadsafe-statics -fPIC -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-strict-aliasing -fsigned-char -std=gnu++11 -Wno-long-double -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -O2 -x objective-c++ -fobjc-exceptions -c $S/vcl/source/window/builder.cxx -o $W/CxxObject/vcl/source/window/builder.o -MMD -MT $W/CxxObject/vcl/source/window/builder.o -MP -MF $W/Dep/CxxObject/vcl/source/window/builder.d_ -I$S/vcl/source/window/ -I$W/UnpackedTarball/lcms2/include -I$W/UnpackedTarball/icu/source -I$W/UnpackedTarball/icu/source/i18n -I$W/UnpackedTarball/icu/source/common -I$W/UnpackedTarball/boost -I$W/UnpackedTarball/jpeg -I$S/include -isystem /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers -I$S/config_host -I$W/CustomTarget/officecfg/registry -I$W/CustomTarget/vcl/generic/fontmanager -I$S/vcl/inc -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal -I$W/CustomTarget/officecfg/registry -I$W/UnpackedTarball/nss/dist/public/nss -I$W/UnpackedTarball/nss/dist/out/include && mv $W/Dep/CxxObject/vcl/source/window/builder.d_ $W/Dep/CxxObject/vcl/source/window/builder.d ** Error message: vcl/source/window/builder.cxx: In member function 'void VclBuilder::loadTranslations(const LanguageTag&, const rtl::OUString&)': vcl/source/window/builder.cxx:91:6: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.c:2792 void VclBuilder::loadTranslations(const LanguageTag &rLanguageTag, const OUString& rUri) ^ libbacktrace could not find executable to open ** Error message for vcl/osx/a11yselectionwrapper.mm was: ./vcl/osx/a11yselectionwrapper.mm:31:61: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.c:2792 +(id)selectedChildrenAttributeForElement:(AquaA11yWrapper *)wrapper