Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301446 - dev-lang/gnat-gcc-4.3.x on sparc fails to build
Summary: dev-lang/gnat-gcc-4.3.x on sparc fails to build
Status: RESOLVED DUPLICATE of bug 327043
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: Sparc64 Linux
: High major (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-18 22:03 UTC by Chris Brown
Modified: 2011-05-24 11:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Brown 2010-01-18 22:03:22 UTC
dev-lang/gnat-gcc-4.3.3 and other version fails to build on my sparc machine. I get the same error with gnat-gpl. To me it looks like the bootstrap compiler doesnt exist

Reproducible: Always

Steps to Reproduce:
1. emerge gnat-gcc




Expected Results:  
Should have compiled and installed gnat-gcc

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:

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
Comment 1 Wormo (RETIRED) gentoo-dev 2010-02-02 06:44:45 UTC
It is true gentoo doesn't have a bootstrap compiler built for sparc, which is why gnat-gcc ebuilds do not have any sparc keywords.

The only prebuilt sparc gnat I've found is in a debian package, so maybe you could use that to bootstrap a gnat build. Not sure if there will be any library conflicts with your gentoo system, but it might be worth a try...
http://http.us.debian.org/debian/pool/main/g/gnat-4.3/gnat-4.3_4.3.4-4_sparc.deb

Assigning to ada team who are likely to have more info on how to bootstrap a new arch.
Comment 2 Chris Brown 2010-02-04 15:18:01 UTC
I had to use the debian binary files
gnat
libgnat
libgnatvsn
libgnatprj
I dynaically linked gnatgcc to gnat
If i include these library files I can execute gnatgcc
I changed the ebuild to use the debian gnat binaries and the 3 library files
I still get the same error
Comment 3 Chris Brown 2010-02-04 16:18:01 UTC
gnat fails with this error

gnatgcc -O2 -mcpu=ultrasparc -pipe  -L/tmp/portage/dev-lang/gnat-gcc-4.3.3-r1/work/usr/lib conftest.c
fatal error, run-time library not installed correctly
cannot locate file system.ads
gnatmake: *** make failed.
Comment 4 George Shapovalov (RETIRED) gentoo-dev 2010-02-04 17:50:11 UTC
(In reply to comment #2)
> I had to use the debian binary files
[...]
> I dynaically linked gnatgcc to gnat
> If i include these library files I can execute gnatgcc
> I changed the ebuild to use the debian gnat binaries and the 3 library files
> I still get the same error
Well, sure you would. Building gnat (or gcc, for that matter) requires lots more than that. You can take  alook at gnatbuild.eclass to get some idea (plus the properly packed bootstrap).
Hang on, I'll try to prepare a sparc bootstrap using that link. I hope it has everything that's necessary..
Comment 5 Chris Brown 2010-02-04 18:40:27 UTC
> (In reply to comment #2)
> > I had to use the debian binary files
> Well, sure you would. Building gnat (or gcc, for that matter) requires lots
> more than that. 

I meant debain package files
Comment 6 George Shapovalov (RETIRED) gentoo-dev 2010-02-04 19:47:40 UTC
Ok, I put together something. Please sync (in ~30-60 min from now) and try to 
emerge =dev-lang/gnat-gcc-4.3.3-r1
Please note: it is masked by absent keyword, so just add sparc to KEYWORDS locally.
The present bootstrap is missing cc1 and specs (at least), so, if build fails mentioning cc1 then try adding the one from your gcc-4.3 under ${WORKDIR}/usr/bin (or under usr/bin in bootstrap) and try compile again..
Comment 7 Chris Brown 2010-02-05 11:30:15 UTC
> The present bootstrap is missing cc1 and specs (at least), so, if build fails
> mentioning cc1 then try adding the one from your gcc-4.3 under
> ${WORKDIR}/usr/bin (or under usr/bin in bootstrap) and try compile again..
> 

configure:3194: checking for C compiler default output file name
configure:3197: /dev/shm/portage/dev-lang/gnat-gcc-4.3.3-r1/work/usr/bin/gnatgcc -O2 -mcpu=ultrasparc -pipe  -L/dev/shm/portage/dev-lang/gnat-gcc-4.3.3-r1/work/usr/lib conftest.c  >&5
gnatgcc_2wrap: error trying to exec 'cc1': execvp: No such file or directory

I dont have a cc1 from my gcc package?
Comment 8 George Shapovalov (RETIRED) gentoo-dev 2010-02-05 12:51:14 UTC
(In reply to comment #7)
> I dont have a cc1 from my gcc package?
It's gotta be somewhere on your system. Try lookung under /lib{32,64,whatever} or /libexec (just run find /lib -iname cc1, etc..)
Unfortunately I did not find it in debian packages (I had to use bunch of gcc ones as well already), but its gotta be somewhere. Unless on sparc gcc has completely different structure (but I doubt), in which case I am not sure how to proceed.

I just added sparc team to CC, since they are the ones who would know particulars of the arch.
Comment 9 Chris Brown 2010-02-05 14:38:13 UTC
> > I dont have a cc1 from my gcc package?
> It's gotta be somewhere on your system. Try lookung under /lib{32,64,whatever}

Is ther a certain flag i need to set for the gcc package
I'm not a developer, I am admin setting this machine up, the user has asked for a list of applications, gnat is one I can't seem to install
Comment 10 Chris Brown 2010-02-06 04:08:55 UTC
I re-compiled gcc with cc1
I now get this error

configure:3194: checking for C compiler default output file name
configure:3197: /dev/shm/portage/dev-lang/gnat-gcc-4.3.3-r1/work/usr/bin/gnatgcc -O2 -mcpu=ultrasparc -pipe  -L/dev/shm/portage/dev-lang/gnat-gcc-4.3.3-r1/work/usr/lib conftest.c  >&5
gcc-config: error: could not run/locate 'cc1'
Comment 11 George Shapovalov (RETIRED) gentoo-dev 2010-02-06 07:36:15 UTC
(In reply to comment #10)
> I re-compiled gcc with cc1
> I now get this error
so, you've found it? Nice :), Where did you put it? Is it from gcc-4.3 of some other major version?
Perhaps it is better if you could put it somewhere so that I could grab it. I'll add it to the bootstrap then. Please also do
gcc -dumpspecs > specs
and let me grub that file too..
Comment 12 Chris Brown 2010-02-07 04:40:35 UTC
Both files can be found at
http://www.users.on.net/~rf40/
Comment 13 Chris Brown 2010-02-07 04:51:51 UTC
I copied cc1 to the usr/bin directory and it gets further along
It now fails here

config.status: creating Makefile
gnatmake: error while loading shared libraries: libgnat-4.3.so.1: cannot open shared object file: No such file or directory

I add the library path

gcc200 work # export LD_LIBRARY_PATH=/dev/shm/portage/dev-lang/gnat-gcc-4.3.3-r1/work/usr/lib/

run it again
gcc200 work # usr/bin/gnatmake

get this error
usr/bin/gnatmake: error while loading shared libraries: libgnatvsn.so.4.3: cannot open shared object file: No such file or directory

It will probably need the libgnatprj library too
Comment 14 Chris Brown 2010-02-07 08:23:28 UTC
I've added the missing libraries and now it fails here

config.status: creating Makefile
gcc-4.3 -c xtreeprs.adb
gnatmake: error, unable to locate gcc-4.3
Comment 15 Chris Brown 2010-02-07 08:28:41 UTC
i added a link gcc-4.3 to gnatgcc
it is now moving along further
Comment 16 George Shapovalov (RETIRED) gentoo-dev 2010-02-07 09:14:10 UTC
Excellent!
So, could you please add these files the same place, for me to download. Even better, if it finishes and install, could you also do 
quickpkg gnat-gcc
and add there a resulting .tar.bz2 file too?
Thanks!
Comment 17 Chris Brown 2010-02-07 13:02:05 UTC
Compiled and installed
I've the files you requested
Comment 18 Chris Brown 2010-05-18 12:23:01 UTC
I no longer have a problem with this 
Comment 19 Alexander Wright 2011-02-18 11:05:20 UTC
Hi,

I'm getting the same problem with >dev-lang/gnat-gcc-4.3.3

4.3.2 compiles ok, though.

FEATURES variable contains unknown value(s): preserve-libs
Portage 2.1.9.40 (hardened/linux/amd64/no-multilib, gcc-4.5.2, glibc-2.13-r1, 2.6.35.4-x86_64-linode16 x86_64)
=================================================================
System uname: Linux-2.6.35.4-x86_64-linode16-x86_64-Intel-R-_Xeon-R-_CPU_L5520_@_2.27GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 18 Feb 2011 07:15:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.68
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.1.2, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"
APACHE2_MPMS="worker"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-march=nocona -O2 -mno-tls-direct-seg-refs"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-march=nocona -O2 -mno-tls-direct-seg-refs"
DEFAULT_ABI="amd64"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --keep-going --accept-properties=-interactive --jobs=1 --load-average=8  --with-bdeps=y"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS=""
GCC_SPECS=""
GENTOO_MIRRORS="ftp://mirror.qubenet.net/mirror/gentoo/ ftp://91.121.124.139/gentoo-distfiles/ ftp://ftp.udc.es/gentoo/ ftp://mirrors.evolva.ro/gentoo/gentoo-distfiles/ ftp://gentoo.inf.elte.hu/"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.2/info"
INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux"
LANG="en_GB.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="en_GB en"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/root"
MAKEOPTS="-j5"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.2/man:/usr/lib64/php5.3/man/"
MULTILIB_ABIS="amd64"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OLDPWD="/var/www/live.silverfish-design.co.uk/htdocs-secure/db/scripts"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2"
PHP_TARGETS="php5-3"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="15"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SANDBOX_COMPAT_LEVEL="16"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/blueness"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/var/www/live.silverfish-design.co.uk/htdocs-secure/db"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SHELL="/bin/bash"
SHLVL="2"
SSH_CLIENT="2001:960:79c:aa:227:19ff:feb2:af5 41161 22"
SSH_CONNECTION="2001:960:79c:aa:227:19ff:feb2:af5 41161 2a01:348:6:45e::2 22"
SSH_TTY="/dev/pts/0"
STAGE1_USE="hardened nptl nptlonly pic"
STY="19932.pts-0.live"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="screen"
TERMCAP="SC|screen|VT 100/ANSI X3.64 virtual terminal:\
        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
        :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
        :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
        :li#48:co#155:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
        :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
        :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
        :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
        :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
        :se=\E[23m:mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:ms:\
        :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
        :vb=\Eg:G0:as=\E(0:ae=\E(B:\
        :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\
        :po=\E[5i:pf=\E[4i:Z0=\E[?3h:Z1=\E[?3l:k0=\E[10~:\
        :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\
        :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:\
        :F2=\E[24~:F3=\E[1;2P:F4=\E[1;2Q:F5=\E[1;2R:F6=\E[1;2S:\
        :F7=\E[15;2~:F8=\E[17;2~:F9=\E[18;2~:FA=\E[19;2~:kb=^H:\
        :K2=\EOE:kB=\E[Z:kF=\E[1;2B:kR=\E[1;2A:*4=\E[3;2~:\
        :*7=\E[1;2F:#2=\E[1;2H:#3=\E[2;2~:#4=\E[1;2D:%c=\E[6;2~:\
        :%e=\E[5;2~:%i=\E[1;2C:kh=\E[1~:@1=\E[1~:kH=\E[4~:\
        :@7=\E[4~:kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:\
        :kd=\EOB:kr=\EOC:kl=\EOD:km:"
USE="acl amd64 apache2 bash-completion berkdb bzip2 cli cracklib crypt cups cxx dri fontconfig gdbm hardened iconv imap ipv6 jpeg jpeg2k justify libwww maildir mmx modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pic pppd python readline sasl session sqlite sqlite3 sse sse2 ssl sysfs tcpd threads truetype unicode urandom vhosts zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l"
WINDOW="1"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
XZ_OPT="--memory=max"
_="/usr/bin/emerge"

Comment 20 George Shapovalov (RETIRED) gentoo-dev 2011-05-24 11:47:11 UTC
I just added a new bootstrap for sparc. See comments to bug #327043 for details.  You need to try gnat-gcc-4.4.5 to get the new bootstrap. As this is very likely related, I will mark this as a dupe of that bug..

*** This bug has been marked as a duplicate of bug 327043 ***