Opened 2 years ago
Closed 23 months ago
#65748 closed defect (fixed)
jemalloc @5.3.0: constant expression evaluates to -12 which cannot be narrowed to type 'unsigned int'
Reported by: | dsteck | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | monterey ventura | Cc: | tungyuanhsiao |
Port: | jemalloc |
Description
Crashes during build; problem seems to be "constant expression evaluates to -12 which cannot be narrowed to type 'unsigned int' [-Wc++11-narrowing]".
Monterey/x86_64 port installs fine (installs precompiled binary).
macOS 12.5.1 (21G83); Xcode 13.4.1, Build version 13F100; MacPorts 2.7.2
Attachments (1)
Change History (7)
Changed 2 years ago by dsteck
comment:1 Changed 2 years ago by kencu (Ken)
basically a duplicate of 65671
exactly what machine are you building on?
comment:2 Changed 2 years ago by dsteck
Ah, sorry, missed the other ticket. I'll see if the patch there works.
This is building on a MacBook Pro (13-inch, M1, 2020) (MacBookPro17,1).
comment:3 Changed 2 years ago by dsteck
The patch here makes it compile okay: https://github.com/jemalloc/jemalloc/issues/1997#issuecomment-1041589117
comment:4 follow-up: 5 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | tungyuanhsiao added |
---|---|
Keywords: | ventura added; arm64 removed |
Summary: | jemalloc fails to build for Monterey/arm64 → jemalloc @5.3.0: constant expression evaluates to -12 which cannot be narrowed to type 'unsigned int' |
Has duplicate #66309 (on macOS Ventura on x86_64).
comment:5 Changed 2 years ago by jmroot (Joshua Root)
Replying to ryandesign:
Has duplicate #66309 (on macOS Ventura on x86_64).
That ticket said M1 Pro in the summary, though the log said platform i386. Might have been running in Rosetta 2 due to an x86_64 terminal program or something, which would be a similar situation to building universal.
comment:6 Changed 23 months ago by kencu (Ken)
Owner: | set to kencu |
---|---|
Resolution: | → fixed |
Status: | new → closed |
main.log