From nobody  Sat Feb 15 06:15:20 1997
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.5/8.8.5) id GAA25709;
          Sat, 15 Feb 1997 06:15:20 -0800 (PST)
Message-Id: <199702151415.GAA25709@freefall.freebsd.org>
Date: Sat, 15 Feb 1997 06:15:20 -0800 (PST)
From: kchowksey@hss.hns.com
To: freebsd-gnats-submit@freebsd.org
Subject: during kernel compilation, 'make' fails (ranlib : libkern.a : Incorrect File Format)
X-Send-Pr-Version: www-1.0

>Number:         2743
>Category:       kern
>Synopsis:       during kernel compilation, 'make' fails (ranlib : libkern.a : Incorrect File Format)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 15 06:20:02 PST 1997
>Closed-Date:    Sat Feb 15 18:28:42 MET 1997
>Last-Modified:  Sat Feb 15 18:34:19 MET 1997
>Originator:     Kapil Chowksey
>Release:        2.1.6-RELEASE
>Organization:
Hughes Software Systems
>Environment:
FreeBSD mchopra.hss.hns.com 2.1.6-RELEASE FreeBSD 2.1.6-RELEASE #0: Sun
Nov 24 23:31:18 1996	jkh@whisker.cdrom.com:/usr/src/sys/compile/GENERIC
>Description:
While builiding a custom kernel, 'make depend' succeeds. But during make,
it complains

Building kernel library
ranlib libkern.a
ranlib : libkern.a : Incorrect File Format

*NOTE* my /usr/src/sys is NFS mounted from a Solaris 2.5 Sparc machine.	
>How-To-Repeat:
mount /usr/src/sys from a solaris 2.5 machine. then build the kernel in 
the standard manner.
>Fix:
This problem could well be with 'ranlib' or FreeBSD NFS client.
No obvious fix is known to me.
>Release-Note:
>Audit-Trail:

From: j@uriah.heep.sax.de (J Wunsch)
To: kchowksey@hss.hns.com
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/2743: during kernel compilation, 'make' fails (ranlib : libkern.a : Incorrect File Format)
Date: Sat, 15 Feb 1997 16:52:35 +0100

 As kchowksey@hss.hns.com wrote:
 
 > Building kernel library
 > ranlib libkern.a
 > ranlib : libkern.a : Incorrect File Format
 > 
 > *NOTE* my /usr/src/sys is NFS mounted from a Solaris 2.5 Sparc machine.
 > >How-To-Repeat:
 > mount /usr/src/sys from a solaris 2.5 machine. then build the kernel in 
 > the standard manner.
 
 Not cofirmed.  Though libkern.a is no longer part of the kernel build,
 i've just tried this against a SunOS 5.1 machine, with various mount
 methods (NFSv2, NFSv3, TCP, UDP), and all of them were correctly able
 to create and ranlib such a library.
 
 Are you sure you aren't suffering from an empty file accidentally left
 over from an aborted build?  If that's not the case, please
 investigate more what's wrong with the data of your libkern.a.  If
 nobody else can reproduce it, it's hard to help you here.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat Feb 15 18:28:42 MET 1997 
State-Changed-Why:  
The problem cannot be reproduced, and mail to the orignator 
bounces right away.  Not much that can be done thus. 
>Unformatted:
