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

BINUTILS 2.40-1 linker fails with MS lib files #15544

Closed
3 of 7 tasks
dfileccia opened this issue Feb 7, 2023 · 3 comments
Closed
3 of 7 tasks

BINUTILS 2.40-1 linker fails with MS lib files #15544

dfileccia opened this issue Feb 7, 2023 · 3 comments

Comments

@dfileccia
Copy link

dfileccia commented Feb 7, 2023

Description / Steps to reproduce the issue

Link a Microsoft LIB format using "-l:". Example: -l:foo.lib

Expected behavior

Generate an EXE or DLL

Actual behavior

👎 error: internal error: aborting at ../../binutils-2.40/ld/ldlang.c:527 in compare_section
👎 error: please report this bug
👎 error: collect2.exe: error: ld returned 1 exit status
👎 error: [Makefile.Debug:90: ../../../bin64/plugins/canbus/fe2.dll] Error 1

Verification

Windows Version

MINGW64_NT-10.0-22000

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANG32
  • CLANGARM64

Are you willing to submit a PR?

No response

@dfileccia dfileccia added the bug label Feb 7, 2023
@Biswa96
Copy link
Member

Biswa96 commented Feb 7, 2023

Duplicate of #15469

@Biswa96 Biswa96 marked this as a duplicate of #15469 Feb 7, 2023
@Biswa96 Biswa96 closed this as completed Feb 7, 2023
@Biswa96 Biswa96 added duplicate and removed bug labels Feb 7, 2023
@lazka
Copy link
Member

lazka commented Feb 8, 2023

Please update and try again now.

@dfileccia
Copy link
Author

dfileccia commented Feb 8, 2023 via email

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

3 participants