Gcc Stage1-bubble Error 2
Contents |
filtered
Recipe For Target 'stage1-bubble' Failed
due to spam. Bug48378 - gcc 4.6.0 fails gcc make error 2 to build from source Summary: gcc 4.6.0 fails to build from source Status: configure: error: c++ compiler missing or inoperational RESOLVED WORKSFORME Alias: None Product: gcc Classification: Unclassified Component: other (show other bugs) Version: 4.6.0 Importance: P3 normal Target Milestone: --- Assignee:
Cannot Compute Suffix Of Object Files
Not yet assigned to anyone URL: Keywords: Depends on: Blocks: Reported: 2011-03-31 00:01 UTC by nbi Modified: 2011-04-03 02:48 UTC (History) CC List: 0 users See Also: Host: Target: Build: Known to work: Known to fail: Last reconfirmed: 2011-03-31 09:54:09 Attachments Add an
Install Gcc From Source
attachment (proposed patch, testcase, etc.) Note You need to log in before you can comment on or make changes to this bug. Description nbi 2011-03-31 00:01:56 UTC Obtained http://ftp.de.debian.org/debian/pool/main/g/gcc-4.6/gcc-4.6_4.6.0.orig.tar.gz from http://packages.debian.org/sid/gcc-4.6 Prerequisite libraries (gmp, mpfr, mpc) build ok without any problems. './configure' succeeds for gcc-4.6 'make' fails with: make[3]: Entering directory `/usr/src/gcc-4.6-4.6.0.orig/gcc-4.6.0/host-x86_64-unknown-linux-gnu/gcc' build/genhooks \ ../.././gcc/doc/tm.texi.in > tmp-tm.texi (null): No place specified to document hook TARGET_ASM_OPEN_PAREN make[3]: *** [s-tm-texi] Error 1 make[3]: Leaving directory `/usr/src/gcc-4.6-4.6.0.orig/gcc-4.6.0/host-x86_64-unknown-linux-gnu/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/usr/src/gcc-4.6-4.6.0.orig/gcc-4.6.0' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/usr/src/gcc-4.6-4.6.0.orig/gcc-4.6.0' make: *** [all] Error 2 How can this be corrected? Thanks. Comment 1 Richard Biener 2011-03-31 09:54:09 UTC Do not build in the source directory. Comment 2 Jonathan Wakely 2011-03-31 10:38:30 UTC this is documented at http://gcc.gnu.org/ins
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up gcc 4.8.1 will not make up vote 2 down vote favorite I have a new installation of Ubuntu linux and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48378 I am trying to update my gcc complier. The latest gcc compiler depends on gmp, mpfr, and mpc, so I downloaded those and placed the source into the gcc 4.8.1 source folder, as instructed. configure seems to have run just fine. I did not include any options, because none seemed appropriate. I just ran with the defaults. When I run make, I get the following error: configure: error: C++ compiler missing or inoperational http://stackoverflow.com/questions/18242322/gcc-4-8-1-will-not-make make[2]: \*** [configure-stage1-libcpp] Error 1 make[2]: Leaving directory `/home/clay/programming/C++/gcc-4.8.1' make[1]: \*** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/clay/programming/C++/gcc-4.8.1' make: \*** [all] Error 2 I am running out of a terminal window as root, and I did a make distclean and tried a second time, but no dice. I know it can find both gcc and cc because it says so in the make output. Any ideas? linux gcc ubuntu-12.04 gnu-make share|improve this question edited Aug 14 '13 at 21:09 suspectus 7,69052337 asked Aug 14 '13 at 21:06 cassius 241310 Aside, don't be root. –tripleee Aug 14 '13 at 21:13 Can you run 'gcc' or 'g++' on the command line? What does it say? Just in case, a nice way to install the basics is 'apt-get install build-essential'. –Nick Veys Aug 14 '13 at 21:14 You are right,m I shouldn't be root, but I haven't used linux for a few years and ran into some permissions issues I'd rather deal with later. Yes, gcc --help runs as expected. I am not familiar with apt-get install build essential. I'll have to look it up. –cassius Aug 14 '13 at 21:18 Not gcc. g++. It's looking for a C++ compiler (see error message). gcc is a C compiler, not a C++ compiler. –MadSci
here for a quick overview of the site Help Center Detailed http://superuser.com/questions/609046/gcc-4-8-1-failed-complilation answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is error 2 a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top GCC 4.8.1 failed complilation up vote 4 gcc stage1-bubble error down vote favorite 1 I am using Ubuntu 13.04 64 bit. This is the error message: checking for x86_64-unknown-linux-gnu-gcc... /home/hoangtu/Downloads/gcc-4.8.1/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/hoangtu/Downloads/gcc-4.8.1/host-x86_64-unknown-linux-gnu/gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -m32 checking for suffix of object files... configure: error: in `/home/hoangtu/Downloads/gcc-4.8.1/x86_64-unknown-linux-gnu/32/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[2]: *** [configure-stage1-target-libgcc] Error 1 make[2]: Leaving directory `/home/hoangtu/Downloads/gcc-4.8.1' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/hoangtu/Downloads/gcc-4.8.1' make: *** [all] Error 2 Is Ubuntu 13.04 too new for gcc to detect (it detected x86_64-unknown-linux-gnu-gcc). I compiled fine with Linux Mint 14 32 bit. Edit: Checking config.log, it looks like there's a failed test: configure:5876: gcc -o conftest -g -O2 conftest.c -lisl >&5 conftest.c:10:25: fatal error: isl/version.h: No such file or directory compilation terminated. configure:5876: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define P