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

Reply via email to