[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/31250] Stripping Rust static libraries fails because of ov
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/31250] Stripping Rust static libraries fails because of overly zealous illegal path check |
Date: |
Thu, 25 Jan 2024 15:02:31 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31250
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |nickc at redhat dot com
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2024-01-25
--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi Amyspark,
Is the library really valid if it contains absolute pathnames ?
Ie, wouldn't it be better to fix how Rust is creating the library, rather
than allowing strip to process it, only to have it rejected later on because of
the paths ?
The problem - from strip's point of view - is that it works by copying the
members of the archive from the input archive into a temporary output archive,
stripping them on the way. Once that is complete, it can delete the original
and rename the temporary archive. This is hard to do if absolute paths are
involved.
Anyway, please could you try out the uploaded patch and let me know if it
works for you ? My big worry with this patch is that it changes the path of
absolute elements, so that the output archive is going to contain different
paths to the input archive. but maybe this will not matter...
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/31250] New: Stripping Rust static libraries fails because of overly zealous illegal path check, amy at amyspark dot me, 2024/01/16
- [Bug binutils/31250] Stripping Rust static libraries fails because of overly zealous illegal path check, amy at amyspark dot me, 2024/01/16
- [Bug binutils/31250] Stripping Rust static libraries fails because of overly zealous illegal path check,
nickc at redhat dot com <=
- [Bug binutils/31250] Stripping Rust static libraries fails because of overly zealous illegal path check, nickc at redhat dot com, 2024/01/25
- [Bug binutils/31250] Stripping Rust static libraries fails because of overly zealous illegal path check, amy at amyspark dot me, 2024/01/25
- [Bug binutils/31250] Stripping Rust static libraries fails because of overly zealous illegal path check, amy at amyspark dot me, 2024/01/25
- [Bug binutils/31250] Stripping Rust static libraries fails because of overly zealous illegal path check, nickc at redhat dot com, 2024/01/26
- [Bug binutils/31250] Stripping Rust static libraries fails because of overly zealous illegal path check, cvs-commit at gcc dot gnu.org, 2024/01/26
- [Bug binutils/31250] Stripping Rust static libraries fails because of overly zealous illegal path check, amy at amyspark dot me, 2024/01/26
- [Bug binutils/31250] Stripping Rust static libraries fails because of overly zealous illegal path check, nickc at redhat dot com, 2024/01/26