[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-port-i386
Subject: Re: Problem building recent CVS for i386.
From: Jukka Salmi <j+nbsd () 2005 ! salmi ! ch>
Date: 2005-06-16 1:29:26
Message-ID: 20050616012926.GA24997 () moray ! salmi ! ch
[Download RAW message or body]
John Clark --> port-i386 (2005-06-15 18:05:29 -0700):
> Monday I checked out the latest CVS and began the build world process.
>
> Eventually the build died on compiling 'pxeboot/pxe.c'
This is already fixed:
http://mail-index.netbsd.org/current-users/2005/06/14/0019.html
HTH, Jukka
> The reason seems to be due to a change in 'sys/lib/libsa/stand.h'
>
> In stand.h there are several 'rename' defines, such as:
>
> #ifdef LIBSA_RENAME_PRINTF
> ...
> #endif
>
> And:
>
> #ifdef LIBSA_USE_MEMSET
> #define bzero(s, l) memset(s,0,l)
> #endif
>
> However, between early May and June 13, the following define
> has just been blythly inserted into stand.h.
>
> #define bcmp(s1, s2, l ) memcmp(s1, s2, l)
>
> Without any ifdef conditional statements.
>
> This results in a bad macro invocation in 'pxeboot/pxe.c' which
> has as one of it's 'arguments' a macro S_SIZE("..."). This macro
> expands to place the string, and the following length (strlen(..)) into
> the parameter list.
>
> However, because of the redefinition of 'bcmp' in 'stand.h' the macro
> expansion of the re-defined 'bcmp' fails with an argument number missmatch.
>
> John Clark
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic