Skip to content
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

Tier 1 Support for x86_64-dragonfly #7149

Open
Tracked by #1002
nektro opened this issue Nov 18, 2020 · 4 comments
Open
Tracked by #1002

Tier 1 Support for x86_64-dragonfly #7149

nektro opened this issue Nov 18, 2020 · 4 comments
Labels
arch-x86_64 64-bit x86 contributor friendly This issue is limited in scope and/or knowledge of Zig internals. enhancement Solving this issue will likely involve adding new logic or components to the codebase. os-dragonfly
Milestone

Comments

@nektro
Copy link
Contributor

nektro commented Nov 18, 2020

https://www.dragonflybsd.org/

@jedisct1
Copy link
Contributor

Zig developers are very likely to already know what Solaris, Fuchsia, DragonflyBSD, etc. are and how to access these projects websites :)

@daurnimator
Copy link
Contributor

daurnimator commented Nov 18, 2020

Zig did support DragonflyBSD at least a little since #3562. It appears that it has regressed.

With the patch:

--- a/src/target.zig
+++ b/src/target.zig
@@ -139,6 +139,7 @@ pub fn libcNeedsLibUnwind(target: std.Target) bool {
         .watchos,
         .tvos,
         .freestanding,
+        .dragonfly,
         => false,
 
         .windows => target.abi != .msvc,

I'm able to get a bit further to error: LibCInstallationNotAvailable; which is going to be because I'm not on a dragonflybsd host and we don't ship dragonflybsd libc headers (yet).

@tse-gratis are you interested in trying to improve support still?

@nektro
Copy link
Contributor Author

nektro commented Nov 18, 2020

we don't ship dragonflybsd libc headers (yet).

I believe this is them here: https://gitweb.dragonflybsd.org/dragonfly.git/tree/HEAD:/include

@tse-gratis
Copy link

Sorry, I'm not going to be working on this

@andrewrk andrewrk changed the title add support for targeting x86_64-dragonfly Tier 1 Support for x86_64-dragonfly Nov 30, 2020
@andrewrk andrewrk added contributor friendly This issue is limited in scope and/or knowledge of Zig internals. enhancement Solving this issue will likely involve adding new logic or components to the codebase. labels Nov 30, 2020
@andrewrk andrewrk added this to the 1.1.0 milestone Nov 30, 2020
@alexrp alexrp added the arch-x86_64 64-bit x86 label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-x86_64 64-bit x86 contributor friendly This issue is limited in scope and/or knowledge of Zig internals. enhancement Solving this issue will likely involve adding new logic or components to the codebase. os-dragonfly
Projects
None yet
Development

No branches or pull requests

6 participants