View previous topic :: View next topic |
Author |
Message |
zeurx n00b
Joined: 26 Jun 2002 Posts: 54
|
Posted: Sat Feb 19, 2005 3:33 pm Post subject: gcc under amd64 arch |
|
|
ok this question is only for someone that has a amd64 copy of linux, is a gcc dev, or someone that knows everything about amd64 gentoo. my problem startes when my drive degrades so i do a low level format to the drive and that all goes good and i switch to a full gentoo system, vmware to emulate windows for office and other class work, and i attempt stage1 tarballs and i get to the bootstrap and everything goes well untill it builds gcc so i keep trying afew time and reformat the drive and start over and same problem so i go with a stage2 tarball and i emerge system... everything goes fine untill it tries to build a new copy of gcc and same problem so without trying to fix anything i just emerge the rest of system by hand, emerge all packages indivdualy, and i get a system up. i didnt worrie about anything and i got x and kde up, now i am trying to emerge mythtv and it messes up so i try to emerge gcc off new syncs and the same problem. this is what i get... DONT SAY READ THE EMERGE.LOG OR CONFIG.LOG BECAUSE I HAVE AND I CANT FIND THE right config.LOG FOR GCC! Code: | checking for LC_MESSAGES... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for shared libgcc... yes
configure: versioning on shared library symbols is gnu
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for testsuite resource limits support... yes
checking for setenv declaration... yes
checking for setenv... yes
updating cache ./config.cache
checking for gxx-include-dir... /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3
checking for --enable-version-specific-runtime-libs... yes
checking for install location... /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libmath/Makefile
config.status: creating libsupc++/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating scripts/check_survey
config.status: creating scripts/testsuite_flags
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/libstdc++-v3
multidirs=32
with_multisubdir=
Running configure in multilib subdirs 32
pwd: /var/tmp/portage/gcc-3.4.3-r1/work/build/x86_64-pc-linux-gnu/libstdc++-v3
Running configure in multilib subdir 32
pwd: /var/tmp/portage/gcc-3.4.3-r1/work/build/x86_64-pc-linux-gnu
mkdir 32
configure: creating cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... /var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/xgcc -B/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc/-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build'
make: *** [profiledbootstrap] Error 2
!!! ERROR: sys-devel/gcc-3.4.3-r1 failed.
!!! Function gcc_do_make, Line 1113, Exitcode 2
!!! make failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.
| what is gcc trying to compile here and how do i get around/fix this |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
|
Back to top |
|
|
toyz n00b
Joined: 02 Mar 2003 Posts: 31 Location: Idaho USA
|
Posted: Sat Feb 19, 2005 4:26 pm Post subject: |
|
|
Thanks for the link!
The trouble for me is... I did search, I didn't find the post you referred to, but I did find this post. This forum engine's search facilities are horrible IMHO. I bet there would be half the posts if you could find other posts easily.
I searched for:
amd64 gcc
error: cannot run C compiled programs
etc... |
|
Back to top |
|
|
zeurx n00b
Joined: 26 Jun 2002 Posts: 54
|
Posted: Sat Feb 19, 2005 4:42 pm Post subject: |
|
|
Thank you very much!!! the Code: | FEATURES="-sandbox" emerge gcc | worked for me!!!!!!!!!!! |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
|
Back to top |
|
|
|