All - Stage 1 - Gcc Error 2
Contents |
due to spam. Bug49072 - Error building the compiler Summary: Error building the compiler Status: RESOLVED INVALID Alias: None Product: gcc Classification:
Gcc Error Trying To Exec 'cc1plus'
Unclassified Component: bootstrap (show other bugs) Version: 4.6.0 Importance: P3 normal Target Milestone: gcc error trying to exec 'cc1' --- Assignee: Not yet assigned to anyone URL: Keywords: Depends on: Blocks: Reported: 2011-05-19 19:43 UTC by Jose
Gcc Error Trying To Exec 'cc1plus' Execvp
Modified: 2013-11-10 05:57 UTC (History) CC List: 2 users (show) franck.z.bugzilla hp See Also: Host: Target: Build: Known to work: Known to fail: Last reconfirmed: Attachments Add an attachment (proposed patch, testcase, gcc error spawn no such file or directory etc.) Note You need to log in before you can comment on or make changes to this bug. Description Jose 2011-05-19 19:43:31 UTC I downloaded from one of the mirror sites the following tar balls: gcc-4.6.0.tar.gz gmp-4.3.2.tar.bz2 mpc-0.8.1.tar.gz mpfr-2.4.2.tar.bz2 I decompressed and untarred the files, which resulted in four directories, respectively: gcc-4.6.0, gmp-4.3.2, mpc-0.8.1, and mpfr-2.4.2. I then created the directory ~/gcc4 and gcc error createprocess no such file I moved gcc-4.6.0 in it. I then changed the names of the directories gmp-4.3.2, mpc-0.8.1, and mpfr-2.4.2 to gmp, mpc, and mpfr, respectively. These three directories, namely gmp, mpc, and mpfr were moved it to ~/gcc4/gcc-4.6.0. In gcc4, I created the directory objdir. So, the directory tree looks like the following: |--gcc4 | |--objdir | |--gcc-4.6.0 | | |--gmp | | |--mpc | | |--mpfr I then proceeded to configure the installation. From ~/gcc4/objdir, I executed “../gcc-4.6.0/configure”. Once the Makefile was created, still from within ~/gcc4/objdir, I executed “make bootstrap”. After about 24 hours of execution, the build failed with the following error message: ../../../gcc-4.6.0/libgcc/../gcc/libgcc2.c:791:1: internal compiler error: Floating point exception Please submit a full bug report, With preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for instructinos. make [3]: *** [_popcountsi2.o] Error 1 make [3]: Leaving directory ‘/home/Jose.Pascual-Gutierr/gcc4/objdir/i686-pc-cygwin/libgcc’ make [2]: *** [all-stage2-target-libgcc] Error 2 make [2]: Leaving directory ‘/home/Jose.Pascual-Gutierr/gcc4/objdir’ make [1]: *** [stage2-bubble] Error 2 make [1]: Leaving directory ‘/home/Jose.Pascual-Gutierr/gcc4/objdir’ make: *** [bootstrap] Error 2 All the help you can provide will be very appreciated. Thank you very much, José Comment 1 Jonathan Wakely 2011-05-19 22:30:41 UTC (In reply t
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the
Gcc Error Unrecognized Command Line Option '-v'
workings and policies of this site About Us Learn more about Stack gcc error unrecognized argument in option ‘-mabi=aapcs-linux’ Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs
Stage1-bubble Error 2 Gcc
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; https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49072 it only takes a minute: Sign up Make exits with “Error 2” when trying to install gcc-4.8.1 up vote 9 down vote favorite 4 I'm trying to install gcc-4.8.1 on an AWS ec2 "Other Linux" distribution. I downloaded gcc-4.6.2.tar.gz and then followed these instructions under the 'Configuration' heading from http://gcc.gnu.org/wiki/InstallingGCC (modified for 4.8.1 instead of 4.6.2): tar xzf gcc-4.8.1.tar.gz http://stackoverflow.com/questions/18389612/make-exits-with-error-2-when-trying-to-install-gcc-4-8-1 cd gcc-4.8.1 ./contrib/download_prerequisites cd .. mkdir objdir cd objdir $PWD/../gcc-4.8.1/configure --prefix=$HOME/gcc-4.8.1 make make install When I run 'make', the program runs for some time but eventually exits with this error: build/genattrtab /home/ec2-user/gcc-4.8.1_install/objdir/../gcc-4.8.1/gcc/config/i386/i386.md insn-conditions.md \ -Atmp-attrtab.c -Dtmp-dfatab.c -Ltmp-latencytab.c make[3]: *** [s-attrtab] Killed make[3]: Leaving directory `/home/ec2-user/gcc-4.8.1_install/objdir/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/home/ec2-user/gcc-4.8.1_install/objdir' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/ec2-user/gcc-4.8.1_install/objdir' make: *** [all] Error 2 Can anyone shed any insight into why this might be happening? I don't understand the error message at all. I'm building it with gcc4.6.1 and /home/ec2-user/gcc-4.8.1_install is the directory I ran the commands from within. gcc amazon-ec2 makefile ec2-ami gcc4.8 share|improve this question asked Aug 22 '13 at 19:51 MattG 1,1042927 add a comment| 1 Answer 1 active oldest votes up vote 18 down vote accepted I was doing a few things wrong. First, I didn't have the latest binutils installed. This particular error, however, was the OOM killer at work. The peak RAM used during installation is greater than that of EC2 micro instance. Use a larger instan
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 http://stackoverflow.com/questions/18242322/gcc-4-8-1-will-not-make 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 gcc error not make up vote 1 down vote favorite I have a new installation of Ubuntu linux and 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 gcc error trying 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 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,66052337 asked Aug 14 '13 at 21:06 cassius 236310 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