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



> 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