NetBSD Problem Report #374
From gnats Sun Jul 31 12:21:18 1994
Received: from bloom-beacon.mit.edu (BLOOM-BEACON.MIT.EDU [18.181.0.26]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with SMTP id MAA26589 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Sun, 31 Jul 1994 12:21:16 -0700
Message-Id: <199407311913.PAA00526@orchard.medford.ma.us>
Date: Sun, 31 Jul 1994 15:13:18 -0400
From: sommerfeld@orchard.medford.ma.us (Bill Sommerfeld)
Reply-To: sommerfeld@orchard.medford.ma.us
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: minimum shared executable size too large at 12kb
X-Send-Pr-Version: 3.2
>Number: 374
>Category: port-i386
>Synopsis: minimum shared executable size too large at 12kb
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Jul 31 12:35:03 +0000 1994
>Closed-Date: Mon Sep 19 09:11:01 +0000 1994
>Last-Modified:
>Originator: Bill Sommerfeld
>Release:
>Organization:
None
>Environment:
System: NetBSD orchard.medford.ma.us 1.0-ALPHA NetBSD 1.0-ALPHA (ORCHARD) #4: Fri Jul 22 10:36:08 EDT 1994 root@orchard.medford.ma.us:/u1/nsys/sys/arch/i386/compile/ORCHARD i386
>Description:
[as requested by jtc, this is a resubmission of my earlier report]
The minimum size of shared executables, at 12kb, strikes me as
being too large.
>How-To-Repeat:
$ cat >foo.c <<EOF
main() {printf("Hello, world\n");}
EOF
$ cc -o foo foo.c
$ size foo
text data bss dec hex
8192 4096 0 12288 3000
>Fix:
Here's one which worked for me:
Try either a) turning libgcc into a shared library, or b) putting
the modules of libgcc into libc. Option (a) made the
difference between 4k and 8k of text in the above program.
I'm sure there may be other possibilities as well..
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mycroft
State-Changed-When: Mon Sep 19 02:11:01 PDT 1994
State-Changed-Why:
This duplicates PR 429, which has been addressed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.