Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912352 - dev-python/pypy3_10-7.3.12_p1 - [clang] gcc: error: unrecognized command-line option -rtlib=compiler-rt
Summary: dev-python/pypy3_10-7.3.12_p1 - [clang] gcc: error: unrecognized command-line...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-16 09:07 UTC by Toralf Förster
Modified: 2023-08-24 23:17 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.21 KB, text/plain)
2023-08-16 09:07 UTC, Toralf Förster
Details
dev-python:pypy3_10-7.3.12_p1:20230815-210420.log (dev-python:pypy3_10-7.3.12_p1:20230815-210420.log,6.06 KB, text/plain)
2023-08-16 09:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,82.12 KB, text/plain)
2023-08-16 09:07 UTC, Toralf Förster
Details
environment (environment,95.28 KB, text/plain)
2023-08-16 09:07 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,788 bytes, application/x-xz)
2023-08-16 09:07 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,8.78 KB, application/x-xz)
2023-08-16 09:07 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.56 KB, application/x-xz)
2023-08-16 09:07 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-08-16 09:07:14 UTC
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pypy3_10-7.3.12_p1/work/pypy3.10-v7.3.12-src ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/pypy3_10-7.3.12_p1/work/pypy3.10-v7.3.12-src ...
 * Generating caches and CFFI modules ...
gcc: error: unrecognized command-line option -rtlib=compiler-rt
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/pypy3_10-7.3.12_p1/work/pypy3.10-v7.3.12-src/lib-python/3/distutils/unixccompiler.py", line 204, in link

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20230814-184756

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

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+libcxx
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.71.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
  [1]   php8.2 *
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit abea6f7537406f00c51c7cae9bff97efc705a031
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 15 20:31:44 2023 +0000

    2023-08-15 20:31:43 UTC

emerge -qpvO dev-python/pypy3_10
[ebuild  N    ] dev-python/pypy3_10-7.3.12_p1  USE="ensurepip gdbm jit ncurses -sqlite -tk"
Comment 1 Toralf Förster gentoo-dev 2023-08-16 09:07:15 UTC
Created attachment 867973 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-16 09:07:16 UTC
Created attachment 867974 [details]
dev-python:pypy3_10-7.3.12_p1:20230815-210420.log
Comment 3 Toralf Förster gentoo-dev 2023-08-16 09:07:17 UTC
Created attachment 867975 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-08-16 09:07:18 UTC
Created attachment 867976 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-08-16 09:07:19 UTC
Created attachment 867977 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-16 09:07:20 UTC
Created attachment 867978 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-16 09:07:21 UTC
Created attachment 867979 [details]
logs.tar.xz
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-24 23:17:21 UTC
This one is probably fixed by:

commit 5e5c9d5c524871f5af260557dbd2962b8eec5087
Author: Sam James <sam@gentoo.org>
Date:   Fri Aug 25 00:13:08 2023 +0100

    profiles/features/llvm: drop problematic LDFLAGS

    clang-common already handles setting these for us, and if we set it in profiles,
    then it gets passed down to gcc via clang for things like Fortran where clang
    is just acting as the driver.

    Closes: https://bugs.gentoo.org/908798
    Signed-off-by: Sam James <sam@gentoo.org>

altohugh see also bug 876307.