This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unreviewed build/libgcc, mudflap patches
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org, Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>, "Frank Ch. Eigler" <fche at redhat dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Wed, 29 Jun 2011 10:45:16 +0200
- Subject: Re: Unreviewed build/libgcc, mudflap patches
- References: <yddpqlzfr1t.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <4E0AE4A0.6040802@gnu.org>
Paolo,
> On 06/27/2011 01:32 PM, Rainer Orth wrote:
>> Support libmudflap on Solaris (PR libmudflap/38738)
>> http://gcc.gnu.org/ml/gcc-patches/2011-06/msg01446.html
>>
>> This needs the mudflap maintainer.
>
> Build changes are okay, the rest is pretty obvious.
>
> For pass-stratcliff I'd rather use autoconf tests as you suggested.
will do in the next step when dealing with remaining libmudflap failures
on Solaris.
> There's nothing in the toplevel to support feature tests that
> enable/disable modules, unfortunately. It's been done in a very ad-hoc way
> so far, perhaps you can just use "case $target in" (or is it "case $host
> in"? would it be possible to cross-compile from Solaris 10 to Solaris 11
> using Sun tools?).
It would, but I'd rather move this out of toplevel completely, having
the modules enable/disable themselves depending on either static
configuration or configure test outcome. I think Joseph had ideas for
something like this.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University