question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

objcopy: src/steddNxf: failed to find link section for section 24

See original GitHub issue

Hi,

Just wanted to check if anyone else has stumbled on this error with WLLVM? I get it when trying to build Coreutils 8.30 using LLVM 7.0 at rev 26b52aa of WLLVM.

Cheers, Robin

$ wllvm --version
clang version 7.0.0 (tags/RELEASE_700/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
	cd coreutils-$(VER)
	export LLVM_COMPILER=clang
	CC=wllvm ./configure
	make
  CCLD     src/split
  CC       src/stat.o
objcopy: src/stkShpi9: failed to find link section for section 30
objcopy: src/stkShpi9: failed to find link section for section 30
  CCLD     src/stat
  CC       src/sum.o
objcopy: src/stuHRXtL: failed to find link section for section 24
objcopy: src/stuHRXtL: failed to find link section for section 24
  CCLD     src/sum
  CC       src/sync.o
objcopy: src/stzhYois: failed to find link section for section 23
objcopy: src/stzhYois: failed to find link section for section 23
  CCLD     src/sync
  CC       src/tac.o
objcopy: src/steddNxf: failed to find link section for section 24
objcopy: src/steddNxf: failed to find link section for section 24
  CCLD     src/tac
  CC       src/tail.o

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
ianamasoncommented, Oct 17, 2018

@mewmew you are welcome (encouraged) to file a bug against binutils. I will close this issue in the near future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

23788 – objcopy: src/steddNxf: failed to find link section for ...
I asked for an **OBJECT** file, you know, the file that objcopy is operating on, not source files. That would be shell.o in...
Read more >
[Bug binutils/23788] objcopy: src/steddNxf: failed to find link ...
Subject: [Bug binutils/23788] objcopy: src/steddNxf: failed to find link section for section 24. Date: Thu, 18 Oct 2018 11:58:12 +0000 ...
Read more >
[Bug binutils/23788] New: objcopy: src/steddNxf: failed to find ...
Bug ID: 23788 Summary: objcopy: src/steddNxf: failed to find link section for section 24 Product: binutils Version: unspecified Status: ...
Read more >
#913946 - llvm*-dbgsym not built "failed to find link section"
Bug#913946 ; Package src:llvm-toolchain-7 . (Sat, 17 Nov 2018 11:24:04 GMT) (full text, mbox, link). Acknowledgement sent to ...
Read more >
[llvm-objcopy] update-section incompatible to GNU objcopy
Ends with an error message stating: /llvm/lib/ObjCopy/ELF/ELFObject.cpp: “cannot fit data of size %zu into section '%s' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found