Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 882049

Summary: games-simulation/openttd-12.2-r1 - ld.lld: error: undefined hidden symbol: _newgrf_textrefstack (.llvm.18256875340540975915)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
games-simulation:openttd-12.2-r1:20221119-202722.log.bz2
logs.tar.bz2
temp.tar.bz2
var.tmp.clang.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-19 20:43:55 UTC
too long lines were shrinked:

[791/792] /usr/lib/llvm/15/bin/clang++ -DDEDICATED -DGLOBAL_DATA_DIR=\"/usr/share/openttd\" -DNDEBUG -DPERSONAL_DIR=\".openttd\" -DPOINTER_IS_64BIT -DTTD_ENDIAN=TTD_LITTLE_ENDIAN -DUNIX -DWITH_LIBLZMA -DWITH_PERSONAL_DIR -DWITH_PNG -DWITH_SSE -DWITH_ZLIB -I/var/tmp/portage/games-simulation/openttd-1
[792/792] : && /usr/lib/llvm/15/bin/clang++ -pipe -march=native -fno-diagnostics-color -O2 -flto=thin -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/openttd.dir/generated/rev.cpp.o CMakeFiles/openttd.dir/src/script/api/script_accounting.cpp.o CMakeFiles/openttd.
FAILED: openttd 
: && /usr/lib/llvm/15/bin/clang++ -pipe -march=native -fno-diagnostics-color -O2 -flto=thin -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/openttd.dir/generated/rev.cpp.o CMakeFiles/openttd.dir/src/script/api/script_accounting.cpp.o CMakeFiles/openttd.dir/src/sc
ld.lld: error: undefined hidden symbol: _newgrf_textrefstack (.llvm.18256875340540975915)
>>> referenced by build_vehicle_gui.cpp
>>>               lto.tmp:(DrawVehiclePurchaseInfo(int, int, int, unsigned short, TestedEngineDetails&))

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

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

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
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.5
Python 3.10.8
php cli (if any):

  HEAD of ::gentoo
commit 8e93d222a3ba9ababf7e6584b6365e6364dedae1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 19 19:46:50 2022 +0000

    2022-11-19 19:46:50 UTC

emerge -qpvO games-simulation/openttd
[ebuild  N    ] games-simulation/openttd-12.2-r1  USE="dedicated fluidsynth lzma openmedia png sdl truetype zlib -allegro -icu -lzo -timidity" CPU_FLAGS_X86="sse"
Comment 1 Toralf Förster gentoo-dev 2022-11-19 20:43:56 UTC
Created attachment 833853 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-19 20:43:58 UTC
Created attachment 833855 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-19 20:43:59 UTC
Created attachment 833857 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-19 20:44:00 UTC
Created attachment 833859 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-19 20:44:01 UTC
Created attachment 833861 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-19 20:44:02 UTC
Created attachment 833863 [details]
games-simulation:openttd-12.2-r1:20221119-202722.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-19 20:44:03 UTC
Created attachment 833865 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-19 20:44:05 UTC
Created attachment 833867 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-19 20:44:05 UTC
Created attachment 833869 [details]
var.tmp.clang.tar.bz2