Date: Tue, 4 Apr 1995 13:09:31 +0200 (MET DST) From: cracauer@wavehh.hanse.de (Martin Cracauer) To: FreeBSD-questions@freefall.cdrom.com Subject: FreeBSD-2.0R: ar/ranlib problems with certain object files Message-ID: <9504041109.AA29409@wavehh.hanse.de>
next in thread | raw e-mail | index | archive | help
For some object file in archives created with `ar rv`, the string structure in ar_hdr seems to be destroyed. It seems that the first char in the structure is left out and the rest is misplaced (1 char forward). Example, just pulled out the whole structure as string: This entry seems OK: > ar_name '#1/29 796989747 0 0 100644 698 ` > ' > ar_date '796989747 0 0 100644 698 ` > ' > ar_uid '0 0 100644 698 ` > ' > ar_gid '0 100644 698 ` > ' > ar_mode '100644 698 ` > ' > ar_size '698 ` > ' > ar_fmag '` > ' This is the next entry in the same file. As you can see, the whole string is misplaced. ranlib finannly fails when checking ar_fmag. > ar_name '1/27 796987708 0 0 100644 381 ` > d' > ar_date '96987708 0 0 100644 381 ` > d' > ar_uid ' 0 100644 381 ` > d' > ar_gid ' 100644 381 ` > d' > ar_mode '00644 381 ` > d' > ar_size '81 ` > d' > ar_fmag ' > d' What is the problem here? Do you have a fix? The sources in question are Mach4-sources, but I've seen the same problem before (building gcc and ObjC-Tools). Thanks for any help. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Private email Martin.Cracauer@wavehh.hanse.de Fax +4940 522 8536. No NeXTMail! "As far as I'm concerned, if something is so complicated that you can't ex- plain it in 10 seconds, then it's probably not worth knowing anyway" - Calvin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9504041109.AA29409>