[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #13 from Carl Sturtivant --- (In reply to Richard Cattermole from comment #12) > From what I can tell it's an ordering problem due to not explicitly loading > then unloading druntime in the right order. That's intuitively reasonable.

[Issue 24409] DMD crash for CTFE in stompOverlappedFields

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24409 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - dd23837579e28e931b823315605ae7bc8e4f1608 by Tim Schendekehl: Fix Bugzilla 24409 - DMD crash for CTFE in stompOverlappedFields (#16246)

[Issue 24371] [REG 2.104] String array concatenation does not respect operator precedence

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24371 --- Comment #5 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - 2423b9379841cda4d1f6f5146a05dc5820225a7b by Teodor Dutu: Fix Bugzilla Issue 24371 - String array concatenation does not respect operator

[Issue 20297] ld: warning: no platform load command found for macOS

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20297 --- Comment #7 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - b40eb09ff80821a7e95fe989ca0063c5f84d132b by Iain Buclaw: Fix Bugzilla 20297 - Link warning: no platform load command found in object.o,

[Issue 21047] Linker error: GOT load reloc does not point to a movq instruction

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21047 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - 6139abb2020da13f5d905c6dd204b41e39cc861c by Iain Buclaw: Fix Bugzilla 21047 - Linker error: GOT load reloc does not point to a movq

[Issue 24422] ImportC: ICE: Segfault in cparseFunctionDefinition

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24422 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - c574385a58463d38118c6836ada6f86067282f21 by Iain Buclaw: Fix Bugzilla 24422 - ImportC: ICE: Segfault in cparseFunctionDefinition

[Issue 22556] Invalid GOT load reloc with -O on MacOS

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=22556 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - 582bf08cb09ffe8f9c3c71953566a363b1caa6a3 by Iain Buclaw: Fix Bugzilla 22556 - Invalid GOT load reloc with -O on MacOS

[Issue 24399] Link failure on MacOS with address=0x0 points to section(2) with no content in config_a68_4c3.o

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24399 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - 985f64ba03ad2b5e210e8e555c6e59253188faaa by Iain Buclaw: Fix Bugzilla 24399 - Link failure on MacOS with address=0x0 points to section(2)

[Issue 20802] [REG2.088.0] Link failure with writefln

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=20802 --- Comment #10 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - 6a2fe78ba45b4fcd495f7ab340f784640b9daf01 by Tim Schendekehl: Fix Bugzilla 20802 - Link failure with writefln (#16200) The issue is caused

[Issue 24401] OSX: Linker error: GOT load reloc does not point to a movq instruction

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24401 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - baf8ee195aef40afc10a5101ec80ff8e1792d2c4 by Iain Buclaw: Fix Bugzilla 24401 - OSX: Linker error: GOT load reloc does not point to a movq

[Issue 24137] Link failure on macOS with symbol count from symbol table and dynamic symbol table differ

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24137 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - 53d3810128a043821be4f93c073598809a8dcbb9 by Iain Buclaw: Fix Bugzilla 24137 - Link failure on macOS with symbol count from symbol table and

[Issue 24402] OSX: Linker warning: pointer not aligned at __OBJC_PROTOCOL_$_Foo

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24402 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - 5197b62a1a3a53b6431a7f8fa67d288fb2dc3703 by Iain Buclaw: Fix Bugzilla 24402 - OSX: Linker warning: pointer not aligned at

[Issue 23517] dmd with -g flag fails to link on macOS with unaligned pointer

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23517 --- Comment #16 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - 6f2a6f919df2eb5ba03700e969495f8c53ddfdcb by Iain Buclaw: Fix Bugzilla 23517 - dmd with -g flag fails to link on macOS with unaligned pointer

[Issue 24407] OSX: ld: Assertion failed: (slot < _sideTableBuffer.size()), function addAtom

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24407 --- Comment #5 from Dlang Bot --- dlang/dmd pull request #16276 "merge stable" was merged into master: - 65db10cf920c3519553a2a499230c994d6db2f5c by Iain Buclaw: Fix Bugzilla 24407 - OSX: ld: Assertion failed: (slot < _sideTableBuffer.size()),

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #12 from Richard Cattermole --- Okay, ldc and dmd have differing implementations of ``rt.sections_elf_shared``. With ldc yes, you need to stick with only shared library build of druntime, it cannot be mixed. >From what I can tell it's

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #11 from Carl Sturtivant --- (In reply to Carl Sturtivant from comment #10) > (In reply to Richard Cattermole from comment #9) $ ldc2 -c main.d $ ldc2 -of=main -L-E main.o -L-ldl $ ldc2 -c --relocation-model=pic dynamic_lib.d $

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #10 from Carl Sturtivant --- (In reply to Richard Cattermole from comment #9) > The default phobos/druntime shared/static may depend upon platform and > distribution. I used the --link-defaultlib-shared=true option which I assume also

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #9 from Richard Cattermole --- The default phobos/druntime shared/static may depend upon platform and distribution. --

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #8 from Carl Sturtivant --- > When using ldc does it crash when druntime is a shared library and > initialized? Is this the default for ldc? --

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #7 from Richard Cattermole --- When using ldc does it crash when druntime is a shared library and initialized? This will confirm that it is a druntime bug. --

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #6 from Carl Sturtivant --- 1. lcd did not produce the bug, using --link-defaultlib-shared=false for both the main program and the dynamic library. 2. When the dynamic library C source is compiled and linked with -betterC the error

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 Richard Cattermole changed: What|Removed |Added CC||alphaglosi...@gmail.com --- Comment #5

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #4 from Carl Sturtivant --- Created attachment 1910 --> https://issues.dlang.org/attachment.cgi?id=1910=edit dynamic_lib.d --

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #3 from Carl Sturtivant --- Created attachment 1909 --> https://issues.dlang.org/attachment.cgi?id=1909=edit main.d --

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #2 from Carl Sturtivant --- Created attachment 1908 --> https://issues.dlang.org/attachment.cgi?id=1908=edit dynamic_lib.c --

[Issue 24427] Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 --- Comment #1 from Carl Sturtivant --- Created attachment 1907 --> https://issues.dlang.org/attachment.cgi?id=1907=edit main.c --

[Issue 24427] New: Crash when dlopen'ed library not dlclose'd explicitly

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24427 Issue ID: 24427 Summary: Crash when dlopen'ed library not dlclose'd explicitly Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: major

[Issue 24202] std.range.chain ganerated object has wrong .init

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24202 Jonathan M Davis changed: What|Removed |Added CC||issues.dl...@jmdavisprog.co

[Issue 24202] std.range.chain ganerated object has wrong .init

2024-03-01 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24202 --- Comment #3 from Dragos Carp --- It broke functioning code. It is a regression! https://github.com/dcarp/protobuf-d/issues/43 chain(...).init should be consistent. If it reports non-empty, what should be the result of front? --