bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/31250] New: Stripping Rust static libraries fails because


From: amy at amyspark dot me
Subject: [Bug binutils/31250] New: Stripping Rust static libraries fails because of overly zealous illegal path check
Date: Tue, 16 Jan 2024 21:30:10 +0000

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

            Bug ID: 31250
           Summary: Stripping Rust static libraries fails because of
                    overly zealous illegal path check
           Product: binutils
           Version: 2.41
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: amy at amyspark dot me
  Target Milestone: ---

Created attachment 15307
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15307&action=edit
Library layout

Hi,

I was trying to strip a MSVC static library generated by Rust. It failed with
the following error:

> strip -K gst_plugin_rswebrtc_register -K gst_plugin_rswebrtc_get_desc -o 
> xxx.lib ..\gstrswebrtc.lib
> D:\msys64\ucrt64\bin\strip.exe: illegal pathname found in archive member: 
> E:/cerbero/build/sources/msvc_x86_64/gst-plugins-rs-0.12.0-alpha.1/_builddir/x86_64-pc-windows-msvc/release/build/ring-13371a66ab60b364/out/poly1305_vec.obj

This error was introduced in the following commit:
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=dd9b91de2149ee81d47f708e7b0bbf57da10ad42
. I believe this check should not cover this particular case, since I'm not
unpacking the library itself.

(I cannot attach the library itself as it's 250MB -- a compressed 7z will be
linked after submission. I do have attached the output of nm for reference.)

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