#254 closed defect (fixed)
weakld: weakld incorrectly reports duplicate symbols
| Reported by: | dmik | Owned by: | bird |
|---|---|---|---|
| Priority: | normal | Milestone: | libc-0.6.5 |
| Component: | emx | Version: | 0.6.4 |
| Severity: | normal | Keywords: | weakld |
| Cc: |
Description
If a symbol is both listed in the EXPORTS section (a public name for a function that has a different internal name) and in the IMPORTS section (an import of another function from a different DLL), WEAKLD will complain about duplicate symbols. This is not correct since these symbols are in unrelated "namespaces".
This library demonstrates the problem: http://svn.netlabs.org/odin32/browser/branches/gcc-kmk/src/capi2032?rev=21904. The current solution is to use an extra import library + WLINK response file directly.
Change History (2)
comment:1 by , 14 years ago
| Keywords: | weakld added |
|---|---|
| Milestone: | → libc-0.6.5 |
| Resolution: | → fixed |
| Severity: | blocker → normal |
| Status: | new → closed |
| Version: | → 0.6.4 |
comment:2 by , 14 years ago
| Summary: | WEAKLD incorrectly reports duplicate symbols → weakld: weakld incorrectly reports duplicate symbols |
|---|
Note:
See TracTickets
for help on using tickets.

r3751 tries to address the problem. It is a relatively risky fix as it's quite a while since I wrote that code... Let's hope I got it right.
Testcase in r3752. Backported in r3753. Case closed (for now).