[Bug 257638] Compressed debug build fails on powerpc, mips

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 Aug 2021 00:41:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257638

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
Created attachment 226979
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226979&action=edit
lld reproducer tarball

lld reproducer attached, obtained via
$ LLD_REPRODUCE=freebsd-pr-257638.tar make

response.txt contains the command line to reproduce:
$ ld.lld $(cat response.txt)
ld.lld: error:
usr/obj/usr/home/emaste/src/freebsd-git/main/mips.mips64/lib/csu/mips/Scrt1_c.o:(.debug_loc):
unsupported compression type
ld.lld: error:
usr/obj/usr/home/emaste/src/freebsd-git/main/mips.mips64/lib/csu/mips/Scrt1_c.o:(.debug_abbrev):
unsupported compression type
ld.lld: error:
usr/obj/usr/home/emaste/src/freebsd-git/main/mips.mips64/lib/csu/mips/Scrt1_c.o:(.debug_info):
unsupported compression type
ld.lld: error:
usr/obj/usr/home/emaste/src/freebsd-git/main/mips.mips64/lib/csu/mips/Scrt1_c.o:(.debug_str):
unsupported compression type
ld.lld: error:
usr/obj/usr/home/emaste/src/freebsd-git/main/mips.mips64/lib/csu/mips/Scrt1_c.o:(.debug_line):
unsupported compression type

It appears the compressed header is not being parsed correctly with respect to
endianness

-- 
You are receiving this mail because:
You are the assignee for the bug.