From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-77352-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1JdLBw-0000eW-NJ
	for garchives@archives.gentoo.org; Sun, 23 Mar 2008 08:04:33 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C071AE04A1;
	Sun, 23 Mar 2008 08:04:30 +0000 (UTC)
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173])
	by pigeon.gentoo.org (Postfix) with ESMTP id 3DF88E04A1
	for <gentoo-user@lists.gentoo.org>; Sun, 23 Mar 2008 08:04:30 +0000 (UTC)
Received: by ug-out-1314.google.com with SMTP id j3so1842575ugf.49
        for <gentoo-user@lists.gentoo.org>; Sun, 23 Mar 2008 01:04:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id;
        bh=fgTxYBUVFastcSMAXVXwKKktxP/jvUHmJlwatxJG8Ho=;
        b=Gzh6QgxRkGBwKrCeIR7GsAiX1WrD7Qo5zJ4nEZmVIXAaHJFW7sYUWWeAqTH+hdClu70RJtyv221B/6G7HL5oBKuSdPeYQj3TzRJOk3TAAEg3rnZEFaSK9AIFkV78fbk5p+y0AdndQvFv4dbo6zq/0mqveU6wxYICFPrKVa/eKK0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id;
        b=G6tF7TGUGcFDaLeeyIwau1lXxipr8hvzlQOnkGJcPzs7SKIkF/zy3Y9UnQrHpejhBlwzhBsNOLoAdwvXQsEt/YsDuBPS1xEbRcTrN4yRIc2lG8ZFLB0+VF+kfA45e4Q21KPx/1Okuo27uKGdCm6b3zxCkKjnd4NJOFhmhwnKHzo=
Received: by 10.67.22.14 with SMTP id z14mr3742065ugi.24.1206259469404;
        Sun, 23 Mar 2008 01:04:29 -0700 (PDT)
Received: from ?10.0.0.3? ( [41.243.230.74])
        by mx.google.com with ESMTPS id 40sm9002276uge.2.2008.03.23.01.04.16
        (version=SSLv3 cipher=OTHER);
        Sun, 23 Mar 2008 01:04:28 -0700 (PDT)
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] unixODBC econf failure
Date: Sun, 23 Mar 2008 10:03:31 +0200
User-Agent: KMail/1.9.9
References: <1206212759.6449.63.camel@localhost> <200803222206.27736.alan.mckinnon@gmail.com> <1206217224.6449.78.camel@localhost>
In-Reply-To: <1206217224.6449.78.camel@localhost>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200803231003.31437.alan.mckinnon@gmail.com>
X-Archives-Salt: bb588fa1-2fbb-49b8-a788-9c0b80a9c2e7
X-Archives-Hash: 52cf1711ede2fa1a1550905384cdf625

On Saturday 22 March 2008, Max wrote:
> Hello Alan,
>
> thanks for your instant reply. Answers below the questions.

Hi Max,

Your settings seem sane, there's nothing outlandish in there.

The "cannot create executables" error seems quite generic in practise - 
I've never had it myself but google shows various reasons, all 
amounting to gcc can't run properly.

Top of the list is sandbox, whichis in your FEATURES. A few tests to 
determine what is going on:

1. Unpack unixODBC somewhere and manually config and compile unixODBC to 
test the toolchain
2. Remove sandbox from FEATURES and try again

alan



>
> On Sat, 2008-03-22 at 22:06 +0200, Alan McKinnon wrote:
> > On Saturday 22 March 2008, Max wrote:
> > > Hello,
> > >
> > > After updating gnutls revdep-rebuild would like to update an
> > > awfull lot of packages, including unixODBC. So far no problem but
> > > unixODBC does not compile. After a while it comes up with the
> > > following error message:
> >
> > <shameless crib of request for more info from the forums>
> >
> > Please post the output of "emerge --info".
> >  Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2,
> > glibc-2.6.1-r0, 2.6.24-gentoo-r3 x86_64)
>
> =================================================================
> System uname: 2.6.24-gentoo-r3 x86_64 Intel(R) Pentium(R) D CPU
> 3.00GHz Timestamp of tree: Sat, 22 Mar 2008 17:00:01 +0000
> app-shells/bash:     3.2_p17-r1
> dev-java/java-config: 1.3.7, 2.1.4
> dev-lang/python:     2.4.4-r9
> dev-python/pycrypto: 2.0.1-r6
> sys-apps/baselayout: 1.12.11.1
> sys-apps/sandbox:    1.2.18.1-r2
> sys-devel/autoconf:  2.13, 2.61-r1
> sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
> sys-devel/binutils:  2.18-r1
> sys-devel/gcc-config: 1.4.0-r4
> sys-devel/libtool:   1.5.26
> virtual/os-headers:  2.6.23-r3
> ACCEPT_KEYWORDS="amd64"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/
> /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/
> /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/
> /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
> CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox
> sfperms strict unmerge-orphans userfetch"
> GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/
> ftp://ftp.free.fr/mirrors/ftp.gentoo.org/
> ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
> LINGUAS="en_GB fr de"
> MAKEOPTS="-j4"
> PKGDIR="/usr/portage/packages"
> PORTAGE_RSYNC_EXTRA_OPTS="--bwlimit=40"
> 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="/var/tmp"
> PORTDIR="/usr/portage"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="3dnow X Xaw3d a52 aac acl alsa amd64 apache2 audiofile
> bash-completion beagle berkdb bzip2 cairo cddb cdio cdparanoia cdr
> cgi cli cpudetection cracklib crypt css cups curl curlwrappers cvs
> dbus directfb dri dv dvd dvdr dvdread emacs encode esd examples
> ffmpeg filepicker firefox flac flatfile fontconfig fortran freetype
> ftp gd gdbm gif gnome gnutls gpgme gpm gstreamer gtk hal hash iconv
> idea ieee1394 imagemagick imap inifile ipod ipv6 isdnlog jabber jack
> java jpeg jpeg2k kerberos keyring lame ldap libnotify live mad
> maildir mbox mhash midi mmx mng mono motif mp2 mp3 mp4 mpeg mplayer
> mudflap musicbrainz mysql ncurses nfs nls nntp nptl nptlonly nsplugin
> ogg openal opengl openmp oss pam pcre pdf perl php pic png pop posix
> postgres pppd python quicktime rar readline reflection samba sasl sdl
> session simplexml smtp speex spell spl sse sse2 ssh ssl subversion
> svg tagwriting tcl tcpd threads tidy tiff tk truetype unicode v4l
> v4l2 vcd vorbis vram x264 xcb xine xinerama xml xmlreader xmlwriter
> xorg xpm xprint xscreensaver xv xvid zip 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 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" LINGUAS="en_GB fr de"
> USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset:  CPPFLAGS, CTARGET,
> EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
> PORTDIR_OVERLAY
>
> >  Have you changed any of CFLAGS, CXXFLAGS, CHOST or LDFLAGS
> > in /etc/make.conf recently? Have you changed your profile recently?
>
> No.
>
> > Have you upgraded or unmerged ay version of GCC recently? If so,
> > what was the old value/version and what is the current
> > value/version?
>
> Yes, a gcc update happened a few days ago. Honistly I don't know what
> the old version was. Was the first update since installation. The
> fact, that 4.1.1 is available as well could mean that this is the old
> one.
>
> > </shameless crib>
> >
> > also please post 'gcc-config -l'
>
>  [1] x86_64-pc-linux-gnu-4.1.1
>  [2] x86_64-pc-linux-gnu-4.1.2 *
>
> Tried it with both of them.
>
> > > ...
> > > checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-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 following file when seeking support:
> > > !!!
> > > /var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/gODB
> > >CCon fig/config.log *
> > >  * ERROR: dev-db/unixODBC-2.2.12 failed.
> > >  * Call stack:
> > >  *               ebuild.sh, line   49:  Called src_compile
> > >  *             environment, line 2622:  Called econf
> > > 'src_compile' 'src_compile' '--host=x86_64-pc-linux-gnu'
> > > '--with-odbc=/var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODB
> > >C-2. 2.12' '--enable-static' *               ebuild.sh, line  513:
> > >  Called die
> > >  * The specific snippet of code:
> > >  *   			die "econf failed"
> > >  *  The die message:
> > >  *   econf failed
> > >  *
> > >  * If you need support, post the topmost build error, and the
> > > call stack if relevant.
> > >  * A complete build log is located at
> > > '/var/tmp/portage/dev-db/unixODBC-2.2.12/temp/build.log'.
> > >  * The ebuild environment file is located at
> > > '/var/tmp/portage/dev-db/unixODBC-2.2.12/temp/environment'.
> > >  *
> > > ...
> > >
> > > The following gcc is installed:
> > >
> > > sys-devel/gcc-4.1.2  USE="doc fortran gcj gtk ip28 ip32r10k
> > > mudflap multislot nls objc objc++ objc-gc (-altivec) -bootstrap
> > > -build -d (-hardened) -libffi (-multilib) (-n32) (-n64) -nocxx
> > > -test -vanilla"
> > >
> > > Some information about the system:
> > >
> > > CPU: Intel P4D Processor Family 15
> > > Gentoo: AMD64
> > >
> > > CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
> > > CXXFLAGS="${CFLAGS}"
> > >
> > > Kernel: gentoo 2.6.24-r3
> > >
> > > If any further information is needed to solve the problem i'll be
> > > glad to provide it. Thank you a lot in advance.
> > >
> > > cu
> > > Max
> >
> > --
> > Alan McKinnon
> > alan dot mckinnon at gmail dot com



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list