Skip to content

JackLockedEngine.h: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc #950

@barracuda156

Description

@barracuda156

Build is broken on PowerPC. Tested on 10.5.8 and 10.6, with gcc7 and gcc12.

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)
      |             ^~~~~~~~~~~~
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <https://trac.macports.org/newticket> for instructions.

../macosx/coremidi/JackCoreMidiInputPort.mm: In member function 'void Jack::JackCoreMidiInputPort::ProcessCoreMidi(const MIDIPacketList*)':
../macosx/coremidi/JackCoreMidiInputPort.mm:163:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
  163 |             if (chunkSize + 1 <= sizeof(running_status_buf)) {
      |                 ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../macosx/coremidi/JackCoreMidiInputPort.mm:208:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  208 |         if (k < size) goto parse_event;
      |             ~~^~~~~~
At global scope:
cc1objplus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics

Waf: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_jack/jack/work/jack2-1.9.22/build'
Build failed
 -> task in 'coreaudio' failed with exit status 1: 
	{task 23367152: cxx JackCoreAudioDriver.mm -> JackCoreAudioDriver.mm.7.o}
['/opt/local/bin/g++-mp-12', '-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_TESTS=0', '-DHAVE_OPUS=0', '-DHAVE_SAMPLERATE=1', '-DHAVE_SYSTEMD=0', '-DHAVE_DB=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_PPCSnowLeopardPorts_audio_jack/jack/work/jack2-1.9.22/build/macosx/coreaudio/JackCoreAudioDriver.mm.7.o', '-I/opt/local/include']
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_jack/jack/work/jack2-1.9.22" && /opt/local/bin/python2.7 ./waf build --verbose 
Exit code: 1

https://trac.macports.org/ticket/67794
The bug is not new: https://trac.macports.org/ticket/60420

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions