bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/21702] ar cannot handle (slim) LTO object files when in MR


From: 12f8219 at gmail dot com
Subject: [Bug binutils/21702] ar cannot handle (slim) LTO object files when in MRI script mode
Date: Fri, 16 Apr 2021 12:49:46 +0000

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

--- Comment #11 from Pavel <12f8219 at gmail dot com> ---
(In reply to Nick Clifton from comment #10)
> (In reply to Pavel from comment #9)
> Hi Pavel,
> 
>   Please can you see if it is possible to reduce the list of object files a
> little bit, and then upload them so that I can run some tests ?
> 
> Cheers
>   Nick

#!/bin/sh

readlink -f /usr/bin/ar
echo 'int main() {return 0;}' > t.c
set -x

gcc -flto -c t.c
/usr/bin/ar crsv l.a t.o

echo '
open l.a
list
end' |
        /usr/bin/ar -M

echo '
open l.a
save
end' |
        /usr/bin/ar -M

gcc -flto -fuse-linker-plugin l.a -o t

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