Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mdparker opened this issue Jun 21, 2023 · 0 comments
Open

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

mdparker opened this issue Jun 21, 2023 · 0 comments

Comments

@mdparker
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant