DragonFly users List (threaded) for 2009-11
Re: tcsh-6 compilation error with gcc44 (buildworld)
Saifi Khan schrieb:
On Sat, 7 Nov 2009, Sascha Wildner wrote:
Peter Avalos schrieb:
On Sat, Nov 07, 2009 at 09:49:50PM +0530, Saifi Khan wrote:
On a AMD64X2 system running DragonFly v188.8.131.52.gc1543-DEV
i'm trying to 'buildworld' with 'gcc44' as
# CCVER=gcc44 make buildworld
buildworld is not warning-free with gcc44. You need to also set
Same goes for clang. I've committed a fix that restricts -Werror to gcc41 for
Sascha, i did a git pull to pull in your commit
However, i encountered the *same error* while building tcsh-6,
on running this command:
CCVER=gcc44 make buildworld
So, i specified the macro -DNO_WERROR and the ran the command:
CCVER=gcc44 make -DNO_WERROR buildworld
This works absolutely fine.
Pls note that /etc/make.conf doesnot exist on the system.
Is there a possibility that some other .mk file needs to be
reviewed as well ?
I assume that in this scenario, bsd.sys.mk is updated in your src/ but
not on your host (/usr/share/mk/bsd.sys.mk).
However, gethost.nx (the program your build fails on) is built using
host tools, so the bsd.sys.mk file from /usr/share/mk is taken which
hasn't got the fix.
If you update it (e.g. quickly by 'cp share/mk/bsd.sys.mk /usr/share/mk)
you should no longer need -DNO_WERROR for gcc44.