Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914713 - dev-lang/moarvm-2023.02-r1 - /.../stdlib-bsearch.h:33:(.text+<snip>): undefined reference to _ubsan_handle_function_type_mismatch
Summary: dev-lang/moarvm-2023.02-r1 - /.../stdlib-bsearch.h:33:(.text+<snip>): undefin...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-25 17:54 UTC by Toralf Förster
Modified: 2023-09-25 17:55 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.90 KB, text/plain)
2023-09-25 17:54 UTC, Toralf Förster
Details
dev-lang:moarvm-2023.02-r1:20230925-162852.log.xz (dev-lang:moarvm-2023.02-r1:20230925-162852.log.xz,7.85 KB, application/x-xz)
2023-09-25 17:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,101.92 KB, text/plain)
2023-09-25 17:54 UTC, Toralf Förster
Details
environment (environment,24.85 KB, text/plain)
2023-09-25 17:54 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-09-25 17:54 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,15.87 KB, application/x-xz)
2023-09-25 17:54 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.92 KB, application/x-xz)
2023-09-25 17:54 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,14.79 KB, application/x-xz)
2023-09-25 17:55 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-09-25 17:54:52 UTC
too long lines were shrinked:

ar rcs 3rdparty/libtommath/libtommath.a 3rdparty/libtommath/*.o 
clang -c -fno-omit-frame-pointer -fno-optimize-sibling-calls -Werror=vla -O3 -DNDEBUG -Wno-logical-op-parentheses -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DHAVE_LIBFFI -fPIC -gdwarf-4  -fno-omit-frame-pointer -fsanitize=undefined -DMVM_HEAPSNAPSHOT_FORMAT=3 -O2 -pipe -march=native -fno-diagnostics-color
ar rcs 3rdparty/sha1/libsha1.a 3rdparty/sha1/*.o 
clang -o libmoar.so -O3 -DNDEBUG -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -fPIC  src/core/callsite.o src/core/args.o src/core/exceptions.o src/core/interp.o src/core/str_hash_table.o src/core/fixkey_hash_table.o src/core/index_hash_table.o s
clang -o moar -O3 -DNDEBUG -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0  src/main.o -lubsan -L. -lmoar
/usr/bin/x86_64-pc-linux-gnu-ld.bfd: src/main.o: in function `bsearch':
/usr/include/bits/stdlib-bsearch.h:33:(.text+0x1e2): undefined reference to `__ubsan_handle_function_type_mismatch'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:624: moar] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20230924-064505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.1
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.1
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 2bb842cc94982e926a763cfe91d20fc7004c0d15
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 25 16:01:43 2023 +0000

    2023-09-25 16:01:43 UTC

emerge -qpvO dev-lang/moarvm
[ebuild  N    ] dev-lang/moarvm-2023.02-r1  USE="clang jit optimize ubsan (-asan) -debug -doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2023-09-25 17:54:53 UTC
Created attachment 871425 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-25 17:54:54 UTC
Created attachment 871426 [details]
dev-lang:moarvm-2023.02-r1:20230925-162852.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-09-25 17:54:56 UTC
Created attachment 871427 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-09-25 17:54:57 UTC
Created attachment 871428 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-25 17:54:57 UTC
Created attachment 871429 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-25 17:54:58 UTC
Created attachment 871430 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-25 17:54:59 UTC
Created attachment 871431 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-25 17:55:00 UTC
Created attachment 871432 [details]
temp.tar.xz