Bug 19329 – pragms(lib) and pragma(linkerDirective) can emit duplicate entries to the object

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-10-23T17:59:55Z
Last change time
2024-12-13T19:01:03Z
Keywords
pull
Assigned to
No Owner
Creator
Manu
Moved to GitHub: dmd#19499 →

Comments

Comment #0 by turkeyman — 2018-10-23T17:59:55Z
If the same lib or directive are added twice, duplicates are emit to the object file. The linker text list should be de-duplicated before writing out.
Comment #1 by dlang-bot — 2021-03-25T11:19:46Z
@thewilsonator created dlang/dmd pull request #12308 "Fix issue 19329 pragms(lib) and pragma(linkerDirective) can emit dupl…" fixing this issue: - Fix issue 19329 pragms(lib) and pragma(linkerDirective) can emit duplicate entries to the object https://github.com/dlang/dmd/pull/12308
Comment #2 by dlang-bot — 2024-09-18T09:39:26Z
@thewilsonator updated dlang/dmd pull request #16849 "Do not emit duplicate string for `pragma([lib|linkerDirective])`" fixing this issue: - Fix bugzilla Issue 19329: Do not emit duplicate string for `pragma([lib|linkerDirective])` https://github.com/dlang/dmd/pull/16849
Comment #3 by robert.schadek — 2024-12-13T19:01:03Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19499 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB