The definition of LINK_ARCH32_SPEC_BASE in config/sol2.h has /usr/ccs/lib and /usr/lib. It should also include /lib, which is one of the standard libraries searched by the solaris linker if it is not given the path override.
-- Summary: Solaris standard link libraries missing /lib Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pallas at cs dot stanford dot edu GCC host triplet: i386-pc-solaris2.11 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40227