On Sat, Jan 14, 2006 at 09:36:50PM -0600, Joe Szedula wrote:
> I just tried:
> 
>      # cd /usr/src/gnu/usr.bin/gcc
>      # make -f Makefile.bsd-wrapper obj
>      # make -f Makefile.bsd-wrapper depend
>      # make -f Makefile.bsd-wrapper
>      # make -f Makefile.bsd-wrapper install
> 
> from "http://www.openbsd.org/faq/current.html"; and got this:
> 
> # make -f Makefile.bsd-wrapper
> ...snip...
> rm -f SYSCALLS.c tmp-SYSCALLS.s
> sed -e s/TARGET_GETGROUPS_T/gid_t/  
> /usr/src/gnu/usr.bin/gcc/gcc/sys-types.h 
> /usr/src/gnu/usr.bin/gcc/gcc/sys-protos.h > SYSCALLS.c
> ./xgcc -B./ -B/usr/amd64-unknown-openbsd3.8/bin/ -isystem 
> /usr/amd64-unknown-openbsd3.8/include -isystem 
> /usr/amd64-unknown-openbsd3.8/sys-include -DIN_GCC   -W -Wall 
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem 
> ./include     -I. -I. -I/usr/src/gnu/usr.bin/gcc/gcc 
> -I/usr/src/gnu/usr.bin/gcc/gcc/.  -I/usr/src/gnu/usr.bin/gcc/gcc/config 
> -I/usr/src/gnu/usr.bin/gcc/gcc/../include  -aux-info SYSCALLS.c.X -S -o 
> tmp-SYSCALLS.s SYSCALLS.c
> SYSCALLS.c:241: warning: function declaration isn't a prototype
> ...snip...
> SYSCALLS.c:1593: warning: function declaration isn't a prototype
> rm -f SYSCALLS.c tmp-SYSCALLS.s
> #

Before you embark on a -current build, it's much better to first
PRACTICE with -stable, and learn to use your tools.

For instance, you have script(1), which is fairly handy to save a full
build log.

So that you can compare with what you do in current, and notice anything
that is truely abnormal.

If you would have followed such a procedure, you would have noticed the
exact same warnings in -stable...

Asking people on a public list if they see the same problems, and duh,
I wonder whether they're really problems or not, is not a really robust
development practice...

Reply via email to