DragonFly BSD
DragonFly users List (threaded) for 2009-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: tcsh-6 compilation error with gcc44 (buildworld)

From: Sascha Wildner <saw@xxxxxxxxx>
Date: Sun, 08 Nov 2009 13:28:10 +0100

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 v2.5.1.187.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 http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5623ae32853fcfb747f493ea6af0059a56fb9b56

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.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]