Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 872221

Summary: sys-libs/db-6.0.35-r4 - configure: error: C compiler cannot create executables
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-libs:db-6.0.35-r4:20220921-054632.log

Description Toralf Förster gentoo-dev 2022-09-21 16:13:07 UTC
checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c
checking for x86_64-pc-linux-gnu-cc... x86_64-pc-linux-gnu-cc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/sys-libs/db-6.0.35-r4/work/db-6.0.35/build_unix-abi_x86_64.amd64':
configure: error: C compiler cannot create executables
See `config.log' for more details


  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4_abi32+64-20220919-211548

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit f6423538e6e874aa92718cd54a3bdee59d6af617
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 21 04:32:03 2022 +0000

    2022-09-21 04:32:03 UTC

emerge -qpvO sys-libs/db
[ebuild  N    ] sys-libs/db-6.0.35-r4  USE="-cxx -doc -examples -tcl -test" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2022-09-21 16:13:08 UTC
Created attachment 813343 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-21 16:13:10 UTC
Created attachment 813346 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-21 16:13:12 UTC
Created attachment 813349 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-21 16:13:13 UTC
Created attachment 813352 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-21 16:13:15 UTC
Created attachment 813355 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-21 16:13:16 UTC
Created attachment 813358 [details]
sys-libs:db-6.0.35-r4:20220921-054632.log
Comment 7 Mike Gilbert gentoo-dev 2022-09-21 16:18:59 UTC
configure:6094: checking whether the C compiler works
configure:6116: x86_64-pc-linux-gnu-cc -pipe -march=native -fno-diagnostics-color -O2  -D_GNU_SOURCE
 -D_REENTRANT -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--default-symver -
Wl,--default-symver conftest.c  >&5
ld.lld: error: unknown argument '--default-symver'
ld.lld: error: unknown argument '--default-symver'
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
configure:6120: $? = 1
configure:6160: result: no