-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.
Milestone
Description
When building static libraries, the __zig_probe_stack symbol is undefined:
Undefined symbols for architecture x86_64:
"___zig_probe_stack", referenced from:
_std.debug.printLineInfo in x.o)
_std.sort.sort in x.o)
ld: symbol(s) not found for architecture x86_64
Passing -fno-stack-check fixes this (thanks @FireFox317 !), but maybe stack checking should be disabled automatically when building static libraries. Or maybe we want to link compile_rt?
What would be the best way to improve this?
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.Tokenization, parsing, AstGen, Sema, and Liveness.