www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/2000/10/27/03:03:39

Date: Fri, 27 Oct 2000 00:00:01 -0700 (PDT)
From: JH <portal AT iconia DOT net>
To: pgcc AT delorie DOT com
Subject: Bug in PGCC?
Message-ID: <Pine.LNX.4.21.0010262340230.2586-100000@iconia.net>
MIME-Version: 1.0
Reply-To: pgcc AT delorie DOT com

cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O3
-fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-march=i686 -mpentiumpro -mmx -mcpu=pentiumpro -malign-loops=2
-malign-jumps=2 -malign-functions=4 -DCPU=686   -c -o genhd.o genhd.c
{standard input}: Assembler messages:
{standard input}:1113: Error: invalid character (0xffffff84) in mnemonic
cc: Internal compiler error: program as got fatal signal 11
make[3]: *** [genhd.o] Error 1

This mnemonic message is consistent on any variation of linux I've used
from binutil 2.9.5.* to binutil 2.10 and pgcc's earlier versions to
pgcc-2.95.3.  It also tends to go on a number of programs, not just the
kernel.  Some programs, like gzip will compile without a hitch with mmx
optimizations.  Others, which may or may not need it, generate this
same unusual mnemonic error message and fail to compile.  If it's not
optimized or useable code, shouldn't the compiler just go forward with the
compilation, or is there a switch that I have neglected to set in the
specs file? 

bash-2.04# as --version
GNU assembler 2.10
Copyright 2000 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-linux-gnu'.

bash-2.04# which as
/usr/local/bin/as

bash-2.04# which gcc
/usr/local/bin/gcc

bash-2.04# gcc --version
pgcc-2.95.3

Processors giving this error message: Intel PIII-450, Athlon 700, Amd
K5-166, Amd K6-2 400, Amd K6-3 450.  

Variations of Linux: RedHat 5.1, 5.2, 6.0, 6.1, 6.2, Slackware 3.4, 3.6,
7.0, 7.1, SuSe Linux 6.0, 6.1, 6.2. 

Variations on glibc: libc6 (2.1.1, 2.1.2, 2.1.3, 2.1.92 [I know it's
experimental]).

I'm certainly willing to assist in whatever way I can.  Mind you, however,
I lack programming skills to be able to answer header or include
questions, but I can give you any other information on the system or
assist in troubleshooting in any fashion you could provide me enough data
on.  I'm running Slackware 7.1 on this system pretty much straight from
the box, minus the upgrades now in /usr/local. (Binutils 2.10,
pgcc-2.95.3, make-3.97.1, tar-1.13.17, gzip-1.3, and bash-2.04).  The test
system in question has an Athlon 700 processor, 192MB of ram, and 199MB
swap space active.  Running kernel version 2.2.17.

None of those facts seems to alter the mnemonic message since I've tried
it on a variation of different linux distributions with a variety of
configurations (as described above).. I'm assuming the compiler or the
assembler tools do not know what to do with the mnemonic.  I tried also
the AthlonGCC patch to PGCC, no change.  I did a large amount of 
searching of news groups, help faqs, web pages, and search engines.  None
of which have yielded a clue as to the solution or origin of the 
problem.  I'm hoping someone could help.

Thanks! :-)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019