Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109807 - can't emerge apr-0.9.6-r3 with error "C compiler cannot create executables"
Summary: can't emerge apr-0.9.6-r3 with error "C compiler cannot create executables"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 07:02 UTC by b52
Modified: 2005-10-19 07:22 UTC (History)
0 users

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 b52 2005-10-19 07:02:49 UTC
Hi

I just tried to merge apr-0.9.6-r3 and got the following error:

>>> Unpacking apr-0.9.6.tar.gz to /var/tmp/portage/apr-0.9.6-r3/work
>>> Source unpacked.
 * Running elibtoolize in: apr-0.9.6/build
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.0.patch ...
 *   Applying sed-1.5.6.patch ...
 * econf: updating apr-0.9.6/build/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating apr-0.9.6/build/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --datadir=/usr/share/apr-0 --enable-ipv6
--enable-threads --enable-nonportable-atomics --with-devrandom=/dev/random
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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 0.9.6
checking for chosen layout... apr
checking for i686-pc-linux-gnu-gcc... i686-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 config.log to your bug report:
!!! /var/tmp/portage/apr-0.9.6-r3/work/apr-0.9.6/config.log

!!! ERROR: dev-libs/apr-0.9.6-r3 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed


Reproducible: Always
Steps to Reproduce:
1.emerge apr
2.
3.

Actual Results:  
got an error

Expected Results:  
compiled apr

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r9 i686)
=================================================================
System uname: 2.6.12-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.6.13
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 23 2005, 06:12:08)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.9.5, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium-m -O3 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium-m -O3 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages sandbox
sfperms strict"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo
ftp://mirrors.blueyonder.co.uk/mirrors/gentoo
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo"
LANG="en_IE@euro"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X X509 acl acpi alsa amd apache2 avi berkdb bitmap-fonts bluetooth
cdparanoia cdr cgi chroot clamav cpudetection crypt cups curl dga divx4linux dvd
dvdr emboss encode esd ethereal fam fastcgi fax fbcon ffmpeg flac foomaticdb
fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imap imlib
innodb ipv6 isdn java javascript jpeg junit lcd libg++ libwww mad maildir md5sum
memlimit mikmod mmx motif mozcalendar mozilla moznocompose moznoirc mp3 mpeg
nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls ogg oggvorbis opengl
oss pam pcap pcmcia pdflib perl php png pnp python qt quicktime readline samba
sasl scanner sdl skey slang snmp socks5 spell sse sse2 ssl svga tcltk tcpd tiff
transcode truetype truetype-fonts type1-fonts unicode usb vcd virus-scan vorbis
wavelan win32codecs wmf x86 xml xml2 xmms xv zlib video_cards_i810
video_cards_i830 userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Lares Moreau 2005-10-19 07:22:39 UTC
-mcpu=pentium-m is only supported in >=gcc-3.4
Use -mcpu=pentium3 flag in <gcc-3.4