[odb-users] internal compiler error: in cl_optimization_save,
at options-save.cc:293
MM
finjulhich at gmail.com
Mon Aug 25 09:17:57 EDT 2025
Trying to create a reproducible example here, but no success yet.
In the meantime, perhaps this is a known issue
odb -d pgsql --std c++17 --profile boost --generate-query -I...
-I/usr/include --options-file .../odb.options --changelog
.../odb/...._pgsql.xml .../....hpp
*** WARNING *** there are active plugins, do not report this as a bug
unless you can reproduce it without enabling any plugins.
Event | Plugins
PLUGIN_START_UNIT | odb
PLUGIN_PRAGMAS | odb
PLUGIN_OVERRIDE_GATE | odb
<stdin>: internal compiler error: in cl_optimization_save, at
options-save.cc:293
I believe I built odb with gcc 15.0, while now my system has 15.2.1
strings $(which odb) | grep -i gcc
libgcc_s.so.1
GCC_3.0
/usr/local/src/odb-gcc-15/odb-2.5.0/odb/pregenerated/odb/options.cxx
odb.environment = [strings] CPATH CPLUS_INCLUDE_PATH GCC_EXEC_PREFIX
COMPILER_PATH
GCC: (GNU) 15.1.1 20250521 (Red Hat 15.1.1-2)
GCC: (GNU) 15.0.1 20250418 (Red Hat 15.0.1-0)
RV:running gcc 15.0.1 20250418
BV:annobin gcc 15.0.1 20250418
.gcc_except_table
I would think minor version changes of gcc don't require a odb rebuild
Rds,
MM
More information about the odb-users
mailing list