[Cbe-oss-dev] GCC inline memcpy() from local store causes bad page fault
Benjamin Herrenschmidt
benh at kernel.crashing.org
Thu Mar 22 17:03:56 EST 2007
On Thu, 2007-03-22 at 13:52 +0900, Akinobu Mita wrote:
> On Tue, Mar 20, 2007 at 07:53:35AM -0700, Andrew Pinski wrote:
> > On 3/20/07, Anton Blanchard <anton at samba.org> wrote:
> > >
> > >Interesting, gcc shouldnt be emitting string instructions these days.
> > >What gcc version/cpu target was this build using?
> >
> > Can I recommend that just like -mno-altivec is added, -mno-string is
> > added to make file to make sure that the string instructions are not
> > emitted if someone supplies -Os.
>
> But we already have -mstring in arch/powerpc/Makefile
>
> ifndef CONFIG_FSL_BOOKE
> CFLAGS += -mstring
> endif
>
> So should we delete these lines completely and force -mno-string option?
Yes, I think we should. I'll send a patch in a minute...
Cheers,
Ben.
More information about the cbe-oss-dev
mailing list