public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/107530] New: ICE: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2795
@ 2022-11-05  1:56 vital.had at gmail dot com
  2022-11-05  2:04 ` [Bug objc++/107530] " pinskia at gcc dot gnu.org
  2022-11-05  2:12 ` vital.had at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: vital.had at gmail dot com @ 2022-11-05  1:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107530
           Summary: ICE: in objc_eh_runtime_type, at
                    objc/objc-next-runtime-abi-01.cc:2795
           Product: gcc
           Version: 12.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vital.had at gmail dot com
                CC: iains at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc-apple-darwin

Created attachment 53830
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53830&action=edit
Output on 10.6.8

While building jack for ppc32 with gcc12, I got this error:

during GIMPLE pass: eh
In file included from ../macosx/coreaudio/JackCoreAudioDriver.mm:29:
../common/JackLockedEngine.h: In member function 'int
Jack::JackLockedEngine::PortRegister(int, const char*, const char*, unsigned
int, unsigned int, jack_port_id_t*)':
../common/JackLockedEngine.h:196:13: internal compiler error: in
objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2795
  196 |         int PortRegister(int refnum, const char* name, const char
*type, unsigned int flags, unsigned int buffer_size, jack_port_id_t* port)
      |             ^~~~~~~~~~~~

Identical error on 10.6.8 Rosetta (for which I attach .mii file) and 10.6 PPC
(10A190).

Output file produced with:

/opt/local/bin/g++-mp-12 -save-temps -v -pipe -Os -arch ppc -Wall
-Wno-invalid-offsetof -std=gnu++11 -Wno-deprecated-register -fPIC -I. -I..
-Icommon -I../common -Icommon/jack -I../common/jack -Imacosx -I../macosx
-Iposix -I../posix -DAFTEN=1 -DHAVE_DOXYGEN=0 -DHAVE_ALSA=0 -DHAVE_FIREWIRE=0
-DHAVE_IIO=0 -DHAVE_PORTAUDIO=0 -DHAVE_WINMME=0 -DHAVE_CELT=0
-DHAVE_EXAMPLE_TOOLS=0 -DHAVE_OPUS=0 -DHAVE_SAMPLERATE=1 -DHAVE_SNDFILE=1
-DHAVE_READLINE=0 -DHAVE_SYSTEMD=0 -DHAVE_DB=0 -DHAVE_ZALSA=0 -DHAVE_ALLOCA_H=1
-DHAVE_EXECINFO_H=1 -DUSE_CLASSIC_AUTOLAUNCH=1 -DCLIENT_NUM=256
-DPORT_NUM_FOR_CLIENT=2048 -DADDON_DIR="/opt/local/lib/jack"
-DJACK_LOCATION="/opt/local/bin" -DUSE_POSIX_SHM=1 -DJACKMP=1 -DHAVE_CONFIG_H
-DSERVER_SIDE ../macosx/coreaudio/JackCoreAudioDriver.mm -c
-o/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_jack/jack/work/jack2-1.9.21/build/macosx/coreaudio/JackCoreAudioDriver.mm.7.o
-I/opt/local/include

gcc info:

COLLECT_GCC=/opt/local/bin/g++-mp-12
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/powerpc-apple-darwin10/12.2.0/lto-wrapper
Target: powerpc-apple-darwin10
Configured with:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc12/gcc12/work/gcc-12.2.0/configure
--prefix=/opt/local --build=powerpc-apple-darwin10
--enable-languages=c,c++,objc,obj-c++,lto,fortran,jit
--libdir=/opt/local/lib/gcc12 --includedir=/opt/local/include/gcc12
--infodir=/opt/local/share/info --mandir=/opt/local/share/man
--datarootdir=/opt/local/share/gcc-12 --with-local-prefix=/opt/local
--with-system-zlib --disable-nls --program-suffix=-mp-12
--with-gxx-include-dir=/opt/local/include/gcc12/c++/ --with-gmp=/opt/local
--with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local
--with-zstd=/opt/local --enable-checking=release --disable-multilib
--enable-lto --enable-libstdcxx-time --without-build-config
--with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld
--with-ar=/opt/local/bin/ar --with-bugurl=https://trac.macports.org/newticket
--enable-host-shared --with-darwin-extra-rpath=/opt/local/lib/libgcc
--with-libiconv-prefix=/opt/local --disable-tls --with-pkgversion='MacPorts
gcc12 12.2.0_0'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.2.0 (MacPorts gcc12 12.2.0_0)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug objc++/107530] ICE: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2795
  2022-11-05  1:56 [Bug target/107530] New: ICE: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2795 vital.had at gmail dot com
@ 2022-11-05  2:04 ` pinskia at gcc dot gnu.org
  2022-11-05  2:12 ` vital.had at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-05  2:04 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 61759

*** This bug has been marked as a duplicate of bug 61759 ***

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug objc++/107530] ICE: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2795
  2022-11-05  1:56 [Bug target/107530] New: ICE: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2795 vital.had at gmail dot com
  2022-11-05  2:04 ` [Bug objc++/107530] " pinskia at gcc dot gnu.org
@ 2022-11-05  2:12 ` vital.had at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: vital.had at gmail dot com @ 2022-11-05  2:12 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Sergey Fedorov <vital.had at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> Dup of bug 61759
> 
> *** This bug has been marked as a duplicate of bug 61759 ***

I guess then it is worth adding gcc12 to confirmed to fail list there.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-05  2:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-05  1:56 [Bug target/107530] New: ICE: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2795 vital.had at gmail dot com
2022-11-05  2:04 ` [Bug objc++/107530] " pinskia at gcc dot gnu.org
2022-11-05  2:12 ` vital.had at gmail dot com

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).