public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/60059] New: Error when building gcc-4.8.2 together with binutils 2.24
@ 2014-02-04 16:08 tangyilei10 at itp dot ac.cn
  0 siblings, 0 replies; only message in thread
From: tangyilei10 at itp dot ac.cn @ 2014-02-04 16:08 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-04 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-04 16:08 [Bug c/60059] New: Error when building gcc-4.8.2 together with binutils 2.24 tangyilei10 at itp dot ac.cn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).