https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102755
Duncan Simpson <dr.duncan.p.simpson at gmx dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |WORKSFORME --- Comment #5 from Duncan Simpson <dr.duncan.p.simpson at gmx dot com> --- The find_a_program logic does seem to fix most versions of this issue. It might be insufficient if default tool is "foo" but finding it requires path searching which access(2) does not do. Attempying to build gcc with that problem dies with a sane message quickly, so I don't think that is a major problem. The version I was testing had a version of gcc,c which completely ignored DEFUALT_ASEEMBLER and the built in specs lead to the assumption that running a program called "as" with execvp(2) was the correct thing to do. The build did use the compiler passed using --with-as.