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 get the following error when trying to compile BRL-CAD on Ubuntu 22.04 LTS with gcc version 11.4.0 using the "make" command. It seems time64.c.o was generated with a different version of LTO than the one that is being used for compilation. Any ideas how to fix this?
'
[ 17%] Built target libfft
[ 17%] Built target qged_plugins
[ 18%] Built target libfft-static
[ 26%] Built target docbook-docbook-system-mann
[ 26%] Built target fftest
lto1: fatal error: bytecode stream in file ‘CMakeFiles/libbu-obj.dir/y2038/time64.c.o’ generated with LTO version 11.3 instead of the expected 12.0
compilation terminated.
lto-wrapper: fatal error: /usr/bin/c++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [src/libbu/CMakeFiles/libbu.dir/build.make:273: lib/libbu.so.20.0.1] Error 1
make[1]: *** [CMakeFiles/Makefile2:13990: src/libbu/CMakeFiles/libbu.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
'
The text was updated successfully, but these errors were encountered:
I get the following error when trying to compile BRL-CAD on Ubuntu 22.04 LTS with gcc version 11.4.0 using the "make" command. It seems time64.c.o was generated with a different version of LTO than the one that is being used for compilation. Any ideas how to fix this?
'
[ 17%] Built target libfft
[ 17%] Built target qged_plugins
[ 18%] Built target libfft-static
[ 26%] Built target docbook-docbook-system-mann
[ 26%] Built target fftest
lto1: fatal error: bytecode stream in file ‘CMakeFiles/libbu-obj.dir/y2038/time64.c.o’ generated with LTO version 11.3 instead of the expected 12.0
compilation terminated.
lto-wrapper: fatal error: /usr/bin/c++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [src/libbu/CMakeFiles/libbu.dir/build.make:273: lib/libbu.so.20.0.1] Error 1
make[1]: *** [CMakeFiles/Makefile2:13990: src/libbu/CMakeFiles/libbu.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
'
The text was updated successfully, but these errors were encountered: