[MacPorts] #63734: mlir-{13/14} +universal (i386/x86_64): fatal error: error in backend: Unsupported expression in static initializer: zext (i32 ptrtoint ([7 x i8]* @.str.38 to i32) to i64) (was: mlir-13 +universal (i386/x86_64): fatal error: error in backend: Unsupported expression in static initializer: zext (i32 ptrtoint ([7 x i8]* @.str.38 to i32) to i64))

MacPorts noreply at macports.org
Wed Jun 29 12:04:21 UTC 2022


#63734: mlir-{13/14} +universal (i386/x86_64): fatal error: error in backend:
Unsupported expression in static initializer: zext (i32 ptrtoint ([7 x i8]*
@.str.38 to i32) to i64)
------------------------------+----------------------
  Reporter:  ryandesign       |      Owner:  (none)
      Type:  defect           |     Status:  reopened
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.7.99
Resolution:                   |   Keywords:
      Port:  mlir-13 mlir-14  |
------------------------------+----------------------
Changes (by cjones051073):

 * port:  mlir-13 => mlir-13 mlir-14


Old description:

> Cannot upgrade outdated ports because mlir-13 does not build:
>
> {{{
> :info:build [ 91%] Built target MLIRGPUOps
> :info:build fatal error: error in backend: Unsupported expression in
> static initializer: zext (i32 ptrtoint ([7 x i8]* @.str.38 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-darwin17.7.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.
> }}}

New description:

 Cannot upgrade outdated ports because mlir-13 does not build:

 {{{
 :info:build [ 91%] Built target MLIRGPUOps
 :info:build fatal error: error in backend: Unsupported expression in
 static initializer: zext (i32 ptrtoint ([7 x i8]* @.str.38 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-darwin17.7.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.
 }}}

 Update - Same thing affects mlir-14

--

-- 
Ticket URL: <https://trac.macports.org/ticket/63734#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list