Opened 2 years ago

Last modified 23 months ago

#65213 closed defect

jemalloc +universal build fails on Mac M1 (Monterey 12.3.1) — at Version 3

Reported by: sudheerhebbale (Sudheer Hebbale) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: jemalloc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Build of jemalloc on Mac M1 (ARM64) fails when tried with the following command

sudo port install jemalloc +universal 

Following error is generated

Error: Failed to configure jemalloc: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_jemalloc/jemalloc/work/jemalloc-5.2.1/config.log
Error: Failed to configure jemalloc: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_jemalloc/jemalloc/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port jemalloc failed

Change History (4)

Changed 2 years ago by sudheerhebbale (Sudheer Hebbale)

Attachment: config.log added

comment:1 Changed 2 years ago by sudheerhebbale (Sudheer Hebbale)

Summary: Build of jemalloc fails on Mac M1Build of jemalloc fails on Mac M1 (Monterey 12.3.1)

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: jemalloc added
Summary: Build of jemalloc fails on Mac M1 (Monterey 12.3.1)jemalloc +universal build fails on Mac M1 (Monterey 12.3.1)

comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

The error seems to be error: cannot determine number of significant virtual address bits but before that I also see it's checking whether some assembly instruction works. If the configure script is going to do this sort of thing then having the port use the muniversal portgroup is probably the only way to get a correct universal build.

Note: See TracTickets for help on using tickets.