[MacPorts] #65671: jemalloc @5.3.0_2: universal build fails for Monterey M1 arm64 when building x86_64 slice

MacPorts noreply at macports.org
Tue Aug 23 03:27:56 UTC 2022


#65671: jemalloc @5.3.0_2: universal build fails for Monterey M1 arm64 when
building x86_64 slice
-----------------------+----------------------
  Reporter:  potterpg  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.2
Resolution:            |   Keywords:  monterey
      Port:  jemalloc  |
-----------------------+----------------------

Comment (by Dave-Allured):

 Configure did not correctly detect the **LG_VADDR** parameter in this
 case.  [https://trac.macports.org/attachment/ticket/65671/main.log#L456
 Main.log, line 456:]

 {{{:info:configure checking number of significant virtual address bits...
 0}}}

 The bogus zero value corresponds with the indicated errors, "can not
 narrow expression to unsigned int".  This should be a processor-specific
 value like 48 or 56.  I'm not sure which.

 There is a configure option to provide a fixed value, and skip auto
 detection.  From **jemalloc/INSTALL.md**:

     * --with-lg-vaddr=<lg-vaddr>

     Specify the number of significant virtual address bits. By default,
 the configure script attempts to detect virtual address size on those
 platforms where it knows how, and picks a default otherwise. **This option
 may be useful when cross-compiling.**

 There is an upstream issue with some useful discussion:
 https://github.com/jemalloc/jemalloc/issues/1997

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


More information about the macports-tickets mailing list