Date: Thu, 6 May 1999 23:04:51 +0200 To: pgcc AT delorie DOT com Cc: Alex Shnitman Subject: Re: pgcc problem with AMD K6 Message-ID: <19990506230451.D20732@cerebro.laendle> Mail-Followup-To: pgcc AT delorie DOT com, Alex Shnitman References: <14129 DOT 63360 DOT 491937 DOT 17038 AT hectic DOT hectic DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <14129.63360.491937.17038@hectic.hectic.net>; from Alex Shnitman on Thu, May 06, 1999 at 11:16:57PM +0300 X-Operating-System: Linux version 2.2.7 (root AT cerebro) (gcc driver version pgcc-2.93.09 19990221 (gcc2 ss-980929 experimental) executing gcc version 2.7.2.3) From: Marc Lehmann Reply-To: pgcc AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, May 06, 1999 at 11:16:57PM +0300, Alex Shnitman wrote: > release)). > > I compiled a program with the -mk6 flag (why was that changed from > -mamdk6, by the way?), Because egcs added these switches as -mk6. The rationale was that no -m option includes the vendor name (-mintelpentium?). > and it segfaults. There are definitely problems with 1.1.3. this is related to my backport of snapshot features (hey people: thats why I don't like backporting fixes ;) > Then I compiled it with -mk6 -march=i486, and it didn't degfault Interesting. Are you sure? I ask because you seem to infer from your example that the amdk6 is counted as a i486 architecture, which you can't (since then there shouldn't be a difference between both options). > Why does the K6 qualify as i486 architecture? It's supposed to be > totally Pentium-compatible, isn't it? The pentium, the i486 and the amdk6 share the same instruction set architecture (with regards to a compiler). Both pentium and amdk6 use the same instructions (i.e. -march=i486) > The program I was trying to compile is he L.A.M.E. MP3 encoder. I don't > know what else to attach to you; do you want an strace log, or ltrace > log, or anything else? Maybe someone had this problem already? an url where I can fetch that program (and te version numebr you used) would be perfect unless you know the file that is responsible. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg AT goof DOT com |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |