This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: HAVE_GAS_COMDAT_GROUP problem (GCC Head)


Simon MARTIN wrote:

Hello.

I'm trying to build GCC head and I've been getting a compilation error for 2 days... I wonder if I'm the only one.

The problem is in gcc/varasm.c: the HAVE_GAS_COMDAT_GROUP define is used, but is apparently not declared anywhere. From what I've understood, it is supposed to be set in config.h by configure, but it's not (at least in my case :-). I've tried to reconfigure the whole source tree (by removing config.* from each subdirectory), but it didn't work. Is it a configure / configure.ac problem or am I doing something wrong?


It's probably a configure problem of some kind. You should see "#undef HAVE_GAS_COMDAT_GROUP" in your config.in; at configure-time the compiler should generate an auto-host.h file that contains either "#define HAVE_GAS_COMDAT_GROUP 1" or "#define HAVE_GAS_COMDAT_GROUP 0".

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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