You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I say __attribute__((cold)) because all of the functions this happened with were marked as such, but removing the __attribute__((cold)) did not fix the issue. Neither did __attribute__((used)). But __attribute__((visibility("default")) did fix the issue (note that -fvisibility=hidden was set). I'm not really sure what's happening here.
For dav1d specifically, the functions were:
dav1d_num_logical_processors
dav1d_init_cpu
dav1d_get_cpu_flags_x86
The text was updated successfully, but these errors were encountered:
After #451,
__attribute__((cold))
functions are failing to be resolved at runtime with a symbol lookup error:> ../dav1d-ia2/build/tools/dav1d -h ../dav1d-ia2/build/tools/dav1d: symbol lookup error: /home/kkysen/work/rust/dav1d-ia2/build/tools/../src/libcallgates.so: undefined symbol: dav1d_num_logical_processors
I say
__attribute__((cold))
because all of the functions this happened with were marked as such, but removing the__attribute__((cold))
did not fix the issue. Neither did__attribute__((used))
. But__attribute__((visibility("default"))
did fix the issue (note that-fvisibility=hidden
was set). I'm not really sure what's happening here.For
dav1d
specifically, the functions were:dav1d_num_logical_processors
dav1d_init_cpu
dav1d_get_cpu_flags_x86
The text was updated successfully, but these errors were encountered: