-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Future Node Icu4c Discussion #44110
Comments
After thinking more on this, staging a resource seems to make the most sense currently.
|
The problem is not node itself, but their upstream V8 or more precise V8's build system gyp, see: nodejs/node-v0.x-archive#7919 BTW: A more updated commit for the statically linking to a resource staged |
Yes, as @chrmoritz highlights this isn't technically a Node problem. I finally fixed Homebrew's People (including us) have talked to Node before about doing the same thing and been told that we could but it'd be wildly unsupported, as discussed in part in the thread @chrmoritz points to there. I don't expect much movement on this going forwards. I think a resource is the way to go here. |
👍 for resource. |
👍 for resource. |
Feel free to take a swing at the resource whenever. Happy to do it if you'd like, but I'm kind of enjoying someone else looking after the Node formula 😜. |
I belive @chrmoritz was a PR away from the resource approach chrmoritz@0dd892d. Send it in if you feel its ready, or I can do it for you if you are busy today. |
So there is this longstanding issue: #36681
Even in Node 4+, they are building against libstdc++ which presents a potential issue with the homebrew Icu4c which links against libc++. While there hasn't been a huge amount of direct evidence that this is a major issue, it still warrants the considerations of the following options:
Stage Icu4c as a resource and staticly build along with node itself. chrmoritz@0dd892d cc @chrmoritz
Link against homebrews Icu4c as a dependency bcomnes@309e9b4
Both seem to work fine. Long term we can see if we can encourage linking against libc++ upstream but it would be nice to figure something out for now.
cc @DomT4 @MikeMcQuaid
The text was updated successfully, but these errors were encountered: