Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942436 - dev-lang/nim-2.2.0 - [gcc-15] /.../@m..@slib@sstd@stypedthreads.nim.c: error: passing argument 1 of pthread_create from incompatible pointer type [-Wincompatible-pointer-
Summary: dev-lang/nim-2.2.0 - [gcc-15] /.../@m..@slib@sstd@stypedthreads.nim.c: error:...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-10-29 08:00 UTC by Toralf Förster
Modified: 2024-10-29 08:00 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.43 KB, text/plain)
2024-10-29 08:00 UTC, Toralf Förster
Details
dev-lang:nim-2.2.0:20241028-234902.log.xz (dev-lang:nim-2.2.0:20241028-234902.log.xz,89.31 KB, application/x-xz)
2024-10-29 08:00 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,88.01 KB, application/x-xz)
2024-10-29 08:00 UTC, Toralf Förster
Details
environment (environment,75.31 KB, text/plain)
2024-10-29 08:00 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.15 KB, application/x-xz)
2024-10-29 08:00 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.52 KB, application/x-xz)
2024-10-29 08:00 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,91.78 KB, application/x-xz)
2024-10-29 08:00 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,18.25 KB, application/x-xz)
2024-10-29 08:00 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 2024-10-29 08:00:34 UTC
too long lines were shrinked:

CC: ../lib/std/private/schubfach.nim: x86_64-pc-linux-musl-gcc -c -w -fmax-errors=3 -pthread -O2 -pipe -march=native -fno-diagnostics-color   -I/var/tmp/portage/dev-lang/nim-2.2.0/work/nim-2.2.0/lib -I/var/tmp/portage/dev-lang/nim-2.2.0/work/nim-2.2.0/nimsuggest -o /var/tmp/portage/dev-lang/nim-2.2.
CC: ../lib/std/formatfloat.nim: x86_64-pc-linux-musl-gcc -c -w -fmax-errors=3 -pthread -O2 -pipe -march=native -fno-diagnostics-color   -I/var/tmp/portage/dev-lang/nim-2.2.0/work/nim-2.2.0/lib -I/var/tmp/portage/dev-lang/nim-2.2.0/work/nim-2.2.0/nimsuggest -o /var/tmp/portage/dev-lang/nim-2.2.0/home
CC: ../lib/std/objectdollar.nim: x86_64-pc-linux-musl-gcc -c -w -fmax-errors=3 -pthread -O2 -pipe -march=native -fno-diagnostics-color   -I/var/tmp/portage/dev-lang/nim-2.2.0/work/nim-2.2.0/lib -I/var/tmp/portage/dev-lang/nim-2.2.0/work/nim-2.2.0/nimsuggest -o /var/tmp/portage/dev-lang/nim-2.2.0/hom
CC: ../lib/system/dollars.nim: x86_64-pc-linux-musl-gcc -c -w -fmax-errors=3 -pthread -O2 -pipe -march=native -fno-diagnostics-color   -I/var/tmp/portage/dev-lang/nim-2.2.0/work/nim-2.2.0/lib -I/var/tmp/portage/dev-lang/nim-2.2.0/work/nim-2.2.0/nimsuggest -o /var/tmp/portage/dev-lang/nim-2.2.0/homed
CC: ../lib/std/typedthreads.nim: x86_64-pc-linux-musl-gcc -c -w -fmax-errors=3 -pthread -O2 -pipe -march=native -fno-diagnostics-color   -I/var/tmp/portage/dev-lang/nim-2.2.0/work/nim-2.2.0/lib -I/var/tmp/portage/dev-lang/nim-2.2.0/work/nim-2.2.0/nimsuggest -o /var/tmp/portage/dev-lang/nim-2.2.0/hom
/var/tmp/portage/dev-lang/nim-2.2.0/homedir/.cache/nim/nimsuggest_r/@m..@slib@sstd@stypedthreads.nim.c: In function 'createThread__procmonitor_u22':
/var/tmp/portage/dev-lang/nim-2.2.0/homedir/.cache/nim/nimsuggest_r/@m..@slib@sstd@stypedthreads.nim.c:175:40: error: passing argument 1 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types]
  175 |                 T13_ = pthread_create((&(*t_p0).sys), (&a), threadProcWrapper__procmonitor_u43, ((void*) (t_p0)));
      |                                       ~^~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl_hardened-20241019-170007

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-musl-15 *
clang version 19.1.2
llvm-config: 19.1.2
Python 3.12.7
go version go1.23.2 linux/amd64
  [1]   php8.2
  [2]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0
  [2]   rust-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 8c72c38e47f6881c9765aaa73dba82eb10897d76
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 28 23:03:55 2024 +0000

    2024-10-28 23:03:55 UTC

emerge -qpvO =dev-lang/nim-2.2.0
[ebuild  N    ] dev-lang/nim-2.2.0  USE="-test -test-js"
Comment 1 Toralf Förster gentoo-dev 2024-10-29 08:00:35 UTC
Created attachment 907207 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-29 08:00:36 UTC
Created attachment 907208 [details]
dev-lang:nim-2.2.0:20241028-234902.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-10-29 08:00:38 UTC
Created attachment 907209 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-10-29 08:00:39 UTC
Created attachment 907210 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-29 08:00:40 UTC
Created attachment 907211 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-29 08:00:41 UTC
Created attachment 907212 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-29 08:00:42 UTC
Created attachment 907213 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-29 08:00:43 UTC
Created attachment 907214 [details]
temp.tar.xz