Closed dawid-sabat closed 3 weeks ago
Hi @dawid-sabat, Thank you for raising the issue!
Seems like this issue was fixed by common: verbose: fix the build for ONEDNN_VERBOSE=OFF, which was not included in v3.6 release.
Could you please give main branch a try and see if the issue persists? I was not able to reproduce the issue using latest.
Great! I'll try this out and report back to you.
I rebuilt my toolchain and the application.
Looks like patching oneDNN 3.6 with this commit solves the issue: common: verbose: fix the build for ONEDNN_VERBOSE=OFF
@yehudaorel thanks for pointing to the commit that fixes my issue. I can patch up oneDNN in my toolchain for now and pick up the next release when its ready.
We can close this issue.
Backported the patch to rls-v3.6 branch.
Summary
If I build oneDNN with flag:
-DDNNL_VERBOSE=OFF
I'm unable to to link my application with oneDNN lib I created first.Version
3.6
gitsha1:0a52986714f6644e17663a7b65c47e299a3e9bd5
Environment
This doesn't look like an environment related issue.
Steps to reproduce
Compiler to build oneDNN: GCC 14. Building oneDNN with following flags:
Observed behavior
Log error when I compile my application and try to link oneDNN:
What repeats is
undefined reference to
dnnl::impl::verbose_printf_impl`If I recompile
oneDNN
with-DDNNL_VERBOSE=ON
the issue goes away.Expected behavior
Linking process is successful with oneDNN built with
-DDNNL_VERBOSE=ON