public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Paul van Hoven <paul.van.hoven@googlemail.com>
To: gcc-help@gcc.gnu.org
Subject: Compilation of GCC-4.3.5 fails
Date: Sat, 19 Feb 2011 13:40:00 -0000	[thread overview]
Message-ID: <4D5FADF1.7090102@gmail.com> (raw)

I downloaded gcc 4.3.5 sources on my Mac OS X 10.6. Additionally I 
downloaded mpfr version 2.4.2 and gmp version 4.3.2 renamed the 
directories to "mpfr" and "gmp" and moved them into

/Users/toom/Downloads/gcc-4.3.5-Files/gcc-4.3.5

After that I created a new build directory outside the source directory

/Users/toom/Downloads/gcc-4.3.5-Files/objdir

went into that directory and executed

/Users/toom/Downloads/gcc-4.3.5-Files/gcc-4.3.5/configure

The configure process went through without any errors. So I typed "make" 
to start the compilation process. After some time I get the following 
error message:

...
5-Files/objdir/./gmp 
-I/Users/toom/Downloads/gcc-4.3.5-Files/gcc-4.3.5/gmp 
-I/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./mpfr 
-I/Users/toom/Downloads/gcc-4.3.5-Files/gcc-4.3.5/mpfr  
-I../../gcc-4.3.5/gcc/../libdecnumber 
-I../../gcc-4.3.5/gcc/../libdecnumber/dpd -I../libdecnumber    
../../gcc-4.3.5/gcc/cp/cp-gimplify.c -o cp/cp-gimplify.o
/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./prev-gcc/xgcc 
-B/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./prev-gcc/ 
-B/usr/local/i386-apple-darwin10.6.0/bin/   -g -O2 -fomit-frame-pointer 
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute 
-pedantic -Wno-long-long -Wno-variadic-macros                      
-Wno-overlength-strings    -DHAVE_CONFIG_H  -o cc1plus-dummy \
          cp/cp-lang.o stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o 
cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o 
cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o 
cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o 
cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o 
cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o 
attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o 
c-dump.o darwin-c.o c-pretty-print.o c-opts.o c-pch.o c-incpath.o 
cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o c-omp.o 
tree-inline.o dummy-checksum.o main.o  libbackend.a ../libcpp/libcpp.a 
../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ./../intl/libintl.a 
-liconv  ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
-L/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./gmp/.libs 
-L/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./gmp/_libs 
-L/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./mpfr/.libs 
-L/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./mpfr/_libs -lmpfr -lgmp
ld: warning: directory 
'/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./gmp/_libs' following -L 
not found
ld: warning: directory 
'/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./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

I checked that neither the directory 
"/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./gmp/_libs" nor 
"/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./mpfr/_libs" do exist 
while "/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./mpfr/" and 
"/Users/toom/Downloads/gcc-4.3.5-Files/objdir/./gmp/" exist.

What went wrong during the compilation procedure?

                 reply	other threads:[~2011-02-19 11:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D5FADF1.7090102@gmail.com \
    --to=paul.van.hoven@googlemail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).