Subject: pkg/4938: jpeg tries to build with ld -Bforcearchive, fails on pmax
To: None <>
From: Chris Jones <>
List: netbsd-bugs
Date: 02/04/1998 15:54:03
>Number:         4938
>Category:       pkg
>Synopsis:       jpeg tries to build with ld -Bforcearchive and fails on pmax
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb  4 15:05:00 1998
>Originator:     Chris Jones
Chris Jones                          
           Mad scientist in training...
"Is this going to be a stand-up programming session, sir, or another bug hunt?"
>Release:        <NetBSD-current source date>1.3
System: NetBSD 1.3 NetBSD 1.3 (PMAX) #0: Wed Jan 28 15:23:19 MST 1998 pmax

/usr/share/mk/	$NetBSD:,v 1.43 1998/02/02 08:11:49 hubertf Exp $
/usr/share/mk/	$NetBSD:,v 1.7 1998/01/30 14:33:48 agc Exp $
/usr/share/mk/	$NetBSD:,v 1.58 1998/01/15 09:37:25 agc Exp $

The jpeg package won't build on pmax because it tries to run ld with
-Bforcearchive, which apparently doesn't work on pmax.
I removed the string "-Bforcearchive " from patch-aa, and the package now
compiles and installs.  I'm sure that's not the right way to do this, but
I'm not familiar enough with the package system to know where to put
architecture-specific patch files.

For the record, I'm also not positive that's the *right* way to build
shared libs on a pmax; I just know it compiled and installed something
that file identifies as a shared lib.