[RFC] libiberty build failure after upgrade to autoconf 2.57
Daniel Jacobowitz
drow@mvista.com
Wed Sep 3 22:16:00 GMT 2003
On Wed, Sep 03, 2003 at 03:09:07PM -0700, Joel Brobecker wrote:
> Hello,
>
> I noticed that GDB failed trying to build clock.c in libiberty because
> the declaration of function "clock" in clock.c was conflicting with
> the declaration of "clock" in /usr/include/sys/time.h. Since libiberty
> is shared between GDB and GCC, presumably the same failure applies on
> GCC as well.
Dave Anglin checked in a patch for this this morning, I believe.
> I'm not really sure how this should be fixed. Should it be fixed in
> autoconf for instance? Or should we use a custom test for "clock"
> in libiberty/configure.in? Or should we simply use the standard
> function check except on HP/UX were we know that "clock" is provided.
Should really be fixed in autoconf, IMO.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gcc-patches
mailing list