[Converted from Gnats 1640] Compilation-errors: xlc -c -DHAVE_CONFIG_H -g -I. -I./../include ./regex.c -o regex.o "./regex.c", line 29.3: 1506-224 (I) Incorrect pragma ignored. "./config.h", line 368.9: 1506-213 (S) Macro name inline cannot be redefined. "./config.h", line 368.9: 1506-358 (I) "inline" is defined on line 177 of ./../include/ansidecl.h. xlc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE -DAIX_CORE -DAIX_WEAK_SUPPORT -I. -I. -I./../include -I./../intl -I../intl -g -c bfd.c "elf-bfd.h", line 281.3: 1506-009 (S) Bit-field cie must be of type signed int, unsigned int or int. "elf-bfd.h", line 282.3: 1506-009 (S) Bit-field removed must be of type signed int, unsigned int or int. "elf-bfd.h", line 283.3: 1506-009 (S) Bit-field make_relative must be of type signed int, unsigned int or int. "elf-bfd.h", line 284.3: 1506-009 (S) Bit-field make_lsda_relative must be of type signed int, unsigned int or int. "elf-bfd.h", line 285.3: 1506-009 (S) Bit-field per_encoding_relative must be of type signed int, unsigned int or int. xlc -c -g -I. -I. -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DTUI=1 gdb.c "/usr/include/sys/time.h": 1506-213 (S) Macro name alloca cannot be redefined. "/usr/include/sys/time.h": 1506-358 (I) "alloca" is defined on line 315 of ./../include/libiberty.h. Release: gdb-6.1 Environment: AIX 5.1 xlC.cpp 5.0.2.0 C F C for AIX Preprocessor ./configure --disable-nls
Is this still a problem with the latest release?
I have no idea ... easiest would be for you to try compiling the code ... Surely someone must have tried this in the 7+ years since I reported this issue!!! > From: sourceware-bugzilla@sourceware.org > To: stuart_kemp@hotmail.com > Subject: [Bug build/8745] AIX 5.1 xlc compilation problems > Date: Fri, 18 Nov 2011 15:56:55 +0000 > > http://sourceware.org/bugzilla/show_bug.cgi?id=8745 > > Tom Tromey <tromey at redhat dot com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|ASSIGNED |WAITING > CC| |tromey at redhat dot com > > --- Comment #1 from Tom Tromey <tromey at redhat dot com> 2011-11-18 15:56:55 UTC --- > Is this still a problem with the latest release? > > -- > Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug.
(In reply to comment #2) > I have no idea ... easiest would be for you to try compiling the code ... > Surely someone must have tried this in the 7+ years since I reported this > issue!!! Maybe, but I have no way to know. I also don't have access to the compiler or system involved, so I can't try it myself. If you can't or don't want to bother with this, I can close it.
Looking at the files involved, it looks like it should be redispatched to gcc (libiberty) and bfd, no? Stuart: There aren't many people with access to an AIX system, and even those who do may not have access to xlc. All I know is that I am able to build GDB on AIX when using GCC as the compiler. Can you try using GCC instead?
> Looking at the files involved, it looks like it should be redispatched to gcc > (libiberty) and bfd, no? Yeah. I think we should just close this. Keeping it open all these years hasn't done any good, and it's not likely to do any good now either.
This is from such a looooong time ago ... maybe it is fixed/addressed, maybe not. Possibly it did compile with gcc at the time, but I think I was trying xlc because the gcc-built gdb binary just did not work. Close it, and will resubmit if need be in the future. -Stuart > Stuart: There aren't many people with access to an AIX system, and even those > > who do may not have access to xlc. All I know is that I am able to build GDB on > > AIX when using GCC as the compiler. Can you try using GCC instead? > > > > -- > > Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email > > ------- You are receiving this mail because: ------- > > You reported the bug.
To be reopened if issue still exists.
*** Bug 260998 has been marked as a duplicate of this bug. *** Seen from the domain http://volichat.com Page where seen: http://volichat.com/adult-chat-rooms Marked for reference. Resolved as fixed @bugzilla.