Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to compile/emerge anything needing executables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
erik.crouch
n00b
n00b


Joined: 24 Aug 2003
Posts: 44
Location: Wichita, KS USA -- United Kingdom

PostPosted: Sun Apr 10, 2005 3:58 pm    Post subject: Unable to compile/emerge anything needing executables Reply with quote

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 8O
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 10125
Location: Córdoba (Spain)

PostPosted: Sun Apr 10, 2005 4:21 pm    Post subject: Reply with quote

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. :D
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Sun Apr 10, 2005 6:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
erik.crouch
n00b
n00b


Joined: 24 Aug 2003
Posts: 44
Location: Wichita, KS USA -- United Kingdom

PostPosted: Mon Apr 11, 2005 12:06 am    Post subject: Reply with quote

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 8O
Back to top
View user's profile Send private message
riposte
n00b
n00b


Joined: 17 Nov 2003
Posts: 69
Location: New Zealand

PostPosted: Mon Apr 11, 2005 4:13 am    Post subject: Reply with quote

This might help:

http://forums.gentoo.org/viewtopic-t-27486-highlight-executables.html
Back to top
View user's profile Send private message
erik.crouch
n00b
n00b


Joined: 24 Aug 2003
Posts: 44
Location: Wichita, KS USA -- United Kingdom

PostPosted: Tue Apr 12, 2005 12:42 am    Post subject: Reply with quote

Tried a few of those suggestions, but nothing worked..

Any developers seen this/have any ideas?
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Tue Apr 12, 2005 2:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum