Subject: Re: i386->vax build fails
To: Aaron J. Grier <>
From: None <>
List: current-users
Date: 07/04/2006 17:32:50
> On Tue, Jul 04, 2006 at 09:46:55AM +0200, Havard Eidnes wrote:
> > The attached patch fixes the build problem, at least for me.  I'm
> > waiting for reply from the portmaster before committing, and
> > apparently he's on vacation (no reply so far).
> > Index: macros.h
> I suppose that works too...  I've attached my patch.
> this of course leads to the question why these macros in macros.h are
> necessary in the first place; wouldn't there be more benefit in revising
> gcc's inline builtins?
For some of them (ffs, scanc, skpc, ...) it may be a good idea,
but others like memcpy or strlen assume things about the kernel
so they would probably not be good to have in gcc. Then there are
other macros (bbcci, insqti, cpu_switch, ...) that are really
specific for the vax and the NetBSD kernel.

-- Ragge