http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60059
Bug ID: 60059 Summary: Error when building gcc-4.8.2 together with binutils 2.24 Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: tangyilei10 at itp dot ac.cn I'm building gcc-4.8.2 with binutils extracted in the source directory. After I made dir gcc-build as a build dir, configured it and typed make, error came out. The error indicates that the system was unable to acquire ar in directory binutils. So I went into the binutils directory inside the gcc-build and typed ln -sv binutils/ar ar cd .. make The make goes on while it reported it could not find ranlib, so I again go into the binutils directory and typed ln -sv binutils/ranlib ranlib cd .. make The make goes on while it was bothered again reporting that the nm in the directory gcc returned the wrong message, so I just cd gcc mv nm nm_backup ln -sv ../binutils/binutils/nm-new nm cd .. make and the make goes on. As it worked in every stage, the previously compiled binutils and gcc are wiped off so these tricks should be repeated 2 times. I think it is the bug because you misunderstood the structure of the tarball of the binutils. Any way, my trick seems to work well.