You are here

Rosetta compilation error with gcc-10

3 posts / 0 new
Last post
Rosetta compilation error with gcc-10

Dear all,

I am trying to compile ROSETTA 3.12 on Red Hat Enterprise Linux Server release 6.5. I install the gcc (GCC) 10.1.0, and run the follow command

     ./ bin mode=release -j 60

I get some error information like:

   scons: *** [build/src/release/linux/2.6/64/x86/gcc/10.1/default/protocols/vip/VIP_Mover.os] Error 1
In file included from src/protocols/analysis/
src/core/scoring/packstat/compute_sasa.hh: In function 'core::scoring::packstat::PackstatReal core::scoring::packstat::compute_sasa_generic(utility::vector1<T>&, core::scoring::packstat::PackstatReal, bool)':
src/core/scoring/packstat/compute_sasa.hh:410:41: internal compiler error: unexpected expression '(short unsigned int)l->atom_sasa_masks.ObjexxFCL::FArray2D<ObjexxFCL::ubyte>::operator[]()' of kind implicit_conv_expr
  410 |    ctr += bit_count[atom_sasa_masks[ l ]];


Is it caused by the gcc comiler? If I use a gcc of lower version, would it work?

Thank you in advance!

Post Situation: 
Sun, 2020-05-24 07:33

The very newest compilers will very frequently turn up new errors and warnings, because we've had no time to check that they work yet on our codebase. That said, causing an internal compiler error is a little remarkable!

I can guarantee that almost any GCC version from 4.8 through 9.3 will work.

Sun, 2020-05-24 08:36

Yes, gcc-7.5.0 works!

Sun, 2020-05-24 09:57