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

x86_64-netbsd-none #71

Open
lun-4 opened this issue Oct 8, 2021 · 5 comments
Open

x86_64-netbsd-none #71

lun-4 opened this issue Oct 8, 2021 · 5 comments

Comments

@lun-4
Copy link

lun-4 commented Oct 8, 2021

@alarixnia
Copy link

In my opinion, LLVM is using the wrong error code here.

POSIX sez "ENOTRECOVERABLE - State not recoverable. The state protected by a robust mutex is not recoverable."

The LLVM code in question is completely unrelated to mutexes.

If I had to use an errno code here, I'd use ENOTSUP (std::errc::not_supported).

@0-wiz-0
Copy link

0-wiz-0 commented Nov 24, 2021

I had already filed a bug report about this upstream - please provide your suggestion there. That'll also show that more than one person is interested in this :) Thanks.
https://bugs.llvm.org/show_bug.cgi?id=52587

@lun-4
Copy link
Author

lun-4 commented Apr 8, 2022

Making sure we can reference the correct upstream issue after LLVM's Bugzilla migration: llvm/llvm-project#51929

@alexrp
Copy link
Member

alexrp commented Oct 11, 2024

Is this still a problem?

@lun-4
Copy link
Author

lun-4 commented Oct 13, 2024

got around to upgrading my development VM to netbsd10, and llvm-host now builds without issue! (netbsd9 is still supported by netbsd but I think we can leave that out of the zig support tier matrix..) problem now is that build-zig-host's process segfaults. will have to investigate further later, but here's the stack from lldb

Process 15831 launched: '/home/luna/zig-bootstrap/out/build-zig-host/zig2' (x86_64)
Process 15831 stopped
* thread #1, stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x7f7fff10eff8)
    frame #0: 0x000000000082ae80 zig2`InternPool_Local_List_28InternPool_Item_29_view__17671 + 50
zig2`InternPool_Local_List_28InternPool_Item_29_view__17671:
->  0x82ae80 <+50>: callq  0xc1d2bd                  ; InternPool_Local_List_28InternPool_Item_29_header__17670
    0x82ae85 <+55>: movq   %rax, -0x10(%rbp)
    0x82ae89 <+59>: movq   -0x10(%rbp), %rax
    0x82ae8d <+63>: movq   %rax, -0x18(%rbp)

@alexrp alexrp changed the title x86_64-netbsd-none and llvm13 x86_64-netbsd-none Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants