Subject: port-i386/374: minimum shared executable size too large at 12kb
To: None <gnats-admin>
From: Bill Sommerfeld <>
List: netbsd-bugs
Date: 07/31/1994 12:35:05
>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:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 31 12:35:03 1994
>Originator:     Bill Sommerfeld
System: NetBSD 1.0-ALPHA NetBSD 1.0-ALPHA (ORCHARD) #4: Fri Jul 22 10:36:08 EDT 1994 i386

	[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.
	$ cat >foo.c <<EOF
	main() {printf("Hello, world\n");}
	$ cc -o foo foo.c
	$ size foo
	text	data	bss	dec	hex
	8192	4096	0	12288	3000
	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..