bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/30091] New: Bundle all artifacts and command line invocation to


From: hiraditya at msn dot com
Subject: [Bug ld/30091] New: Bundle all artifacts and command line invocation to quickly reproduce linker errors
Date: Mon, 06 Feb 2023 23:28:05 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30091

            Bug ID: 30091
           Summary: Bundle all artifacts and command line invocation to
                    quickly reproduce linker errors
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hiraditya at msn dot com
  Target Milestone: ---

The lld linker has a flag `--reproduce -= path` that bundles all the artifacts
along with a `response.txt` file containing command line parameters to be
passed to the linker. This helps quickly debug errors.

As per the doc:

Write a tar file to path, containing all the input files needed to reproduce
the link, a text file called response.txt containing the command line options
and a text file called version.txt containing the output of ld.lld --version.
The archive when unpacked can be used to re-run the linker with the same
options and input files. 

Source: https://github.com/llvm/llvm-project/blob/main/lld/docs/ld.lld.1#L498

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]