Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878623 - dev-util/patdiff-0.15.0 : (.text+0x52a0): undefined reference to `core_unix_gettid'
Summary: dev-util/patdiff-0.15.0 : (.text+0x52a0): undefined reference to `core_unix_g...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL: https://github.com/janestreet/jst-con...
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-29 09:45 UTC by Toralf Förster
Modified: 2024-01-24 07:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.60 KB, text/plain)
2022-10-29 09:45 UTC, Toralf Förster
Details
dev-util:patdiff-0.15.0:20221029-053519.log (dev-util:patdiff-0.15.0:20221029-053519.log,6.52 KB, text/plain)
2022-10-29 09:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,90.99 KB, text/plain)
2022-10-29 09:45 UTC, Toralf Förster
Details
environment (environment,29.48 KB, text/plain)
2022-10-29 09:45 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,8.50 KB, application/x-bzip)
2022-10-29 09:45 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,11.15 KB, application/x-bzip)
2022-10-29 09:45 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 2022-10-29 09:45:32 UTC
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/ocaml/core_unix/linux_ext/linux_ext.a(linux_ext.o): in function `camlLinux_ext__sched_setaffinity_this_thread_91960':
(.text+0x52a0): undefined reference to `core_unix_gettid'
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: /usr/lib64/ocaml/core_unix/linux_ext/linux_ext.a(linux_ext.o): in function `camlLinux_ext__1':
(.data+0x4300): undefined reference to `core_unix_gettid'
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
File "caml_startup", line 1:
Error: Error during linking (exit code 1)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20221028-180004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.3
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit fc6ee3d80b413dbeeddbc87bdfdd737684a3b210
Merge: 8c55bc388652 7aaa78a98524
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Oct 29 05:01:48 2022 +0000

    Merge updates from master

emerge -qpvO dev-util/patdiff
[ebuild  N    ] dev-util/patdiff-0.15.0  USE="ocamlopt"
Comment 1 Toralf Förster gentoo-dev 2022-10-29 09:45:33 UTC
Created attachment 825913 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-29 09:45:33 UTC
Created attachment 825915 [details]
dev-util:patdiff-0.15.0:20221029-053519.log
Comment 3 Toralf Förster gentoo-dev 2022-10-29 09:45:35 UTC
Created attachment 825917 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-29 09:45:36 UTC
Created attachment 825919 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-29 09:45:37 UTC
Created attachment 825921 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-29 09:45:38 UTC
Created attachment 825923 [details]
temp.tar.bz2
Comment 7 Alex Fan archtester 2023-01-07 12:52:59 UTC
I traced it all the way down patdiff->core->jst-config. jst-config thinks there is no get_thread_id func available. will submit a pr with other fixes shortly.