Subject: bin/2147: cc -fPIC broken
To: None <gnats-bugs@NetBSD.ORG>
From: Lennart Augustsson <augustss@cs.chalmers.se>
List: netbsd-bugs
Date: 02/29/1996 02:07:44
>Number: 2147
>Category: bin
>Synopsis: cc -fPIC broken
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 28 20:20:02 1996
>Last-Modified:
>Originator: Lennart Augustsson
>Organization:
Chalmers University of Technology
>Release: NetBSD-current 960229
>Environment:
System: NetBSD calvin.cs.chalmers.se 1.1A NetBSD 1.1A (CALVIN) #2: Wed Feb 28 20:49:20 MET 1996 augustss@calvin.cs.chalmers.se:/usr/src/sys/arch/i386/compile/CALVIN i386
>Description:
cc -fPIC generates a warning from the assembler.
>How-To-Repeat:
calvin% cat > c.c
foo() {}
calvin% gcc -v -fPIC -c c.c
gcc version 2.7.2
/usr/libexec/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386 -D__NetBSD__ -D__unix__ -D__i386__ -D__NetBSD__ -D__unix -D__i386 -Asystem(unix) -Asystem(NetBSD) -Acpu(i386) -Amachine(i386) c.c /var/tmp/cc002588.i
GNU CPP version 2.7.2 (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
/usr/include
End of search list.
/usr/libexec/cc1 /var/tmp/cc002588.i -quiet -dumpbase c.c -version -fPIC -o /var/tmp/cc002588.s
GNU C version 2.7.2 (80386, BSD syntax) compiled by GNU C version 2.7.2.
as -k -K -o c.o /var/tmp/cc002588.s
*unknown*: Assembler messages:
*unknown*:0: Warning: as: I don't understand 'K' flag.
>Fix:
Dunno
>Audit-Trail:
>Unformatted: