file permissions when stripping under fakeroot

Allan McRae allan@archlinux.org
Sun Feb 7 04:39:51 GMT 2021


On 7/2/21 2:19 pm, Allan McRae via Binutils wrote:
> On 7/2/21 3:25 am, Siddhesh Poyarekar wrote:
>> On 2/6/21 10:45 PM, Allan McRae wrote:
>>>>> Revert "binutils: Make smart_rename safe too"
>>>>>
>>>>> https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=355e5f2ffbc0db0c6db77586d879553b72958187
>>>>>
>>>>>
>>>>
>>>> I'm afraid I can't reproduce this on Fedora off the 2.36.1 tag or off
>>>> master.  Could you let me know the fakeroot version+distro you're using?
>>>>
>>>
>>> fakeroot version 1.25.3 on Arch Linux.
>>
>> Still no luck, could you share your binutils configuration too?
>>
> 
> I just replicated on Fedora rawhide, building from the 2.36.1 tarball
> with configure options:
> 
>   ../binutils-2.36.1/configure \
>     --prefix=/usr \
>     --enable-cet \
>     --enable-deterministic-archives \
>     --enable-gold \
>     --enable-ld=default \
>     --enable-lto \
>     --enable-plugins \
>     --enable-relro \
>     --enable-targets=x86_64-pep \
>     --enable-threads \
>     --disable-gdb \
>     --disable-werror \
>     --with-pic \
>     --with-system-zlib
> 

>From local testing, glibc-2.33 appears to be needed in combination with
binutils-2.36.1 for this issue to occur.  This would explain the issue
being present on rawhide and not on release Fedora versions.

Allan



More information about the Binutils mailing list