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

Bug 918955

Summary: dev-python/leechcorepyc-2.16.9 - [clang] oscompatibility.c: error: address argument to atomic operation must be a pointer to _Atomic type (uint32_t (aka unsig
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: mario.haustein
Status: CONFIRMED ---    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-python:leechcorepyc-2.16.5:20231201-123722.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-01 14:27:26 UTC
too long lines were shrinked:

make[1]: Entering directory '/var/tmp/portage/dev-python/leechcorepyc-2.16.5/work/leechcorepyc-2.16.5/leechcore'
clang -c -o oscompatibility.o oscompatibility.c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthread `pkg-config libusb-1.0 --libs --cflags` -fPIE -fPIC -pie -fstack-protector-
clang-17: warning: -lusb-1.0: 'linker' input unused [-Wunused-command-line-argument]
clang-17: warning: -Wl,-z,noexecstack: 'linker' input unused [-Wunused-command-line-argument]
clang-17: warning: argument unused during compilation: '-shared' [-Wunused-command-line-argument]
clang-17: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
oscompatibility.c:292:8: error: address argument to atomic operation must be a pointer to _Atomic type ('uint32_t *' (aka 'unsigned int *') invalid)
  292 |     if(atomic_compare_exchange_strong(&SRWLock->xchg, &dwZero, 1)) {
      |        ^                              ~~~~~~~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6+libcxx
Python 3.11.6
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit a77c7f39aeb34472c8ae41e6a58c048c35ed9b43
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 1 12:01:59 2023 +0000

    2023-12-01 12:01:59 UTC

emerge -qpvO dev-python/leechcorepyc
[ebuild  N    ] dev-python/leechcorepyc-2.16.5  USE="-debug" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-12-01 14:27:27 UTC
Created attachment 876176 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-01 14:27:28 UTC
Created attachment 876177 [details]
dev-python:leechcorepyc-2.16.5:20231201-123722.log
Comment 3 Toralf Förster gentoo-dev 2023-12-01 14:27:29 UTC
Created attachment 876178 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-01 14:27:31 UTC
Created attachment 876179 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-01 14:27:32 UTC
Created attachment 876180 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-01 14:27:33 UTC
Created attachment 876181 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-01 14:27:34 UTC
Created attachment 876182 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-01 14:27:35 UTC
Created attachment 876183 [details]
temp.tar.xz
Comment 9 Agostino Sarubbo gentoo-dev 2024-02-12 08:03:45 UTC
clang-lld_tinderbox has reproduced this issue with version 2.16.9 - Updating summary.