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
Describe the bug
RedisAI fails to link when using gcc 10.3.0. Numerous errors are generated that have the form:
/usr/bin/ld: src/CMakeFiles/redisai_obj.dir/serialization/ai_datatypes.c.o:(.bss+0x410): multiple definition of `RedisAI_ClearError'; src/CMakeFiles/redisai_obj.dir/redisai.c.o:(.bss+0x410): first defined here
/usr/bin/ld: src/CMakeFiles/redisai_obj.dir/serialization/ai_datatypes.c.o:(.bss+0x418): multiple definition of `RedisAI_InitError'; src/CMakeFiles/redisai_obj.dir/redisai.c.o:(.bss+0x418): first defined here
On the same system, using gcc 8.3.0 RedisAI compiled and linked successfully.
To Reproduce
# with gcc 10.3.0
bash get_deps.sh cpu
ALL=1 make -C opt clean build
Expected behavior
No linking errors.
Environment:
OS: Linux
Version master and 1.2 branches.
Platfrom x86
Runtime CPU
The text was updated successfully, but these errors were encountered:
Describe the bug
RedisAI fails to link when using gcc 10.3.0. Numerous errors are generated that have the form:
On the same system, using gcc 8.3.0 RedisAI compiled and linked successfully.
To Reproduce
Expected behavior
No linking errors.
Environment:
master
and1.2
branches.The text was updated successfully, but these errors were encountered: