[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/10773] Malformed archive created when adding several files
From: |
konrad dot schwarz at siemens dot com |
Subject: |
[Bug binutils/10773] Malformed archive created when adding several files at once |
Date: |
12 Jan 2010 09:52:28 -0000 |
------- Additional Comments From konrad dot schwarz at siemens dot com
2010-01-12 09:52 -------
(In reply to comment #5)
> Likely a filesystem bug
Actually, the bug went away went I stopped mixing 32 and 64 bit x86 ELF object
files in a single archive. I am almost 100% sure this is the actual cause.
I consider a file system bug unlikely, as I am running on a stock Open SuSE
distribution, I have noticed no other problems in the file system, and the
problem was 100% reproducible on my system when mixing different object file
types, but did not occur when using object files of a single type.
Mixing 32 and 64 bit objects in one archive is certainly a borderline case.
However, GNU ld accepts such archives without a problem.
Furthermore, a feature of ar(1) in traditional Unixes (always touted in the
manuals) was that, if the archive contained only printable files, the entire
archive itself was printable; hence the p option to ar. It follows that ar is
required to archive arbitrary file types.
Thus, I still consider this behavior erroneous and ar buggy.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |
http://sourceware.org/bugzilla/show_bug.cgi?id=10773
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.