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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to