Jan Hubicka <[email protected]> writes:
>> This patch broke Solaris bootstrap:
>>
>> /vol/gcc/src/hg/trunk/local/gcc/config/sol2.c: In function 'void
>> solaris_elf_asm_comdat_section(const char*, unsigned int, tree)':
>> /vol/gcc/src/hg/trunk/local/gcc/config/sol2.c:213:17: error:
>> 'decl_comdat_group' was not declared in this scope
>> /vol/gcc/src/hg/trunk/local/gcc/config/sol2.c: In function 'int
>> solaris_define_comdat_signature(comdat_entry**, void*)':
>> /vol/gcc/src/hg/trunk/local/gcc/config/sol2.c:267:12: error:
>> 'decl_comdat_group' was not declared in this scope
>>
>> The following snippet allows a sparc-sun-solaris2.11 bootstrap to go
>> along further, only to break again later in libjava for what seems to be
>> unrelated reasons.
>>
>> 2014-05-26 Rainer Orth <[email protected]>
>>
>> * config/sol2.c: Include cgraph.h.
>
> I moved decl_comdat_group offline that should fix the problem. Does it work
> now?
It does indeed.
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University