Skip to content

Problems compiling root 6.24.00 with gcc 11 on Fedora 34 #8071

@ellert

Description

@ellert

Describe the bug

When running make test on a root build on Fedora 34 (using gcc 11) several tests fail that do not fail on Fedora 33 (using gcc 10).

Expected behavior

No test failures.

To Reproduce

  1. Build root 6.24.00 on Fedora 34.
  2. Run make test

Setup

  1. ROOT version: 6.24.00
  2. Operating system: Fedora Linux 34

Additional context

The kind of errors vary. But many of them seems to be related to disagreement on the size of data structures. Here are some examples: test.log.gz

Some examples:

Error in <TInterpreter::InspectMembers>: TClass and cling disagree on the size of the class ROOT::Experimental::RAttrLine, respectively 368 400
Error in <TInterpreter::InspectMembers>: TClass and cling disagree on the size of the class ROOT::Experimental::RAttrColor, respectively 64 72
Error in <TInterpreter::InspectMembers>: TClass and cling disagree on the size of the class ROOT::Experimental::RAttrBase, respectively 64 72

and

python3.9: /builddir/build/BUILD/root-6.24.00/roofit/roofitcore/src/RooArgSet.cxx:108: static void* RooArgSet::operator new(size_t): Assertion `sizeof(RooArgSet) == bytes' failed.

Does anyone have any idea what is going on?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions