Possible bug in egcs-1.1b?

H.J. Lu hjl@lucon.org
Sun Sep 27 09:21:00 GMT 1998


> 
> Guys, I ran into a problem with egcs whilst attempting to build
> ltrace-0.3.6. 
> 
> I am not sure if the struct definition is correct though, but common sense
> would dictate that it is. This is with egcs-1.1b, glibc-2.0.96 (checked
> and the header definitions for the option struct is identical to that of
> glibc-2.0.4, so can't be the problem).
> 
> Here's a short test program that replicates the problem:
> 
> #include <getopt.h>
> 
> int main(void)
> {
> 	static struct option wibble[] = {
> 		{ "align", 1, 0, 'a'},
> 		{ "debug", 0, 0, 'd'},
> 		{ "demangle", 0, 0, 'C'},
> 		{ "help", 0, 0, 'h'},
> 		{ "output", 1, 0, 'o'},
> 		{ "version", 0, 0, 'V'},
> 		{ 0, 0, 0, 0}
> 	};
> }
> 

I have no problems with egcs 1.1b on Linux/x86 glibc 2.0 and 2.1.


H.J.



More information about the Gcc mailing list