[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/26060] New: When configured without a specific target 'str
From: |
rguenth at gcc dot gnu.org |
Subject: |
[Bug binutils/26060] New: When configured without a specific target 'strip' corrupts the first archive member |
Date: |
Fri, 29 May 2020 07:49:58 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26060
Bug ID: 26060
Summary: When configured without a specific target 'strip'
corrupts the first archive member
Product: binutils
Version: 2.32
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
When you configure binutils for example without support for the avr target
then invoking strip on an archive does
> strip test.a
strip: Unable to recognise the format of the input file
`test.a(f7_c_get_s64.o)'
note it fails to print the same message for the first archive member which
is then corrupted, diff of the ELF header:
--- aa 2020-05-29 09:35:53.120535838 +0200
+++ bb 2020-05-29 09:35:48.240467762 +0200
@@ -6,18 +6,18 @@
OS/ABI: UNIX - System V
ABI Version: 0
Type: REL (Relocatable file)
- Machine: Atmel AVR 8-bit microcontroller
+ Machine: None
Version: 0x1
Entry point address: 0x0
Start of program headers: 0 (bytes into file)
- Start of section headers: 568 (bytes into file)
the header of the second archive member is OK.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/26060] New: When configured without a specific target 'strip' corrupts the first archive member,
rguenth at gcc dot gnu.org <=
- [Bug binutils/26060] When configured without a specific target 'strip' corrupts the first archive member, rguenth at gcc dot gnu.org, 2020/05/29
- [Bug binutils/26060] When configured without a specific target 'strip' corrupts the first archive member, hjl.tools at gmail dot com, 2020/05/29
- [Bug binutils/26060] When configured without a specific target 'strip' corrupts the first archive member, rguenth at gcc dot gnu.org, 2020/05/29
- [Bug binutils/26060] When configured without a specific target 'strip' corrupts the first archive member, hjl.tools at gmail dot com, 2020/05/29
- [Bug binutils/26060] When configured without a specific target 'strip' corrupts the first archive member, amodra at gmail dot com, 2020/05/29