public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dougmencken at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug objc++/61759] New: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.c:2792
Date: Wed, 09 Jul 2014 12:49:00 -0000	[thread overview]
Message-ID: <bug-61759-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61759

            Bug ID: 61759
           Summary: internal compiler error: in objc_eh_runtime_type, at
                    objc/objc-next-runtime-abi-01.c:2792
           Product: gcc
           Version: 4.8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: objc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dougmencken at gmail dot com

I cannot compile some LibreOffice .mm files using gcc-4.8.3 on OS X 10.5. Many
of them fails with ICE when -O2 is used, but with -O(1) they compiles.

I cannot also compile .cxx files when -x objective-c++ is used on gcc line.

All of them ICE at the same spot: "in objc_eh_runtime_type, at
objc/objc-next-runtime-abi-01.c:2792"

This one (vcl/osx/a11yselectionwrapper.mm) ICEs even with -O:

S=/lo-build && I=$S/instdir && W=$S/workdir &&  mkdir -p
$W/ObjCxxObject/vcl/osx/ $W/Dep/ObjCxxObject/vcl/osx/ && cd /lo-build &&  
/usr/bin/ccache g++ -save-temps -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  -O   -c
$S/vcl/osx/a11yselectionwrapper.mm -o
$W/ObjCxxObject/vcl/osx/a11yselectionwrapper.o -MMD -MT
$W/ObjCxxObject/vcl/osx/a11yselectionwrapper.o -MP -MF
$W/Dep/ObjCxxObject/vcl/osx/a11yselectionwrapper.d_ -I$S/vcl/osx/
-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/ObjCxxObject/vcl/osx/a11yselectionwrapper.d_
$W/Dep/ObjCxxObject/vcl/osx/a11yselectionwrapper.d

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-unknown-darwin/4.8.3/lto-wrapper
Target: powerpc-unknown-darwin
Configured with: ../gcc-4.8.3/configure --build=powerpc-unknown-darwin
--host=powerpc-unknown-darwin --target=powerpc-unknown-darwin --prefix=/usr
--sysconfdir=/etc --mandir=/usr/share/man --with-slibdir=/usr/lib
--program-prefix= --enable-languages=c,c++,objc,obj-c++
--enable-checking=release --enable-stage1-checking --enable-shared
--enable-static --enable-threads=posix --with-__thread --with-system-zlib
--disable-werror
Thread model: posix
gcc version 4.8.3 (GCC)


             reply	other threads:[~2014-07-09 12:49 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 12:49 dougmencken at gmail dot com [this message]
2014-07-09 12:51 ` [Bug objc++/61759] " dougmencken at gmail dot com
2014-07-09 13:15 ` dougmencken at gmail dot com
2014-07-09 13:17 ` dougmencken at gmail dot com
2014-10-06 13:47 ` dougmencken at gmail dot com
2014-10-07 17:45 ` [Bug objc++/61759] [ICE] [objc] reaching gcc_unreachable in objc_eh_runtime_type at objc/objc-next-runtime-abi-01.c dougmencken at gmail dot com
2015-10-02  1:06 ` dougmencken at gmail dot com
2022-11-05  2:04 ` [Bug objc++/61759] [ICE] [objc++] " pinskia at gcc dot gnu.org
2022-11-05  2:14 ` vital.had at gmail dot com
2023-07-30 10:07 ` vital.had at gmail dot com
2023-07-30 10:11 ` vital.had at gmail dot com
2023-07-30 11:26 ` iains at gcc dot gnu.org
2023-07-30 12:11 ` vital.had at gmail dot com
2024-03-18 13:02 ` vital.had at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-61759-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).