From gavin.simpson at ucl.ac.uk  Tue Sep 19 15:34:29 2006
From: gavin.simpson at ucl.ac.uk (Gavin Simpson)
Date: Tue, 19 Sep 2006 14:34:29 +0100
Subject: [Rd] Using \u2030 in plot axis label -> stack smashing
In-Reply-To: <x2bqpc2gf9.fsf@viggo.kubism.ku.dk>
References: <1158586738.28530.52.camel@gsimpson.geog.ucl.ac.uk>
	<loom.20060918T205234-775@post.gmane.org>
	<1158614334.2277.7.camel@graptoleberis.geog.ucl.ac.uk>
	<450F608A.30508@bfro.uni-lj.si>
	<dc41e1260609182113p48a7f35dg3b27f7100f435170@mail.gmail.com>
	<Pine.LNX.4.64.0609190746490.27751@gannet.stats.ox.ac.uk>
	<1158662883.10675.11.camel@gsimpson.geog.ucl.ac.uk>
	<Pine.LNX.4.64.0609191150000.12225@gannet.stats.ox.ac.uk>
	<x2bqpc2gf9.fsf@viggo.kubism.ku.dk>
Message-ID: <1158672869.10675.15.camel@gsimpson.geog.ucl.ac.uk>

On Tue, 2006-09-19 at 14:23 +0200, Peter Dalgaard wrote:
> Prof Brian Ripley <ripley at stats.ox.ac.uk> writes:
> 
> > > Thanks Prof. Ripley and Ei-Ji. I should have mentioned that all the
> > > versions I reported for were self-compiled, and I did so with the same
> > > set of flags as the FC5 rpm. Will add that to the list in my head of
> > > things to report.
> > 
> > (I think this is probably FC5's flags being over-zealous, but Ei-ji
> > Nakama may know better.)
> 
> Probably not all that over-zealous. If you're smashing the stack you're
> smashing the stack. It's not always fatal, but worth fixing.
> 
> I actually have the same set of standard FC5 flags in config.site.
> Without them, we risk Fedora Extra to come out with issues that we
> missed, since they use those flags as a matter of policy. 
>  
> > >> BTW, just applying this patch will not work: you need to rebuild gram.c
> > >> in maintainer mode.
> > >
> > > I'm not clear what you mean by maintainer mode - not something I have
> > > come across before. If I update the local source on my machine from the
> > > svn server, and make clean, configure and make again, will this be
> > > sufficient? Or do I need to do something else?
> > 
> > Yes, now. Before the patch was applied you need to configure with
> > --enable-maintainer-mode.
> 
> I.e., if the maintainers have done their job maintaining things, they
> will have ensured that gram.c was built from gram.y and
> non-maintainers need to do nothing further. If you play with gram.y,
> you need make sure rebuilding takes place, most easily by configuring
> in maintainer-mode. 
> 
> The fundamental issue is that there are some build tools we don't want
> to assume that everybody has (here: YACC/Bison), and also that build
> times don't usually survive SVN checkouts, so gram.y may well appear
> to be more recent than gram.c.

Dear Prof. Ripley and Peter,

Thanks for explaining the maintainer mode and reasoning behind using it.

G

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Gavin Simpson                 [t] +44 (0)20 7679 0522
 ECRC & ENSIS, UCL Geography,  [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%




[Rd] Using \u2030 in plot axis label -> stack smashing
Gavin Simpson