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

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


Attachments
emerge-info.txt (emerge-info.txt,19.18 KB, text/plain)
2024-06-12 07:11 UTC, Toralf Förster
Details
dev-lang:nim-2.0.4:20240612-014307.log (dev-lang:nim-2.0.4:20240612-014307.log,60.43 KB, text/plain)
2024-06-12 07:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,224.97 KB, text/plain)
2024-06-12 07:11 UTC, Toralf Förster
Details
environment (environment,71.56 KB, text/plain)
2024-06-12 07:11 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-06-12 07:11 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,39.83 KB, application/x-xz)
2024-06-12 07:11 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,57.29 KB, application/x-xz)
2024-06-12 07:11 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,17.58 KB, application/x-xz)
2024-06-12 07:11 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-06-12 07:10:59 UTC
CC: ../lib/std/private/schubfach.nim
CC: ../lib/std/formatfloat.nim
CC: ../lib/std/objectdollar.nim
CC: ../lib/system/dollars.nim
CC: ../lib/std/typedthreads.nim
/var/tmp/portage/dev-lang/nim-2.0.4/homedir/.cache/nim/nimsuggest_r/@m..@slib@sstd@stypedthreads.nim.c: In function 'createThread__procmonitor_u24':
/var/tmp/portage/dev-lang/nim-2.0.4/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_u45, ((void*) (t_p0)));
      |                                       ~^~~~~~~~~~~~~

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

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

  UNMASKED:
  >=sys-libs/ncurses-6.5
    Issues involving opaque types / incomplete typedefs should block bug 930805

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-14 *
clang/llvm (if any):
clang version 18.1.7
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.7
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.78.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-11 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.4 linux/amd64

  HEAD of ::gentoo
commit d080076f1ba2e822289383ec094bd2381eb05819
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jun 11 23:33:58 2024 +0000

    2024-06-11 23:33:58 UTC

emerge -qpvO dev-lang/nim
[ebuild  N    ] dev-lang/nim-2.0.4  USE="-test -test-js"
Comment 1 Toralf Förster gentoo-dev 2024-06-12 07:11:00 UTC
Created attachment 895671 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-12 07:11:02 UTC
Created attachment 895672 [details]
dev-lang:nim-2.0.4:20240612-014307.log
Comment 3 Toralf Förster gentoo-dev 2024-06-12 07:11:03 UTC
Created attachment 895673 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-06-12 07:11:04 UTC
Created attachment 895674 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-06-12 07:11:05 UTC
Created attachment 895675 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-12 07:11:06 UTC
Created attachment 895676 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-12 07:11:07 UTC
Created attachment 895677 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-06-12 07:11:08 UTC
Created attachment 895678 [details]
temp.tar.xz
Comment 9 Agostino Sarubbo gentoo-dev 2024-06-28 13:07:03 UTC
tinderbox_musl has reproduced this issue with version 2.0.6 - Updating summary.