https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577

--- Comment #178 from dave.anglin at bell dot net ---
On 2020-02-13 6:04 p.m., peter.bisroev at groundlabs dot com wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577
>
> --- Comment #176 from Peter Bisroev <peter.bisroev at groundlabs dot com> ---
> (In reply to dave.anglin from comment #174)
>> On 2020-02-13 2:44 p.m., dave.anglin at bell dot net wrote:
>>> The first thing to note is aCC doesn't use weak.  Instead, it uses COMDAT
>>> sections.  Probably, HP ld does support
>>> weak but it's unlikely there is support for linkonce sections.  See defines 
>>> in
>>> config/pa/som.h.  There we implimented
>>> one only support using the linker's COMDAT support.
>> Is HAVE_COMDAT_GROUP defined in auto-host.h?
> For both 4.9.4 and 8.3.0, gcc/auto-host.h contains only one reference to that:
> --------------------
> /* Define 0/1 if your assembler and linker support COMDAT groups. */
> #ifndef USED_FOR_TARGET
> #define HAVE_COMDAT_GROUP 0
> #endif
> --------------------
The configure test didn't find support for COMDAT groups even though aCC and HP
ld
support them.  So, there's likely something incompatible with the default
support for COMDAT
groups.

Could you look at configure test and see why it fails?

Reply via email to