Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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 Changed 8 years ago by bird

  • Keywords weakld added
  • Milestone set to libc-0.6.5
  • Resolution set to fixed
  • Severity changed from blocker to normal
  • Status changed from new to closed
  • Version set to 0.6.4

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).

comment:2 Changed 8 years ago by bird

  • Summary changed from WEAKLD incorrectly reports duplicate symbols to weakld: weakld incorrectly reports duplicate symbols
Note: See TracTickets for help on using tickets.