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

Bug 913968

Summary: sys-libs/llvm-libunwind-16.0.6-r1 - x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option -nostdlib++
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: CONFIRMED ---    
Severity: normal CC: ke.b
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
sys-libs:llvm-libunwind-16.0.6-r1:20230910-203115.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-09-11 07:28:17 UTC
too long lines were shrinked:

/var/tmp/portage/sys-libs/llvm-libunwind-16.0.6-r1/work/libunwind/src/DwarfInstructions.hpp:358:34: warning: conversion from uint64_t {aka long long unsigned int} to libunwind::DwarfInstructions<libunwind::LocalAddressSpace, libunwind::Registers_x86>::pint_t {aka unsigned int} may change value [-Wco
  358 |           r2 = addressSpace.get64(sp + PPC64_ELFV2_R2_OFFSET);
      |                ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[9/10] : && /usr/bin/x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -fPIC -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wno-comment -fdiagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -W
FAILED: lib/libunwind.so.1.0 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -fPIC -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -Wno-comment -fdiagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,de
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option -nostdlib++
ninja: build stopped: subcommand failed.
 * ERROR: sys-libs/llvm-libunwind-16.0.6-r1::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-20230910-061004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit bd5bd23c6fd2ce37cc605fbc982dd26e22eb689e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 10 19:47:17 2023 +0000

    2023-09-10 19:47:16 UTC

emerge -qpvO sys-libs/llvm-libunwind
[ebuild  N    ] sys-libs/llvm-libunwind-16.0.6-r1  USE="verify-sig -clang -debug -static-libs -test" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2023-09-11 07:28:18 UTC
Created attachment 870282 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-11 07:28:19 UTC
Created attachment 870283 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-11 07:28:20 UTC
Created attachment 870284 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-11 07:28:21 UTC
Created attachment 870285 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-11 07:28:22 UTC
Created attachment 870286 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-11 07:28:23 UTC
Created attachment 870287 [details]
sys-libs:llvm-libunwind-16.0.6-r1:20230910-203115.log
Comment 7 Toralf Förster gentoo-dev 2023-09-11 07:28:24 UTC
Created attachment 870288 [details]
temp.tar.xz
Comment 8 Karl Ernst Brunk 2024-06-12 17:36:00 UTC
Hi,
this is a confirmed bug report and nothing else happend since 2023 ?
Even more strange, this is happenng with 18.1.7 also and it is still not reported.
I am just curious
cheers
Karl