Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157648 - db fails to compile with gcc 4.1.1, all versions
Summary: db fails to compile with gcc 4.1.1, all versions
Status: RESOLVED DUPLICATE of bug 145167
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-09 15:37 UTC by Alex Boag-Munroe
Modified: 2006-12-09 15:39 UTC (History)
0 users

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


Attachments
Config.log from db-4.3.29-r2 (config.log,14.38 KB, text/plain)
2006-12-09 15:39 UTC, Alex Boag-Munroe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Boag-Munroe 2006-12-09 15:37:39 UTC
Portage 2.1.1_pre3-r3 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17.50.0.8
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3 -ftracer -fprefetch-loop-arrays"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3 -ftracer -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer nodistlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://194.117.143.69/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://212.219.56.132/sites/www.ibiblio.org/gentoo/ ftp://194.117.143.70/mirrors/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 64bit a52 aac aim amarok amr atm berkdb bitmap-fonts bluetooth bzip2 cairo cdinstall cdr cli cracklib crypt cups curl custom-cflags dbus divx4linux dlloader dts dvb dvd dvdr dvdread escreen exscalibar ffmpeg flac fortify fortran gdbm glibc-omitfp glitz gmail gmailtimestamps gpm hal iconv ipod isdnlog jabber java jdk jre kde-meta kdeenablefinal kqemu lame libg++ mad malloccheck matroska mng msn multiuser musepack musicbrainz ncurses nls nntp no-old-linux nptl nptlonly nsplugin nvidia objc objc++ objc-gc offensive ogg openal oscar oss pam pcre pda perl pic ppds pppd python readline reflection rtc session spl sql ssl tcpd threads truetype truetype-fonts type1-fonts udev unicode v4l2 visualization vorbis webdav wxwindows x264 xcomposite xine xinerama xorg xscreensaver xvid xvmc yahoo zlib alsa_cards_emu10k1 alsa_cards_intel8x0 alsa_cards_usb-audio elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS

Trying to install db gives the following error:

configure:3632: error: C compiler cannot create executables

Checking config.log the relevant parts seem to be:

configure:3590: x86_64-pc-linux-gnu-cc -march=athlon64 -O2 -pipe -msse3 -ftracer -fprefetch-loop-arrays  -D_GNU_SOURCE -
D_REENTRANT -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--default-symver conftest.c  >&5
x86_64-pc-linux-gnu-cc: No such file or directory
configure:3593: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "Berkeley DB"
| #define PACKAGE_TARNAME "db-4.3.29"
| #define PACKAGE_VERSION "4.3.29"
| #define PACKAGE_STRING "Berkeley DB 4.3.29"
| #define PACKAGE_BUGREPORT "support@sleepycat.com"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3632: error: C compiler cannot create executables
See `config.log' for more details.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-09 15:39:14 UTC
Upgrade ccache to 2.4-r6

*** This bug has been marked as a duplicate of 145167 ***
Comment 2 Alex Boag-Munroe 2006-12-09 15:39:35 UTC
Created attachment 103721 [details]
Config.log from db-4.3.29-r2