-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS catalina unsupported in bun 0.1.13 #1266
Comments
Looks like we are missing support for macOS Catalina due to this missing symbol |
webkit has dropped support for their memory allocator on macOS 10.xx as of the most recent webkit upgrade need to think on what to do about this |
+1 |
Same issue here on Mojave (0.1.13) => |
how to change version of bun? |
This crash is still a blocker for me. Bun: 0.5.1 |
Due to webkit issues, bun is so far running only on Mac OS |
ouch. |
Workaround for bun v0.5.7 on macOS 10.14 Mojave below. It may work on other x64 macOS 10.x versions - I haven't tried. Given:
Without workaround:
Workaround:
With workaround:
Alternatively:
A workaround similar to the one above probably belongs in https://github.com/macports/macports-legacy-support. Here's a similar dummy |
@kzc Thank you for the suggested workaround |
I am still experiencing dyld: lazy symbol binding failed: Symbol not found: _pthread_self_is_exiting_np
Referenced from: …/.bun/bin/bun (which was built for Mac OS X 11.0)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _pthread_self_is_exiting_np
Referenced from: …/.bun/bin/bun (which was built for Mac OS X 11.0)
Expected in: /usr/lib/libSystem.B.dylib
Killed: 9 Bun: 0.5.8 (supplied on this page) |
I think the build hasn't finished for Mac x64 yet, the CI still reports the job is running. Please try again in a little while and let us know if it's still not working |
@ThatOneBro I tried the one from https://github.com/oven-sh/bun/actions/runs/4266973594 |
Great to hear! Thanks @kzc for the fix! |
How can i try to use that build? |
Try running
curl https://bun.sh/install | bash -s 'canary'
…On Sat, Feb 25, 2023 at 4:36 AM gotjoshua ***@***.***> wrote:
And it seems to be working.
How can i try to use that build?
(i mean which artifacts need to be placed where in order to execute the
binary?)
—
Reply to this email directly, view it on GitHub
<#1266 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFNGS4NHZXEZSRIAEHMUC3WZH4GXANCNFSM6AAAAAAQRXBA44>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
wow, thanks for the quick weekend reply...
Works!! |
@Jarred-Sumner The big caveat for the workaround proposed for
as they're all based on bun/src/bun.js/api/bun/subprocess.zig Line 1231 in 451ccfd
which in turn calls: bun/src/bun.js/api/bun/spawn.zig Lines 153 to 159 in 451ccfd
Until a proper fix is made for macos 10.x, an assert could be added to terminate the program if the When I proposed the original workaround I thought it was an unimportant start-up instruction. |
GREAT!!! |
Version
0.1.13
Platform
Darwin kt3k-mac.local 19.6.0 Darwin Kernel Version 19.6.0: Thu May 6 00:48:39 PDT 2021; root:xnu-6153.141.33~1/RELEASE_X86_64 x86_64
What steps will reproduce the bug?
run any script with
bun run script.js
How often does it reproduce? Is there a required condition?
100%
What is the expected behavior?
run script
What do you see instead?
crash
Additional information
The text was updated successfully, but these errors were encountered: