Subject: toolchain/26525: libgcc_pic.a must be installed even if MKPICINSTALL=no
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <uwe@netbsd.org>
List: netbsd-bugs
Date: 08/02/2004 22:03:37
>Number:         26525
>Category:       toolchain
>Synopsis:       libgcc_pic.a must be installed even if MKPICINSTALL=no
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 03 00:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Valeriy E. Ushakov
>Release:        -current as of 2004-08-03
>Organization:
>Environment:
N/A
>Description:
It's not uncommon to want to do "diet" builds for space starved
H/PC machines.  MKPICINSTALL=no is one of the most obvious knobs.
However, the build will fail b/c libgcc_pic.a will not get installed,
and libgcc_pic.a is special in that it's required to build shared
libraries (that are linked against libgcc_pic.a to pick up gcc's
"millicode" from it).

>How-To-Repeat:
Try building a world for a sh3 machine with MKPICINSTALL=no.

>Fix:
I'm testing a fix.
>Release-Note:
>Audit-Trail:
>Unformatted: