Date: Mon, 2 Dec 2002 12:10:03 -0800 (PST) From: Ceri Davies <ceri@FreeBSD.org> To: freebsd-ports@FreeBSD.org Subject: Re: ports/45805: security/sfs does not build on Alpha Message-ID: <200212022010.gB2KA3IC054882@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/45805; it has been noted by GNATS. From: Ceri Davies <ceri@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: ports/45805: security/sfs does not build on Alpha Date: Mon, 2 Dec 2002 20:05:05 +0000 Adding to audit trail: Message-Id: <20021201194941.GA65130@theater.foldr.org> Date: Sun, 1 Dec 2002 20:49:41 +0100 From: Volker Stolz <vs@foldr.org> To: Charlie & <root@neslonek.bio.tu-darmstadt.de> Cc: FreeBSD-gnats-submit@freebsd.org, obraun@freebsd.org In-Reply-To: <200211271835.gARIZVqA000419@neslonek.bio.tu-darmstadt.de> Subject: pending/45901: Re: security/sfs does not build on Alpha References: <200211271835.gARIZVqA000419@neslonek.bio.tu-darmstadt.de> > Am 27. Nov 2002 um 19:35 CET schrieb Charlie &: > > c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../async -I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc -I../svc -DEXECDIR=\"/usr/local/lib/sfs-0.6\" -DETCDIR=\"/usr/local/etc/sfs\" -DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\ " -DSFSDIR=\"/var/spool/sfs\" -O -pipe -mcpu=ev56 -Wall -Werror -c sfskey.C > ********** > > cc1plus: warnings being treated as errors > > sfskey.C: In function `void usage()' > > That's because you have -Werror in your CFLAGS, most probably from > /etc/make.conf. Ooops, too quick. There's indeed a strange snippet in there, supposed to work around a GCC bug on alpha. Not relevant to FreeBSD though, and the workaround causes the above behaviour. New patch file: --- agent/sfskey.h.orig Sun Dec 1 17:32:05 2002 +++ agent/sfskey.h Sun Dec 1 18:03:45 2002 @@ -34,7 +34,7 @@ extern bool opt_quiet; extern ref<agentconn> aconn; -#if __GNUC__ == 2 && __GNUC_MINOR__ <= 95 && defined (__alpha__) +#if __GNUC__ == 2 && __GNUC_MINOR__ <= 95 && defined (__alpha__) && !defined(__FreeBSD__) # define XXX_EXIT 1 #endif /* gcc <= 2.95.x && alpha */ -- Volker Stolz * stolz@i2.informatik.rwth-aachen.de * PGP + S/MIME To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212022010.gB2KA3IC054882>