From owner-freebsd-questions Tue Apr 4 04:17:11 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id EAA10471 for questions-outgoing; Tue, 4 Apr 1995 04:17:11 -0700 Received: from ki1.chemie.fu-berlin.de (ki1.Chemie.FU-Berlin.DE [160.45.24.21]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id EAA10465 for ; Tue, 4 Apr 1995 04:17:08 -0700 Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1) from mail.hanse.de (134.100.239.2) with smtp id ; Tue, 4 Apr 95 13:15 MEST Received: from wavehh.UUCP by mail.hanse.de with UUCP for FreeBSD-questions@freefall.cdrom.com id ; Tue, 4 Apr 95 13:15 MET DST Received: by wavehh.hanse.de (4.1/SMI-4.1) id AA29409; Tue, 4 Apr 95 13:09:32 +0200 From: cracauer@wavehh.hanse.de (Martin Cracauer) Message-Id: <9504041109.AA29409@wavehh.hanse.de> Subject: FreeBSD-2.0R: ar/ranlib problems with certain object files To: FreeBSD-questions@freefall.cdrom.com Date: Tue, 4 Apr 1995 13:09:31 +0200 (MET DST) Reply-To: cracauer@wavehh.hanse.de X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1548 Sender: questions-owner@FreeBSD.org Precedence: bulk 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