All-stage2-gcc Error 2
Contents |
Jan31,2012,11:57AM Post #1 of 13 (3634 views) Permalink gcc-4.5.3-r1 fails gcc error trying to exec 'cc1plus' to compile with "internal compiler error" I can't seem to
Gcc Error Trying To Exec 'cc1'
get gcc-4.5.3-r1 to compile. I tried twice and it failed at the exact same point
Gcc Error Trying To Exec 'cc1plus' Execvp
both times. The build log doesn't mention a segfault. Does anyone know how to fix this? I was able to compile gcc-4.3.3 a short while ago.
Gcc Error Spawn No Such File Or Directory
/var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md: In function 'internal_dfa_insn_code': /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/gcc/config/i386/i386.md:360:1: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See
Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch [SOLVED] Gcc Compile Problem gcc error unrecognized command line option '-v' User Name Remember Me? Password Linux From Scratch This Forum is for the gcc error unrecognized argument in option ‘-mabi=aapcs-linux’ discussion of LFS. LFS is a project that provides you with the steps necessary to build your own custom Linux gcc error 1 system. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive http://www.gossamer-threads.com/lists/gentoo/user/247231 our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have http://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-compile-problem-4175535068/ any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Search this Thread 02-25-2015, 10:54 AM #1 Estorias LQ Newbie Registered: Feb 2015 Posts: 6 Rep: Gcc Compile Problem Hello, LFS v7.6 My host system: Arch Linux Chapter: 5.5 GCC-4.9.1 I'm having a problem with compiling gcc. Maybe its because of my version of gcc : Code: $gcc -v gcc-Version 4.9.2 20150204 (prerelease) (GCC) Here the error messages from make: Code: checking whether the C compiler works... no configure: error: in `/home/lfs/lfs/sources/gcc-build/gmp': configure: error: C compiler cannot create executables See `config.log' for more details Makefile:4810: recipe for target 'configure-stage2-gmp' failed make[2]: *** [configure-stage2-gmp] Error 77 make[2]: Leaving directory '/home/lfs/lfs/sources/gcc-build' Makefile:17699: recipe for target 'stage2-bubble' failed make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory '/home/lfs/lfs/sources/gcc-build' Makefile:848: recipe for target 'all' failed make: *** [all] Error 2 And here an extract from my config.log which contains an error: Code: configure:5939: checking for version 0.11 of ISL configure:5958: gcc -o conftest -g -O2 -I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp -I$$r/$(HOST
due to spam. Bug49072 - Error building the compiler Summary: Error building the compiler Status: RESOLVED INVALID Alias: None Product: gcc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49072 Classification: Unclassified Component: bootstrap (show other bugs) Version: 4.6.0 Importance: P3 normal Target Milestone: --- Assignee: Not yet assigned to anyone URL: Keywords: Depends on: Blocks: Reported: 2011-05-19 19:43 UTC by Jose 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 gcc error (proposed patch, testcase, 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 gcc error trying directory ~/gcc4 and 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 Jonatha