This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: RFA: always default to using the libiberty regex


On Mon, Jan 27, 2003 at 04:56:56PM -0800, Martin M. Hunt wrote:
> This patch deletes the configure code to check the OS implementation of
> regex and default to that. The default will now always be the builtin.
> 
> 
> 2003-01-27  Martin M. Hunt  <hunt@redhat.com>
> 
> 	* configure.in: Revert check for system regex.  Use builtin 	regex by
> default. 
> 	* configure: Rebuilt.
> 

I'm still not convinced this is a good idea.

Context: it's a bug in the system's GNU C library, and should be fixed
as such.  All the rest of us who have a version of glibc which has this
issue addressed don't have a problem, and I don't really want to carry
around yet another statically linked copy of regex if I don't need to. 
Since it doesn't manifest on my system, I suspect it is fixed in glibc
2.3.1; it's another piece of fallout from Red Hat's choice of using the
brand-new barely-tested glibc 2.2.93 for their desktop product.

What about getting a better range of affected glibc versions and
conditioning the test on those?  Do you think that would work?

[Oh, and please don't post the diffs to "configure" to the mailing
list.]

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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