Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940704 - dev-lang/zig-0.13.0 - [ncurses-6.5] [libtool] [gcc-15] error: ld.lld: undefined symbol: ZigLlvmAr_main
Summary: dev-lang/zig-0.13.0 - [ncurses-6.5] [libtool] [gcc-15] error: ld.lld: undefin...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Eric Joldasov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-03 08:51 UTC by Toralf Förster
Modified: 2024-12-21 14:49 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.00 KB, text/plain)
2024-10-03 08:51 UTC, Toralf Förster
Details
dev-lang:zig-0.13.0:20241003-080411.log (dev-lang:zig-0.13.0:20241003-080411.log,128.77 KB, text/plain)
2024-10-03 08:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,131.01 KB, text/plain)
2024-10-03 08:51 UTC, Toralf Förster
Details
environment (environment,125.11 KB, text/plain)
2024-10-03 08:51 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.00 KB, application/x-xz)
2024-10-03 08:51 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.68 KB, application/x-xz)
2024-10-03 08:51 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,39.72 KB, application/x-xz)
2024-10-03 08:51 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-03 08:51:31 UTC
too long lines were shrinked:

[19/19] cd /var/tmp/portage/dev-lang/zig-0.13.0/work/zig-0.13.0 && /var/tmp/portage/dev-lang/zig-0.13.0/work/zig-0.13.0/build/zig2 build --prefix /var/tmp/portage/dev-lang/zig-0.13.0/work/zig-0.13.0/build/stage3 --zig-lib-dir /var/tmp/portage/dev-lang/zig-0.13.0/work/zig-0.13.0/lib -Dversion-string=
FAILED: stage3/bin/zig /var/tmp/portage/dev-lang/zig-0.13.0/work/zig-0.13.0/build/stage3/bin/zig 
cd /var/tmp/portage/dev-lang/zig-0.13.0/work/zig-0.13.0 && /var/tmp/portage/dev-lang/zig-0.13.0/work/zig-0.13.0/build/zig2 build --prefix /var/tmp/portage/dev-lang/zig-0.13.0/work/zig-0.13.0/build/stage3 --zig-lib-dir /var/tmp/portage/dev-lang/zig-0.13.0/work/zig-0.13.0/lib -Dversion-string=0.13.0 -
install
+- install zig
   +- zig build-exe zig ReleaseFast native 260 errors
error: ld.lld: undefined symbol: ZigLlvmAr_main
    note: referenced by main.zig:5553
    note:               /var/tmp/portage/dev-lang/zig-0.13.0/temp/zig-local-cache/o/f199c51edcb09993407a696e445a15a1/zig.o:(main)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20240930-224005

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Requested by sam
    Issues involving opaque types / incomplete typedefs should block bug 930805
  /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 19.1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.1
Python 3.12.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_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.2.8
php cli (if any):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit a2fe21d7d4bdb05ec75ec7b937a8c90747f28245
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 3 05:49:27 2024 +0000

    2024-10-03 05:49:26 UTC

emerge -qpvO =dev-lang/zig-0.13.0
[ebuild  N    ] dev-lang/zig-0.13.0  USE="-doc -test -verify-sig"
Comment 1 Toralf Förster gentoo-dev 2024-10-03 08:51:32 UTC
Created attachment 904809 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-03 08:51:34 UTC
Created attachment 904810 [details]
dev-lang:zig-0.13.0:20241003-080411.log
Comment 3 Toralf Förster gentoo-dev 2024-10-03 08:51:36 UTC
Created attachment 904811 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-10-03 08:51:42 UTC
Created attachment 904812 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-03 08:51:43 UTC
Created attachment 904813 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-03 08:51:44 UTC
Created attachment 904814 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-03 08:51:46 UTC
Created attachment 904815 [details]
qlist-info.txt.xz
Comment 8 Eric Joldasov 2024-12-21 14:49:39 UTC
LTO is filtered from flags now, should be fixed.