bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/26626] New: Provide a hook to customize missing library


From: sguelton at redhat dot com
Subject: [Bug ld/26626] New: Provide a hook to customize missing library
Date: Wed, 16 Sep 2020 13:03:02 +0000

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

            Bug ID: 26626
           Summary: Provide a hook to customize missing library
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: sguelton at redhat dot com
  Target Milestone: ---

It would be nice to be able to provide a custom script that would help users to
find missing libraries. A possible scenario could be:


% clang /tmp/a.c -loauth -Wl,--error-handling-script=/tmp/addLibrary.py
unable to find library -loauth
looking for relevant packages to provides that library
- liboauth-0.9.7-4.el7.i686
- liboauth-devel-0.9.7-4.el7.i686
- liboauth-0.9.7-4.el7.x86_64
- liboauth-devel-0.9.7-4.el7.x86_64
- pix-1.6.1-3.el7.x86_64


Where addLibrary would be called with the missing library name as first
argument (in that case addLibrary.py oauth)

-- 
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]