Skip to content

internal compiler error #110

Closed
Closed

Description

@digitalist

[ 85%] Building CXX object dbms/CMakeFiles/dbms.dir/src/Parsers/ASTSelectQuery.cpp.o
/data/Downloads/github/ClickHouse/dbms/src/Dictionaries/ComplexKeyHashedDictionary.cpp: In member function ‘void DB::ComplexKeyHashedDictionary::getUInt64(const string&, const ConstColumnPlainPtrs&, const DataTypes&, DB::UInt64, DB::PaddedPODArray&) const’:
/data/Downloads/github/ClickHouse/dbms/src/Dictionaries/ComplexKeyHashedDictionary.cpp:505:1: internal compiler error: Segmentation fault
}

master branch, gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2)
AMD Phenom II 1090T without SSE 4.2 (could it be the source of the problem?)

Activity

  1. digitalist commented on Sep 12, 2016

    @digitalist
    ContributorAuthor

    I should try release branch though, so close this issue, if you found the bug

  2. goranc commented on Sep 13, 2016

    @goranc

    I also have problem with build on Ubuntu 16.04
    [ 93%] Building CXX object dbms/CMakeFiles/dbms.dir/src/Functions/FunctionsArray.cpp.o
    g++-5: internal compiler error: Killed (program cc1plus)
    dbms/CMakeFiles/dbms.dir/build.make:6182: recipe for target 'dbms/CMakeFiles/dbms.dir/src/Functions/FunctionsArithmetic.cpp.o' failed
    FunctionsArithmetic.cpp.o' failed
    make[4]: *** [dbms/CMakeFiles/dbms.dir/src/Functions/FunctionsArithmetic.cpp.o] Error 4
    make[4]: *** Waiting for unfinished jobs....
    make[4]: Leaving directory '/home/goranc/ClickHouse/build'
    CMakeFiles/Makefile2:3674: recipe for target 'dbms/CMakeFiles/dbms.dir/all' failed
    make[3]: *** [dbms/CMakeFiles/dbms.dir/all] Error 2
    make[3]: Leaving directory '/home/goranc/ClickHouse/build'
    CMakeFiles/Makefile2:2946: recipe for target 'utils/compressor/CMakeFiles/compressor.dir/rule' failed
    make[2]: *** [utils/compressor/CMakeFiles/compressor.dir/rule] Error 2
    make[2]: Leaving directory '/home/goranc/ClickHouse/build'
    Makefile:806: recipe for target 'compressor' failed
    make[1]: *** [compressor] Error 2

    If I can assist in resolving the issue, I'll be glad to help.

  3. alexey-milovidov commented on Sep 13, 2016

    @alexey-milovidov
    Member

    It is two different issues.

    1. g++-5: internal compiler error: Killed (program cc1plus)

      It means that child program was killed. Usually it is caused by OOM Killer due to not enough memory in the system. See dmesg or /var/log/kern.log.

      To fix this problem:

      • lower number of build threads: for example, run make instead of make -j4;
      • close some memory hungry programs like firefox, chromium;
      • mind that build requires about 4 GB of memory.

    2. internal compiler error: Segmentation fault
      without SSE 4.2 (could it be the source of the problem?)

      It could be the source of problem, but the chance is small.
      Try to update to GCC 6. Also you could use recent clang (3.9 or trunk).

  4. digitalist commented on Sep 14, 2016

    @digitalist
    ContributorAuthor

    thanks, I'll check this later today

  5. goranc commented on Sep 14, 2016

    @goranc

    Thanks for your answer.
    What I did was:

    • increased memory to 8GB (it was on VM)
    • upgraded gcc form 5.4.0 to 5.4.1 (without success to compile)
    • upgraded gcc to 6.2.0 (successfully compiled and built deb packages)
  6. added a commit that references this issue on May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions