View previous topic :: View next topic |
Author |
Message |
erik.crouch n00b
Joined: 24 Aug 2003 Posts: 44 Location: Wichita, KS USA -- United Kingdom
|
Posted: Sun Apr 10, 2005 3:58 pm Post subject: Unable to compile/emerge anything needing executables |
|
|
Ultra 5 Kernel 2.4.29 Using stable portage only..
In this example I am running emerge -u world and it is attempting to update to coreutils-5.2.1-r5
Code: |
>>> Source unpacked.
* Reconfiguring configure scripts (be patient)...
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH [ ok ]
* econf: updating coreutils-5.2.1/config/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating coreutils-5.2.1/config/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=sparc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --bindir=/bin --enable-largefile --enable-nls --disable-selinux
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
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 sparc-unknown-linux-gnu-strip... no
checking for strip... :
checking for desired default level of POSIX conformance... none-specified
checking for style of include used by make... GNU
checking for sparc-unknown-linux-gnu-gcc... sparc-unknown-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/coreutils-5.2.1-r5/work/coreutils-5.2.1/config.log
!!! ERROR: sys-apps/coreutils-5.2.1-r5 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
|
This apparently started after the last emerge -u... I do remember gcc being updated, that is when this trouble appeared to start.
Let me know!
Erik |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sun Apr 10, 2005 4:21 pm Post subject: |
|
|
My experience with sparcs is zero, but maybe you should check your CFLAGS settings, sometimes incorrect CFLAGS cause these kind of issues. If in doubt post your /etc/make.conf here and we will help you. |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Sun Apr 10, 2005 6:39 pm Post subject: |
|
|
What do 'gcc-config -l' and 'gcc-config -c' tell you? E.g., on my system,
Code: |
terciopelo sun # gcc-config -l
[1] sparc-unknown-linux-gnu-3.3.5-20050130 *
[2] sparc-unknown-linux-gnu-3.3.5-20050130-hardenednopie
[3] sparc-unknown-linux-gnu-3.3.5-20050130-hardenednossp
[4] sparc-unknown-linux-gnu-3.3.5-20050130-vanilla
terciopelo sun # gcc-config -c
sparc-unknown-linux-gnu-3.3.5-20050130
|
on one of my systems.
Assuming the gcc emerge was successful, you can set the profile by hand if necessary; look at 'gcc-config -h'. (Although it shouldn't be necessary.) |
|
Back to top |
|
|
erik.crouch n00b
Joined: 24 Aug 2003 Posts: 44 Location: Wichita, KS USA -- United Kingdom
|
Posted: Mon Apr 11, 2005 12:06 am Post subject: |
|
|
gcc-config -l and -c
Code: |
brainstorm@sierra home $ gcc-config -l
[1] sparc-unknown-linux-gnu-3.3.5-20050130 *
[2] sparc-unknown-linux-gnu-3.3.5-20050130-hardened
[3] sparc-unknown-linux-gnu-3.3.5-20050130-hardenednopie
[4] sparc-unknown-linux-gnu-3.3.5-20050130-hardenednossp
uniboy@sierra uniboy $ gcc-config -c
sparc-unknown-linux-gnu-3.3.5-20050130
brainstorm@sierra home $
|
Same as yours except vanilla is missing..
Hmm I am puzzled, but i'll await your thoughts.
Erik |
|
Back to top |
|
|
riposte n00b
Joined: 17 Nov 2003 Posts: 69 Location: New Zealand
|
|
Back to top |
|
|
erik.crouch n00b
Joined: 24 Aug 2003 Posts: 44 Location: Wichita, KS USA -- United Kingdom
|
Posted: Tue Apr 12, 2005 12:42 am Post subject: |
|
|
Tried a few of those suggestions, but nothing worked..
Any developers seen this/have any ideas? |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Tue Apr 12, 2005 2:47 am Post subject: |
|
|
Try running a simple "as" from shell.
If it's missing, do a "binutils-config 1".
I've seen this happen in one of my dev machines, but couldn't reproduce it elsewhere. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
|