Skip to content

Internal Compiler Error with gcc 4.3 [147] #147

Closed

Description

@timosachsenberg

Submitted by hendrikweisser on 2010-04-20 13:55:35

Digest of mailinglist report

--- Hendrik Weisser wrote ---

Ich bekomme seit Neuestem einen seltsamen Fehler, wenn ich OpenMS auf
einem der Server hier bauen will. Es handelt sich dabei um den Rechner
mit der Nvidia-Tesla-Karte, auf dem OpenMS bisher gut funktioniert hat
(hab's auch immer wieder aus dem SVN aktualisiert, bisher ohne solche
Probleme).

[ 0%] Building CXX object CMakeFiles/OpenMS.dir/source/TRANSFORMATIONS/FEATUREFINDER/FeatureFinder.o
/home/weisserh/Software/OpenMS/include/OpenMS/TRANSFORMATIONS/FEATUREFINDER/BaseModel.h: In member function 'void OpenMS::BaseModel::setCutOff(OpenMS::DoubleReal) [with unsigned int D = 2u]':
/home/weisserh/Software/OpenMS/include/OpenMS/TRANSFORMATIONS/FEATUREFINDER/BaseModel.h:128: internal compiler error: in copy_body_r, at tree-inline.c:748
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-4.3/README.Bugs for instructions.
make[2]: *** [CMakeFiles/OpenMS.dir/source/TRANSFORMATIONS/FEATUREFINDER/FeatureFinder.o] Error 1
make[1]: *** [CMakeFiles/OpenMS.dir/all] Error 2
make: *** [all] Error 2

GCC 4.3.3, Ubuntu 9.04 (64 Bit)
OpenMS rev. 6914


Commented by aiche on 2010-04-20 13:57:51:
Just to make interesting .. if you disable OpenMP it should work and i don't know why!

I keep it on my list for further investigation


Commented by hendrikweisser on 2010-04-20 14:27:02:

if you disable OpenMP it should work

How do I do that? In ccmake, set "MT_ENABLE_OPENMP" to "OFF"?

What would the consequence be of disabling it? (What does OpenMP do for OpenMS?)


Commented by aiche on 2010-04-20 15:41:02:
by setting MT_ENABLE_OPENMP to off you disable the parallelization of some of the OpenMS algorithms


Commented by aiche on 2010-04-20 18:07:37:
Another update .. seems to occur only in release mode


Commented by aiche on 2010-04-28 13:26:07:
Just send a bug report to the gcc guys. If anybody wants to follow

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43922


Commented by cbielow on 2010-08-10 13:41:29:
likely introduced with revision [6885]
GCC 4.4.1 works
GCC 4.3.2 and 4.3.3 produce the ICE

Fix:
either: - find problem im FF code and do workaround (preferred)
or: - disable OpenMP for this compiler via BuildSystem?
or: - use "cmake -D MT_ENABLE_OPENMP=OFF ...." manually


Commented by aiche on 2010-08-19 19:35:29:
fixed in [7238] by moving some variables out of the OpenMP loop .. weird

everyone with a bit of spare time, please test on your system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions