This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/6733: c



>Number:         6733
>Category:       c
>Synopsis:       Compiler is generating unknown assembler instructions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Mon May 20 05:26:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     John P. Linderman
>Release:        3.1
>Organization:
>Environment:
System: Linux gps.research.att.com 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/jpl/src/gcc-3.1/configure 
>Description:
	When building the "bleeding edge" Perl release, I get the
	following message:

	CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O -Wall
	`sh  cflags "optimize='-O'" pp_pack.o`  pp_pack.c
	CCCMD =  gcc -DPERL_CORE -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O -Wall
	/tmp/ccjyyLrj.s: Assembler messages:
	/tmp/ccjyyLrj.s:2477: Error: no such 386 instruction: `filds'
	/tmp/ccjyyLrj.s:6793: Error: no such 386 instruction: `fistps'
	make: *** [pp_pack.o] Error 1

>How-To-Repeat:
	Get the perl tarball (from ftp://ftp.funet.fi/pub/languages/perl/snap/).
	The version that triggered the error was perl_4016694.tgz, but
	I doubt that the particular version matters much (pp_pack.c
	hasn't changed recently).  Configure it on an intel box.
	(Some expertise in bleeding edge perl would be useful here, but
	sh Configure -Dprefix=/opt/perl \
		-Dusedevel \
		-Duse64bitall \
		-Duseperlio \
		-Dinstallusrbinperl=n
	will probably do.)  I tried various compiler options,
	including -gstabs and -mcpu=i686, but the error persists.

	Perl version 5.8 is about to be released, and will be
	close to the "bleeding edge" version, so it would be
	nice if it could be built with the 3.1 compiler.
	(It builds fine with the 2.96 compiler).

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]