Open barracuda156 opened 1 year ago
an internal compiler error is not an issue in jack2 but in the compiler. not much we can do to fix this
@falkTX Thank you for responding. Yes, I understand ICE is not your bug, but maybe you could suggest a possible workaround? It it something not generally acceptable, we can have a local patch in Macports to use only with GCC.
Otherwise jack
is broken, at least on PowerPC where no Clang works.
P. S. I need to check, but I recall GCC upstream is aware of the problem, but ObjC no one cares.
You can always try to disable optimizations, either globally or in that specific part of the code by use of __attribute__((optnone))
You can always try to disable optimizations, either globally or in that specific part of the code by use of
__attribute__((optnone))
I will try that, thank you. For GCC, apparently __attribute__((optimize(0)))
is correct one: https://github.com/argtable/argtable3/commit/7704006f3cbb556e11da80a5b97469075a32892e
@falkTX Unfortunately, building the whole thing with -O0
(was easier to try and has the same effect as setting respective __attribute__
, I assume) did not help, same ICE.
In the meanwhile, a couple of headers are missing in macosx files: https://github.com/jackaudio/jack2/pull/951
I have found a ticket on GCC Bugzilla, it is a bug in GCC for 32-bit targets:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61759 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107530
@alarixnia Could you say if jack2
builds via pkgsrc
for Darwin ppc
? If you know or could check.
@alarixnia Could you say if
jack2
builds viapkgsrc
for Darwinppc
? If you know or could check.
A dependency of it requires CMake and I don't have a compiler capable of building CMake for Darwin/ppc.
@alarixnia Could you say if
jack2
builds viapkgsrc
for Darwinppc
? If you know or could check.A dependency of it requires CMake and I don't have a compiler capable of building CMake for Darwin/ppc.
Unless that dependency is extremely picky, CMake 3.9.6 builds without C++11. Also, gcc7 and gcc10 build on 10.4.11. I think even gcc13 (though gcc13 requires C++11, so one must build gcc7 or gcc10 first).
Build is broken on PowerPC. Tested on 10.5.8 and 10.6, with gcc7 and gcc12.
https://trac.macports.org/ticket/67794 The bug is not new: https://trac.macports.org/ticket/60420