From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C41693858437; Sat, 5 Nov 2022 01:56:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C41693858437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667613408; bh=5i5ZWJDX/S3qcP+g+92VLpxjBz6c504N45BawKO84p4=; h=From:To:Subject:Date:From; b=rvP4nI3evun5FhjfBp0z+hxbPY+rNRbc40WBU3LMvWMqsxJA1dmotvte+WAM/xPCc hG352ZV0eRQPBi6A291aq2r9mw6/wxELY8Q3Ea5NbeALd1ttZaWNmUZovQ69b5jI8G RDbMwZdOOLCiHWBH5U7lpYupHlBFU9f5FToweFOg= From: "vital.had at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107530] New: ICE: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2795 Date: Sat, 05 Nov 2022 01:56:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vital.had at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107530 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=3D53830&action=3Dedit 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 P= PC (10A190). Output file produced with: /opt/local/bin/g++-mp-12 -save-temps -v -pipe -Os -arch ppc -Wall -Wno-invalid-offsetof -std=3Dgnu++11 -Wno-deprecated-register -fPIC -I. -I.. -Icommon -I../common -Icommon/jack -I../common/jack -Imacosx -I../macosx -Iposix -I../posix -DAFTEN=3D1 -DHAVE_DOXYGEN=3D0 -DHAVE_ALSA=3D0 -DHAVE_FI= REWIRE=3D0 -DHAVE_IIO=3D0 -DHAVE_PORTAUDIO=3D0 -DHAVE_WINMME=3D0 -DHAVE_CELT=3D0 -DHAVE_EXAMPLE_TOOLS=3D0 -DHAVE_OPUS=3D0 -DHAVE_SAMPLERATE=3D1 -DHAVE_SNDFI= LE=3D1 -DHAVE_READLINE=3D0 -DHAVE_SYSTEMD=3D0 -DHAVE_DB=3D0 -DHAVE_ZALSA=3D0 -DHAV= E_ALLOCA_H=3D1 -DHAVE_EXECINFO_H=3D1 -DUSE_CLASSIC_AUTOLAUNCH=3D1 -DCLIENT_NUM=3D256 -DPORT_NUM_FOR_CLIENT=3D2048 -DADDON_DIR=3D"/opt/local/lib/jack" -DJACK_LOCATION=3D"/opt/local/bin" -DUSE_POSIX_SHM=3D1 -DJACKMP=3D1 -DHAVE_= CONFIG_H -DSERVER_SIDE ../macosx/coreaudio/JackCoreAudioDriver.mm -c -o/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macpo= rts.org_macports_release_tarballs_ports_audio_jack/jack/work/jack2-1.9.21/b= uild/macosx/coreaudio/JackCoreAudioDriver.mm.7.o -I/opt/local/include gcc info: COLLECT_GCC=3D/opt/local/bin/g++-mp-12 COLLECT_LTO_WRAPPER=3D/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/wor= k/gcc-12.2.0/configure --prefix=3D/opt/local --build=3Dpowerpc-apple-darwin10 --enable-languages=3Dc,c++,objc,obj-c++,lto,fortran,jit --libdir=3D/opt/local/lib/gcc12 --includedir=3D/opt/local/include/gcc12 --infodir=3D/opt/local/share/info --mandir=3D/opt/local/share/man --datarootdir=3D/opt/local/share/gcc-12 --with-local-prefix=3D/opt/local --with-system-zlib --disable-nls --program-suffix=3D-mp-12 --with-gxx-include-dir=3D/opt/local/include/gcc12/c++/ --with-gmp=3D/opt/lo= cal --with-mpfr=3D/opt/local --with-mpc=3D/opt/local --with-isl=3D/opt/local --with-zstd=3D/opt/local --enable-checking=3Drelease --disable-multilib --enable-lto --enable-libstdcxx-time --without-build-config --with-as=3D/opt/local/bin/as --with-ld=3D/opt/local/bin/ld --with-ar=3D/opt/local/bin/ar --with-bugurl=3Dhttps://trac.macports.org/new= ticket --enable-host-shared --with-darwin-extra-rpath=3D/opt/local/lib/libgcc --with-libiconv-prefix=3D/opt/local --disable-tls --with-pkgversion=3D'MacP= orts 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)=