August 30, 2022 [Issue 23310] Segfault on switch with global enum | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23310 --- Comment #11 from anonymous4 <dfj1esp02@sneakemail.com> --- TLS on windows is initialized by the system if the executable has TLS directory, otherwise you get some kind of garbage in place of TLS. LDC might link TLS directory unconditionally. -- |
August 30, 2022 [Issue 23310] Segfault on switch with global enum | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23310 --- Comment #12 from anonymous4 <dfj1esp02@sneakemail.com> --- For gnu toolchain (as, ld) TLS directory looks like this: --- tlssup.asm --- .intel_syntax .arch generic64,nojumps .global _tls_used .section .rdata _tls_used: .quad ___tls_start__, ___tls_end__, _tls_index, _tls_callbacks _tls_callbacks: .quad 0 .global _tls_index .bss .balign 4 _tls_index: .int 0 --- Compile: as tlssup.asm -o tlssup.obj -- |
August 30, 2022 [Issue 23310] Segfault on switch with global enum | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23310 --- Comment #13 from ryuukk_ <ryuukk.dev@gmail.com> --- How can i make it so dmd links the TLS? I'm not familiar with that stuff -- |
August 30, 2022 [Issue 23310] Segfault on switch with global enum | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23310 --- Comment #14 from ryuukk_ <ryuukk.dev@gmail.com> --- Problem is solved, i had to copy bunch of other code from druntime Here is a working object.d: https://gist.github.com/ryuukk/53c133f29da5a8326c359a6bb1063207 Would have been cool if the compiler would emit proper error message in the future... -- |
December 17, 2022 [Issue 23310] Segfault on switch with global enum | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23310 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 17, 2022 [Issue 23310] Segfault on switch with global enum | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23310 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Severity|normal |critical -- |
February 28, 2023 [Issue 23310] Segfault on switch with global enum | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23310 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #15 from RazvanN <razvan.nitu1305@gmail.com> --- Is there anything actionable on this issue? To me it seems that the problem was that a proper custom object.d was not provided. I don't see what the compiler can do in such situations. -- |
March 01, 2023 [Issue 23310] Segfault on switch with global enum | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23310 --- Comment #16 from ryuukk_ <ryuukk.dev@gmail.com> --- > To me it seems that the problem was that a proper custom object.d was not provided. The issue is the compiler didn't tell me what was wrong, it segfault > I don't see what the compiler can do in such situations. There is, provide proper error message I don't understand why you guys hate proper error message, leaving users in the blind is the goal? -- |
Copyright © 1999-2021 by the D Language Foundation