NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: toolchain/45673: gcc on i386 current generates bad code for assembler code in lock.h



The following reply was made to PR toolchain/45673; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
    netbsd-bugs%netbsd.org@localhost, kuehro%gmx.de@localhost
Subject: re: toolchain/45673: gcc on i386 current generates bad code for 
assembler code in lock.h
Date: Wed, 14 Mar 2012 11:50:50 +1100

 > From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: toolchain/45673: gcc on i386 current generates bad code for
 >  assembler code in lock.h
 > Date: Tue, 13 Mar 2012 20:30:02 -0400
 > 
 >  On Mon, 12 Mar 2012 05:35:02 +0000 (UTC)
 >  Matthew Mondor <mm_lists%pulsar-zone.net@localhost> wrote:
 >  
 >  >  I am also encountering this problem in a netbsd-6/amd64 build attempt
 >  >  today.  Also, pkg/45814 seems to be related.
 >  
 >  Just for more information, to trigger this bug when building
 >  netbsd-6/amd64, I have to add DBG=-g to /etc/mk.conf
 
 that sounds like a bad idea.  you're missing -O2 now, which may be
 why gcc is getting the asm wrong...
 
 i use DBG=-g -O2.
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index