This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug bootstrap/12276] [3.3/3.4 regression] Configure check forlibunwind does not work with cross


On Fri, 2003-10-03 at 08:33, Andreas Schwab wrote:
> "mmitchel at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
> 
> > Apparently, this was considered to be desirable behavior; the ChangeLog says:
> >
> > 2002-10-02  David Mosberger-Tang  <David.Mosberger@acm.org>
> >
> > 	* configure.in: Move sjlj-exceptions and --enable-libunwind-exceptions
> > 	before inclusion of config.gcc, but after configuring the compiler etc.
> > 	Determine default value for --enable-libunwind-exceptions based on
> > 	whether the host has a libunwind library (not guaranteed to be correct,
> > 	but it's a reasonable first guess and can always be overridden with an
> > 	explicit --enable/disable-libunwind-exceptions.
> >
> > Therefore, I've closed this bug.  If you still think it's a bug, bring it up on
> > the GCC mailing list and see if you can get consensus about that.
> 
> I don't think it is desirable to suddenly get a broken cross compiler just
> because someone installed libunwind on your host system.
> 
> Tested both natively and with a ia64->m68k cross.

I agree that predictable behavior is good.

OK for mainline.

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]