This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems compiling the GCC 4.3.5


Thanks for the hints. I replaced the 3.0.0 version of mpfr with the 2.4 versoin. Now the compilation process runs quite a while (subjectively about an hour) but finally ends again with an error message. The one I get is this one

ld: warning: directory '/Users/toom/Downloads/gcc-4.3.5-base/obj-gcc-4.3.5/./gmp/_libs' following -L not found
ld: warning: directory '/Users/toom/Downloads/gcc-4.3.5-base/obj-gcc-4.3.5/./mpfr/_libs' following -L not found
ld: duplicate symbol _init_inline_once in libbackend.a(tree-inline.o) and tree-inline.o
collect2: ld returned 1 exit status
make[3]: *** [cc1plus-dummy] Error 1
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2





Marc Glisse schrieb:
On Fri, 28 Jan 2011, Paul van Hoven wrote:

I did as you said, deleted everything, renamed gmp-5.0.1 to gmp and mpfr-3.0.0 to mpfr and copied that into the source tree of gcc-4.3.5. Then I created obj-gcc-4.3.5 and from there I called "../gcc-4.3.5/configure --prefix=/usr/local/gcc-4.3.5". So configure again ran through without any problems. Then I typed make and got the following error:

There was a bug in gcc that meant mpfr-3.0.0 couldn't be built this way. This technique will only work with a more recent version of gcc or an older version of mpfr (or a svn version of mpfr).




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]