Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnat-gcc fails
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
chris...
Apprentice
Apprentice


Joined: 26 Sep 2006
Posts: 179
Location: Melbourne, AU

PostPosted: Mon Jan 18, 2010 9:37 pm    Post subject: gnat-gcc fails Reply with quote

Hi

I can't seem to emerge gnat-gcc

Code:
checking for sparc-unknown-linux-gnu-gcc... /dev/shm/portage/dev-lang/gnat-gcc-4.3.3/work/usr/bin/gnatgcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
 *
 * ERROR: dev-lang/gnat-gcc-4.3.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3868:  Called gnatbuild_src_compile 'configure' 'make-tools' 'bootstrap'
 *             environment, line 2749:  Called die
 * The specific snippet of code:
 *                       CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" "${S}"/configure --prefix=${PREFIX} --bindir=${BINPATH} --includedir=${INCLUDEPATH} --libdir="${LIBPATH}" --libexecdir="${LIBEXECPATH}" --datadir=${DATAPATH} --mandir=${DATAPATH}/man --infodir=${DATAPATH}/info --program-prefix=gnat --enable-languages="c,ada" --with-gcc --enable-threads=posix --enable-shared --with-system-zlib ${confgcc} || die "configure failed"
 *  The die message:
 *   configure failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/dev/shm/portage/dev-lang/gnat-gcc-4.3.3/temp/build.log'.
 * The ebuild environment file is located at '/dev/shm/portage/dev-lang/gnat-gcc-4.3.3/temp/environment'.
 *

>>> Failed to emerge dev-lang/gnat-gcc-4.3.3, Log file:


Code:
Portage 2.1.6.13 (default/linux/sparc/10.0/developer, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r7 sparc64)
=================================================================
System uname: Linux-2.6.31-gentoo-r7-sparc64-sun4u-with-gentoo-1.12.13
Timestamp of tree: Sun, 17 Jan 2010 03:25:01 +0000
distcc 3.1 sparc-unknown-linux-gnu [enabled]
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="sparc"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg collision-protect cvs distcc distlocks fixpackages multilib-strict parallel-fetch protect-owned sandbox sfperms sign splitdebug unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/usr/portage"
SYNC="rsync://mirror.internode.on.net/gentoo-portage"
USE="a52 aac acl berkdb bzip2 cairo cdr cli consolekit cracklib crypt cups cvs cxx dbus dri dts dvd dvdr eds emacs emboss encode evo fam firefox flac fortran gcc64 gcj gdbm gfortran gif git gpm gstreamer hal iconv jpeg ldap libnotify mad mercurial mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session snmp sparc spell spl ssl startup-notification subversion svg sysfs tcpd threads thunar tiff truetype unicode unzip usb vorbis x264 xml xorg xulrunner xv xvid zip zlib zsh-completion" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3        suncg6 sunffb sunleo tdfx voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Sat Feb 13, 2010 10:59 pm    Post subject: Reply with quote

I'm on amd64 and this package fails at exactly the same place.

I may be wrong but it looks like a sys-devel/gcc USE-flag issue.
Back to top
View user's profile Send private message
chris...
Apprentice
Apprentice


Joined: 26 Sep 2006
Posts: 179
Location: Melbourne, AU

PostPosted: Sun Feb 14, 2010 8:01 am    Post subject: Reply with quote

ive raised a bug and ive managed to get it install
I'm not sure if the current sparc bootstrap is correct or not I had to make some changes
Back to top
View user's profile Send private message
JohnLM
n00b
n00b


Joined: 20 Apr 2009
Posts: 61
Location: LATVIA

PostPosted: Tue Mar 08, 2011 10:55 am    Post subject: Reply with quote

Same bug here! (on amd64)
The way I see it, it should use system's gcc for first part of bootstrap process, while it tries to use the one just extracted in portage's build environment.
Code:
checking for x86_64-pc-linux-gnu-gcc... /var/tmp/portage/dev-lang/gnat-gcc-4.3.2/work/usr/bin/gnatgcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables


Correct if I'm wrong.
Is there a solution to this?

EDIT: Ooops! Just noticed this is SPARC forum. :)
EDIT2: I guess it's not really actual on amd64. I just unmasked newer gnat-gcc (4.3.3-r2) which compiled just fine.
_________________
"I reject your reality and substitute my own" - A. Savage
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