preprocessor/8077: Problems with -o option, unrecognized option -auxbase-strip

Peter Schmid schmid@snake.iap.physik.tu-darmstadt.de
Sat Sep 28 06:32:00 GMT 2002


>Number:         8077
>Category:       preprocessor
>Synopsis:       Problems with -o option, unrecognized option -auxbase-strip
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 28 06:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Peter Schmid
>Release:        3.3 20020927 (experimental)
>Organization:
TU Darmstadt
>Environment:
System: Linux kiste 2.4.18 #8 Sat Mar 9 15:33:15 CET 2002 i686 unknown
GNU ld version 2.13.90.0.4 20020814
Architecture: i686	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --enable-shared --disable-nls --enable-threads=posix --enable-languages=c,c++,f77,objc --enable-__cxa_atexit
>Description:
Current gcc cvs snapshots stop compiling with an error: unrecognized
option `-auxbase-striphello.o' message when there is no separating 
white space between the -o specifier and the argument. The separator is not
required for other c and c++ compilers. Previous gcc versions compile the
following example without a problem. Is this "new" behaviour mandated
by the standard? 

>How-To-Repeat:
hello.c
int main() {}

gcc -v -c hello.c -ohello.o
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../gcc/configure --enable-shared --disable-nls --enable-threads=posix --enable-languages=c,c++,f77,objc --enable-__cxa_atexit
Thread model: posix
gcc version 3.3 20020927 (experimental)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3/cc1 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=0 hello.c -quiet -dumpbase hello.c -auxbase-striphello.o -version -o /tmp/ccVVczMk.s
cc1: error: unrecognized option `-auxbase-striphello.o'
GNU C version 3.3 20020927 (experimental) (i686-pc-linux-gnu)
	compiled by GNU C version 3.3 20020927 (experimental).

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list