Skip to content

OPTLINK and the librarian fail to see a symbol in a library #106

@mdparker

Description

@mdparker

h3r3tic reported this on 2009-09-17T18:45:37Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=3327

CC List

  • bugzilla
  • pro.mathias.lang

Description

Excerpt from the d.D newsgroup (Incremental compilation with DMD):

Somewhere in the process a library is created that confuses OPTLINK as well as "lib -l". There's one symbol in it that neither of these are unable to see and it results in an undefined reference when linking. The symbol is clearly there when using a lib dumping tool from DDL or "libunres -d -c". (...) it can be found via a regex "D2xf3omg4core.*ctFromRealVee0P0Z".

My guess: there's a mismatch between the lib dictionary and its actual contents. I can provide reproduction steps if necessary but they will be rather involved. Maybe the intermediate .lib files and operations using the librarian would be useful?

Comments

h3r3tic commented on 2009-09-17T18:47:18Z

Created attachment 452
The Lib That Fails

Bugzilla failed to attach it directly to the post

pro.mathias.lang commented on 2021-01-09T06:50:17Z

I'm going to close this as stale. While there's no guarantee the bug has been fixed, this bug is over a decade old and hasn't been addressed. Moreover it's for a platform that is seeing little to now use nowadays (x86). Finally, using lld-link will get you much better results nowadays.

bugzilla commented on 2021-01-25T01:17:14Z

Reopened because it's still an unresolved bug.

pro.mathias.lang commented on 2021-01-25T01:28:35Z

@walter: Then it should be transferred to https://github.com/DigitalMars/optlink

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions