Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538100 - sys-libs/glibc-2.20-r1 with CC=clang - configure:9: checking whether clang -m64 -B/var/tmp/portage/sys-libs/glibc-2.20-r1/temp/bfd-linker compiles in -mx32 mode by default // configure:5156: error: These critical programs are missing or too old: gcc
Summary: sys-libs/glibc-2.20-r1 with CC=clang - configure:9: checking whether clang -m...
Status: RESOLVED DUPLICATE of bug 502476
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-28 20:49 UTC by Stefan de Konink
Modified: 2015-01-30 09:22 UTC (History)
0 users

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


Attachments
build.log (build.log,9.70 KB, text/plain)
2015-01-28 20:49 UTC, Stefan de Konink
Details
config.log (config.log,15.06 KB, text/plain)
2015-01-28 20:49 UTC, Stefan de Konink
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan de Konink 2015-01-28 20:49:08 UTC
Created attachment 395078 [details]
build.log

Seems to be the same as: #142832.

Portage 2.2.15 (python 2.7.6-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.9.2, glibc-2.18-r1, 3.13.3-gentoo x86_64)
=================================================================
System uname: Linux-3.13.3-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X5450_@_3.00GHz-with-gentoo-2.2
KiB Mem:     8178064 total,   3212568 free
KiB Swap:    4194300 total,   4192020 free
Timestamp of tree: Wed, 28 Jan 2015 18:15:01 +0000
sh bash 4.2_p45-r1
ld GNU gold (GNU Binutils 2.24) 1.11
app-shells/bash:          4.2_p45-r1
dev-lang/perl:            5.16.3
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.7.3-r1, 4.8.2, 4.9.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.5
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -O2 -march=native -pipe"
DISTDIR="/var/tmp/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/tmp/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="amd64 berkdb bzip2 caps cli cracklib crypt cxx dri fortran gdbm iconv ipv6 lto mmx modules ncurses openmp pcre python2 readline session sse sse2 ssl systemd tcpd threads unicode vim-syntax zlib" ABI_X86="64" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" USERLAND="GNU" VIDEO_CARDS="ati" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Stefan de Konink 2015-01-28 20:49:22 UTC
Created attachment 395080 [details]
config.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-29 11:54:35 UTC
Why is your system trying to use GCC and clang at the same time?
Comment 3 Stefan de Konink 2015-01-29 14:07:18 UTC
cat /etc/portage/make.conf
CC=clang
CXX=clang++

I guess that is the reason for clang, because it should be the default. But maybe glibc ignores that?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-30 09:22:57 UTC

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