MaskRay added a comment.

I accepted this because this seems a major showstopper and we want to resolve 
it for the upcoming major release
But I just recall that clang 14.0.0 has defaulted to DWARF v5 for most ELF 
operating systems on all architectures.

> So far, I had only seen it with the GNU ld 2.38.50 bundled with Debian 
> 11/sparc64, but couldn't reproduce on Ubuntu 20.04/x86_64 (neither bundled 
> GNU ld 2.34, nor self-compiled 2.38.90)

Thanks for the additional note. Seems worth investigating whether it is an 
issue which should be addressed on GNU ld side.
binutils 2.39 will be released on 2022-08-06 
(https://sourceware.org/pipermail/binutils/2022-July/121656.html) and such a 
regression style issue should be worked on quickly.
The binutils code does suggest it doesn't handle the DWARF v5 features, but I 
am curious why older releases don't have the problem.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130566/new/

https://reviews.llvm.org/D130566

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to