https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66259
Bug ID: 66259 Summary: Combined gcc and binutils build from git-master fails, with gas/as-new not existing Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: darlingm at gmail dot com Target Milestone: --- Posted this first at binutils. Alan Modra said "Not a binutils bug." and closed it, at https://sourceware.org/bugzilla/show_bug.cgi?id=18450 On a fresh Fedora 21 install: sudo yum install git gcc gcc-c++ texinfo-tex flex bison mpfr-devel gmp-devel libmpc-devel isl isl-devel mkdir gcc.binutils.combined cd gcc.binutils.combined git clone git://gcc.gnu.org/git/gcc.git gcc.git git clone git://sourceware.org/git/binutils-gdb.git binutils-gdb.git mkdir combined cd combined ln -s ../gcc.git/* . ln --force -s ../binutils-gdb.git/* . mkdir ../../gcc.binutils.combined.build.gcc cd ../../gcc.binutils.combined.build.gcc ../gcc.binutils.combined/combined/configure --disable-multilib && make && sudo make install Wind up getting: ../gcc.binutils.combined.build.gcc/./prev-gcc/as: line 106: ../gcc.binutils.combined.build.gcc/./gas/as-new: No such file or directory Line 106 is: exec $original ${1+"$@"} # with $original coming from case "$original" in With: [gcc.binutils.combined.build.gcc]$ find . | grep as-new ./prev-gas/as-new Should gcc.binutils.combined.build.gcc/./prev-gcc/as:106 be calling ./prev-gas/as-new rather than ./gas/as-new ?