Subject: Re: CVS commit: src/sys/kern
To: None <jdev@panix.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: source-changes
Date: 09/01/2006 12:24:51
jdev@panix.com wrote:

> Izumi Tsutsui <tsutsui@netbsd.org> writes:
> 
> > Log Message:
> > Disable asm statement which defines bpendtsleep symbol as "handy breakpoint"
> > on all m68k ports since it may cause a multiple symble definition error
> > by code duplication of gcc4 optimizer. Also note about this in comment.
> 
> Why not either disable it for everyone,

Because the code duplication doesn't happen on all architecture?
(and maybe it also depends on how splx() is defined)
There is a suggestion to remove it completely, but I don't think
we have a consensus yet.

> or figure out how to forbid
> GCC from duplicating the statement?

Currently no one knows the right method to have such barrier,
since __asm("":::"memory") no longer prevent it on gcc4.
Do you have any idea?
---
Izumi Tsutsui