www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/11/25/19:10:30

Sender: bernd AT alpha DOT dynacom DOT de
Message-ID: <383DB353.B7D7903E@ixsoft.de>
Date: Thu, 25 Nov 1999 23:08:19 +0100
From: Bernd Hentig <bernd AT ixsoft DOT de>
Organization: ixsoft Software Development and Distribution
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: pgcc AT delorie DOT com
Subject: illegal instruction on AMD K6 ?
Reply-To: pgcc AT delorie DOT com

Hi

first - sorry for the most unfortunate effort to subscribe to the list lately ..

I've been trying to compile various binaries for AMD K6 with pgcc 2.95.2
final but I keep getting "illegal instruction" when using some binaries.

These are the flags I'm using:
-O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -fno-software-pipe -s
-ffast-math -mstack-align-double -malign-double
-fexpensive-optimizations -malign-loops=2 -malign-jumps=2
-malign-functions=2 -funroll-all-loops -mpreferred-stack-boundary=2

I have also tried to add all combinations of -mcpu=i586, pentium or k6
and the same for -march.
Also I have tried all optimization from -Os to -O9 (probably not
supported anyway :) - the same
results.
This is a typical small programm that gives me this error on my
AMD K6-II/400 with 128 MB DRAM:

ftp://ftp.redhat.com/pub/redhat/redhat-6.1/SRPMS/SRPMS/ldconfig-1.9.5-15.src.rpm

This problem does not occur with gcc 2.95.2, probably it does not
optimize that much ?

Any help highly appreciated

Thanx + Regards

Bernd

--
   ixsoft Softwareentwicklung und -vertrieb
                 Bernd Hentig
Unter den Buchen 22E, D-16244 Altenhof, Germany
Voice ++49 333 63 46 100 Fax ++49 333 63 46 109
        Email Bernd DOT Hentig AT ixsoft DOT de



- Raw text -


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