updating macports-libcxx to llvm-19+
Gagan Sidhu
broly at mac.com
Tue Jul 1 21:39:28 UTC 2025
i am just responding on the list because i think the information is helpful to others as well, sorry mojca if you weren't expecting that.
-i won't do it in the future if that's the case.
two things: i did manage to get llvm-19 to build without issue on snow leopard.
however it seems there's a problem for clang-19 and higher which is they don't allow building for 10.6 targets because of x86_64h?
surely this is probably some kind of macro people removed in the past for clang-17 etc?
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-19/clang-19/work/llvm-project-19.1.7.src/compiler-rt/cmake/config-ix.cmake
" # Note: In order to target x86_64h on OS X the minimum deployment target must
# be 10.8 or higher.
if(MIN_OSX_VERSION VERSION_LESS "10.7")
message(FATAL_ERROR "macOS deployment target '${SANITIZER_MIN_OSX_VERSION}' is too old.")
endif()
"
in short, as it stands: it seems clang-19 doesn't even support 10.6 so this shouldn't be a concern?
Thanks,
Gagan
> On Jun 30, 2025, at 3:20 AM, Mojca Miklavec <mojca.miklavec.lists at gmail.com> wrote:
>
> Off-list, and please note that I'm not really active / not much time
> myself, so please don't expect answers from me.
>
> Please open merge requests with your patches.
> Does clang-19 also build on Snow Leopard (10.6 is still relatively
> important platform)?
>
> Mojca
>
> On Mon, 30 Jun 2025 at 04:07, Gagan Sidhu via macports-dev
> <macports-dev at lists.macports.org> wrote:
>>
>> first i want to thank the team for reworking the clang stuff.
>>
>> clang-19 has now built successfully on lion. it wasn't bad at all. like a couple of lines.
>> -i suspect someone on the team deliberately didn't make these changes to see if i cared. i do, i'm just busy with a bunch of things right now
>> -hopefully if i get these e55 fuel pumps going in my 4matic tomorrow i'll have more time to enjoy my summer
>> -like, sitting in the sun getting wasted in front of my 2020 i9 16" 5600m
>>
>> what are the other prerequisites for tabling the update of macports-libcxx to clang-19?
>>
>> we need to do this asap so i can try to push out fixes for node
>>
>> hoping someone on the team is ready to receive and test a "patch" (as much of a joke as the patch is)
>>
>> Thanks,
>> Gagan
>>
>>> On Mar 31, 2025, at 9:05 AM, Gagan Sidhu via macports-dev <macports-dev at lists.macports.org> wrote:
>>>
>>> interesting.
>>>
>>> i will try to look into that.
>>>
>>> thanks
>>>
>>>> On Mar 31, 2025, at 9:03 AM, Chris Jones via macports-dev <macports-dev at lists.macports.org> wrote:
>>>>
>>>>
>>>> clang-19+ currently does not build on a number of older OSes, its limited to Darwin15 and newer. Before updating macports-libcxx someone with the time and inclination should look into that first I would say.
>>>>
>>>> cheers Chris
>>>>
>>>> On 31/03/2025 2:40 pm, Gagan Sidhu via macports-dev wrote:
>>>>> any thoughts on this?
>>>>> i think it’s time.
>>>>> Thanks,
>>>>> Gagan
>>>>
>>>
>>
Thanks,
Gagan
More information about the macports-dev
mailing list