[MacPorts] #65388: mlir-14 @ 14-14.0.5_0+universal: fatal error: error in backend: Unsupported expression in static initializer: zext (i32 ptrtoint ([9 x i8]* @.str.26 to i32) to i64)
MacPorts
noreply at macports.org
Sat Jun 25 09:16:37 UTC 2022
#65388: mlir-14 @ 14-14.0.5_0+universal: fatal error: error in backend: Unsupported
expression in static initializer: zext (i32 ptrtoint ([9 x i8]* @.str.26 to
i32) to i64)
-------------------------+-------------------------------------------------
Reporter: thetrial | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: elcapitan | Port: mlir-14 clang-14 openal-soft
legacy-os | winetricks
-------------------------+-------------------------------------------------
I’m cought in a catch-22 – mlir-14 is called by clang-14, clang-14 is
called by openal-soft, openal-soft is called by winetricks. A clang-13 is
present and working, but unnecessarily I’m stuck with mlir-14.
I found no way to install that – and it seems this only happens with the
+universal variant. I can build mlir-14 without +universal, but this gets
discarded when trying to update my setup.
{{{
:info:build [ 94%] Built target obj.MLIRStandardOpsTransforms
:info:build fatal error: error in backend: Unsupported expression in
static initializer: zext (i32 ptrtoint ([9 x i8]* @.str.26 to i32) to i64)
:info:build clang: error: clang frontend command failed with exit code 70
(use -v to see invocation)
:info:build clang version 11.1.0
:info:build Target: i386-apple-darwin15.6.0
:info:build Thread model: posix
:info:build InstalledDir: /opt/local/libexec/llvm-11/bin
:info:build clang: note: diagnostic msg: Error generating preprocessed
source(s) - cannot generate preprocessed source with multiple -arch
options.
}}}
Is mlir-14 necessary?! There is no attempt to build flang in this chain.
I’ll attach the ~24 MB logfile zipped.
This seems to be an occurance of that before: #63734.
--
Ticket URL: <https://trac.macports.org/ticket/65388>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list