This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11742] New: -fPIC generates invalid assembly on Pentium III coppermine
- From: "collar at gamic dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jul 2003 09:44:23 -0000
- Subject: [Bug c++/11742] New: -fPIC generates invalid assembly on Pentium III coppermine
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11742
Summary: -fPIC generates invalid assembly on Pentium III
coppermine
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: collar at gamic dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
Some host information:
uname -a: 2.4.4-4GB (SuSE 7.3)
gcc -v:
Reading specs from /opt/gcc3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Konfiguriert mit: ../gcc-3.3/configure --prefix=/opt/gcc3.3 --program-suffix=3.3
Thread model: posix
gcc-Version 3.3
cat /proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
Problem:
If I use -fPIC when compiling some source files I get the following error:
{standard input}: Assembler messages:
{standard input}:315: Error: Rest of line ignored. First ignored character is `@'.
{standard input}:316: Error: Rest of line ignored. First ignored character is `@'.
{standard input}:317: Error: Rest of line ignored. First ignored character is `@'.
{standard input}:318: Error: Rest of line ignored. First ignored character is `@'.
{standard input}:319: Error: Rest of line ignored. First ignored character is `@'.
{standard input}:320: Error: Rest of line ignored. First ignored character is `@'.
I will attache a .tgz which includes the source, .ii file and a Makefile that
will produce the problem. The source comes from the NewMat library, available
here and there on the Internet.