Silly branch compile failure, stage 1

Kaveh R. Ghazi
Mon Apr 2 08:42:00 GMT 2001

 > From: Neil Booth <> 
 > The tree seems to be in a bit of a state at the moment.  I've not
 > tried to bootstrap branch for about a week, so I don't really know how
 > long this has been an issue.
 > gcc -c  -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes
 > -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
 > -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I. -I../../gcc
 > -I../../gcc/. -I../../gcc/config -I../../gcc/../include
 > ../../gcc/gengenrtl.c
 > In file included from ../../gcc/gengenrtl.c:23:
 > ../../gcc/system.h:330: conflicting types for `getrlimit'
 > /usr/include/sys/resource.h:52: previous declaration of `getrlimit'
 > ../../gcc/system.h:341: conflicting types for `setrlimit'
 > /usr/include/sys/resource.h:72: previous declaration of `setrlimit'
 > x86 Linux.
 > Neil.

I don't see this on my x86-linux system through last night.

It looks like configure isn't correctly noticing that you already have
decls for getrlimit & setrlimit.  Can you look in config.log and see
why the check for that fails?

Kaveh R. Ghazi			Engagement Manager / Project Services		Qwest Internet Solutions

More information about the Gcc-bugs mailing list