Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940504 - =games-board/stockfish-17 fails with =gcc-15.0.0_pre20240929: <artificial>:(.text+0x83ec): undefined reference to `(anonymous namespace)::gEmbeddedNNUEBigSize'
Summary: =games-board/stockfish-17 fails with =gcc-15.0.0_pre20240929: <artificial>:(....
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
: 941463 (view as bug list)
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-09-30 04:33 UTC by tdr
Modified: 2024-10-16 10:56 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge--info,17 bytes, text/plain)
2024-09-30 04:35 UTC, tdr
Details
build log of compile failure (stockfish-17-build_fail.log,17 bytes, text/plain)
2024-09-30 04:36 UTC, tdr
Details
build failure log (stockfish-17-build_fail.log,15.33 KB, text/plain)
2024-09-30 12:15 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-09-30 04:33:25 UTC
gcc snapshot =gcc-15.0.0_pre20240922-r2 fails to build stockfish
    ld: <artificial>:(.text+0x83fa): undefined reference to `(anonymous namespace)::gEmbeddedNNUEBigData'

Reproducible: Always

Steps to Reproduce:
select to use =gcc-15.0.0_pre20240929

USE="optimize -debug -general-32 -general-64" CPU_FLAGS_X86="avx2 avx512dq avx512f popcnt sse" emerge -1 =games-board/stockfish-17

Actual Results:  
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-board/stockfish-17/temp/cc3RZsL1.ltrans8.ltrans.o: in function `Stockfish::Eval::NNUE::Network<Stockfish::Eval::NNUE::NetworkArchitecture<3072u, 15, 32>, Stockfish::Eval::NNUE::FeatureTransformer<3072u, &Stockfish::StateInfo::accumulatorBig> >::load_internal()':
<artificial>:(.text+0x83ec): undefined reference to `(anonymous namespace)::gEmbeddedNNUEBigSize'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x83fa): undefined reference to `(anonymous namespace)::gEmbeddedNNUEBigData'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x85eb): undefined reference to `(anonymous namespace)::gEmbeddedNNUESmallSize'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x85f9): undefined reference to `(anonymous namespace)::gEmbeddedNNUESmallData'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-board/stockfish-17/temp/cc3RZsL1.ltrans8.ltrans.o: in function `Stockfish::Eval::NNUE::Network<Stockfish::Eval::NNUE::NetworkArchitecture<128u, 15, 32>, Stockfish::Eval::NNUE::FeatureTransformer<128u, &Stockfish::StateInfo::accumulatorSmall> >::load_internal()':
<artificial>:(.text+0x9e4c): undefined reference to `(anonymous namespace)::gEmbeddedNNUEBigSize'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x9e5a): undefined reference to `(anonymous namespace)::gEmbeddedNNUEBigData'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0xa04b): undefined reference to `(anonymous namespace)::gEmbeddedNNUESmallSize'
/usr/lib/gcc/x86_64-pc-linux-gnu/15/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0xa059): undefined reference to `(anonymous namespace)::gEmbeddedNNUESmallData'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1046: stockfish] Error 1
make[2]: Leaving directory '/var/tmp/portage/games-board/stockfish-17/work/Stockfish-sf_17/src'
make[1]: *** [Makefile:1067: gcc-profile-make] Error 2
make[1]: Leaving directory '/var/tmp/portage/games-board/stockfish-17/work/Stockfish-sf_17/src'
make: *** [Makefile:881: profile-build] Error 2
 * ERROR: games-board/stockfish-17::gentoo failed (compile phase):


succesfully built same version on 2024-09-24 with =gcc-15.0.0_pre20240922-r2 using the same environment
Comment 1 tdr 2024-09-30 04:35:01 UTC
Created attachment 904226 [details]
emerge --info
Comment 2 tdr 2024-09-30 04:36:51 UTC
Created attachment 904227 [details]
build log of compile failure
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-30 05:05:05 UTC
Wrong attachments? I see "Moved permanently"
Comment 4 tdr 2024-09-30 12:15:50 UTC
Created attachment 904245 [details]
build failure log
Comment 5 tdr 2024-10-14 05:07:00 UTC
continues to fail with sys-devel/gcc-15.0.0_pre20241013-r1
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-14 05:13:14 UTC
Does it work with 14?
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-14 07:28:54 UTC
Reproduced.
Comment 8 Toralf Förster gentoo-dev 2024-10-16 10:56:16 UTC
*** Bug 941463 has been marked as a duplicate of this bug. ***