Subject: bin/2073: /usr/libexec/cc1* should be linked with -static
To: None <gnats-bugs@NetBSD.ORG>
From: Matthias Pfaller <leo@dachau.marco.de>
List: netbsd-bugs
Date: 02/13/1996 13:46:07
>Number: 2073
>Category: bin
>Synopsis: /usr/libexec/cc1* should be linked with -static
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Feb 13 09:05:02 1996
>Last-Modified:
>Originator: Matthias Pfaller
>Organization:
leo@dachau.marco.de in real life: Matthias Pfaller
marco GmbH, 85221 Dachau, Germany tel: +49 8131 516142
>Release: 960209
>Environment:
<machine, os, target, libraries (multiple lines)>
System: NetBSD robin 1.1_ALPHA NetBSD 1.1_ALPHA (ROBIN) #0: Mon Nov 6 16:27:59 MET 1995 leo@robin:/usr/src/sys/arch/i386/compile/ROBIN i386
>Description:
The textsize of the /usr/libexec/cc1* files is about 50kb *smaller* when
linked with -static. This is probably caused by the large symbol table
included in the text segment of the executables.
>How-To-Repeat:
Just relink cc1 and do a size on it.
>Fix:
Link with -static, or even better modify ld...
--
leo@dachau.marco.de in real life: Matthias Pfaller
marco GmbH, 85221 Dachau, Germany tel: +49 8131 516142
>Audit-Trail:
>Unformatted: