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 --------------------