https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67725
Bug ID: 67725 Summary: all gcc versions has hardcoded LD path with bootstrap on illumos platform Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: ikozhukhov at gmail dot com Target Milestone: --- on autotools i can see we try to use for solaris2* targets : ld=/usr/ccs/bin/ld example from gcc-4.8.5/gcc/acinclude.m4: line 518: gcc_cv_sun_ld_ver=`/usr/ccs/bin/ld -V 2>&1` it is mistake to use hadrcoded ld path because on illumos we have ld=/usr/bin/ld and we can specify correct path by: --without-gnu-ld --with-ld=/usr/bin/ld but by autotools we will try to identify LD version by hardcoded /usr/ccs/bin/ld and it is mistake. have to fix it on all gcc versions, because for DilOS (http://www.dilos.org, illumos based platform) i have plans remove old /usr/ccs links and it will failed with gcc bootstrap.