-
-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Description
This issue is a duplicate of JuliaMath/BFloat16s.jl#88. I'm unsure which package is causing this issue however, so I'm essentially cross-posting here. A copy of the transcript is presented below:
Creation of a sysimage fails because g++ cannot find the required symbols (linking error). Minimal working example is to write a script bfloat16s-sysimage-creator.jl:
import Pkg
Pkg.activate(temp = true)
Pkg.add(["BFloat16s", "PackageCompiler"])
using PackageCompiler
create_sysimage(["BFloat16s"], sysimage_path = "bfloat16s-sysimage.dll")
The output of which is piped into a text file (see attachment bfloat16s-packagecompiler-log.txt)
The file is mostly warnings about unrecognized drectives, which also happens on other sysimage creation. The relevant lines are
$HOME\AppData\Local\Temp\jl_tyfKvKlihE-o.a(text#1.o): In function `BFloat16':
$HOME\.julia\packages\BFloat16s\u3WQc\src/bfloat16.jl:158: undefined reference to `__truncdfbf2'
$HOME\AppData\Local\Temp\jl_tyfKvKlihE-o.a(text#15.o): In function `BFloat16':
$HOME\.julia\packages\BFloat16s\u3WQc\src/bfloat16.jl:158: undefined reference to `__truncdfbf2'
collect2.exe: error: ld returned 1 exit status
Metadata
Metadata
Assignees
Labels
No labels