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

Bug 874498

Summary: sys-libs/libstdc++-v3-3.3.6-r4 - clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
clang.tar.bz2
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-libs:libstdc++-v3-3.3.6-r4:20221003-015830.log.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-03 08:08:36 UTC
clang   -pipe -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H  -o cc1plus \
      cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parse.o cp/ptree.o cp/rtti.o cp/spew.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-lang.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o  c-pretty-print.o c-opts.o main.o libbackend.a libcpp.a   ../libiberty/libiberty.a
/usr/bin/x86_64-pc-linux-gnu-ld: cp/except.o: in function `nothrow_libfn_p':
except.c:(.text+0x111e): undefined reference to `libc_name_p'
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:1059: cc1plus] Error 1
make[1]: *** Waiting for unfinished jobs....

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20221002-132844

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

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]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit e89f3623ec9bc8d116dd4e75e08b0f0b5ef2cdbf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 01:02:05 2022 +0000

    2022-10-03 01:02:04 UTC

emerge -qpvO sys-libs/libstdc++-v3
[ebuild  N    ] sys-libs/libstdc++-v3-3.3.6-r4  USE="nls (-multilib)"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:08:37 UTC
Created attachment 816916 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:08:38 UTC
Created attachment 816919 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:08:39 UTC
Created attachment 816922 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:08:40 UTC
Created attachment 816925 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:08:42 UTC
Created attachment 816928 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:08:43 UTC
Created attachment 816931 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 08:08:44 UTC
Created attachment 816934 [details]
sys-libs:libstdc++-v3-3.3.6-r4:20221003-015830.log.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-03 08:08:46 UTC
Created attachment 816937 [details]
temp.tar.bz2
Comment 9 Agostino Sarubbo gentoo-dev 2022-12-07 15:00:05 UTC
clang-stricter_tinderbox detected this bug as duplicate of 742422 - If this an error, please let me know

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