[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 30 14:14:10 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 potterpg):
In the Portfile I Tried:
{{{
platform darwin {
if {${build_arch} eq "arm64"} {
configure.args-append --with-lg-page=48
configure.args-append --with-lg-hugepage=48
}
}
}}}
The config.log file suggests it was used as planned:
{{{
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/opt/local --with-jemalloc-prefix= --with-lg-
page=48 --with-lg-hugepage=48 --host=aarch64-apple-darwin21.6.0
}}}
With further errors!
ie
{{{
:info:build include/jemalloc/internal/bitmap.h:90:4: error: "Unsupported
bitmap size"
:info:build # error "Unsupported bitmap size"
}}}
and
{{{
:info:build include/jemalloc/internal/slab_data.h:9:18: error: use of
undeclared identifier 'BITMAP_GROUPS_MAX'
:info:build bitmap_t bitmap[BITMAP_GROUPS_MAX];
}}}
Which seemed odd errors for a seemingly working port on other
architectures...
{{{
:info:build fatal error: too many errors emitted, stopping now [-ferror-
limit=]
:info:build 29 warnings and 20 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65671#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list