We discovered this issue while importing newer gcc 4.1* into NetBSD tree and saw that suddently it no longer thinks COMDAT is supported.
I've tracked it down to the following change: http://gcc.gnu.org/viewcvs?view=rev&revision=99395 that changed configure.ac to check $ld_date to decide if COMDAT is supported. There are two problems with that change: 1) Released versions of binutils 2.16* do NOT have date in the ld version string: http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldver.c?rev=1.10&content-type=text/x-cvsweb-markup&cvsroot=src fprintf (stdout, _("GNU ld version %s\n"), BFD_VERSION_STRING); 2) The above change to confgiure unconditionally overrides gcc_cv_as_comdat_group and gcc_cv_as_comdat_group_percent passed via environment so we cannot even work around the problem #1 by supplying correct values -- Summary: Misdetection of COMDAT group support Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: uwe at netbsd dot org GCC build triplet: i386--netbsdelf GCC host triplet: i386--netbsdelf GCC target triplet: i386--netbsdelf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30598