Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-1410

MADlib cannot be built on PowerPC machines with Linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v1.16, v1.17
    • Build System
    • None

    Description

      The most recent version of MADlib cannot be built on PowerPC machines with Linux (CentOS 7) without extra modifications of the build system.

      I have encountered the following problems:

      Architecture-specific G++ option is set (on all architectures)

      The current CMakeLists.txt sets the `-mno-sse2` GNU C++ compiler option, which is architecture-specific and thus not available on PowerPC machines that use GCC to build MADlib.

      For this reason, compilation fails, unless this flag is removed from the CMakeLists.txt manually.

      `architecture` cmake macros works incorrectly

      The current cmake `architecture` macros does not work on PowerPC machines with Linux. Its result is empty string.

      As a result, M4 variable `<DBMS>_ARCHITECTURE` is not set properly, and the installation fails.

       

      As far as I understand, there are no fundamental limitations on usage of MADlib on PowerPC machines with Linux. After some manual actions to resolve the problems mentioned above, I have successfully built and installed MADlib. A simple check with an example from the quick-start guide showed the correct results.

      I would propose to fix the problems mentioned in order for MADlib to support PowerPC with Linux properly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            leskin-in Ivan Leskin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: