Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4965

Failed compile mariadb 5.5.32 with clang

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 5.5.33
    • Fix Version/s: 5.5.34
    • Component/s: None
    • Labels:
      None
    • Environment:
      debian linux x64, clang 3.4

      Description

      I am trying compile mariadb on debian with clang, but failed.
      before i tried compile mariadb, i success compiled nginx 1.4.2 + php 5.5.3
      clang works well.

      As everybody knows, Clang was build in supported in FreeBSD 9.0+, MacOS.

      and it's BSD open source license. it's good to us.
      so please take care about it.

      GCC is so old, and it's license seems bad mess.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            netroby zhifeng hu added a comment -

            Reproduce this problem is very easy.
            Just install debian 7 on your virtual box or whatever. i am using the real machine.
            then you can install clang via official repository.
            http://blog.llvm.org/2013/04/llvm-debianubuntu-nightly-packages.html

            then you may download mariadb source code from www.mariadb.org

            try to compile it with clang

            you may failed.

            Show
            netroby zhifeng hu added a comment - Reproduce this problem is very easy. Just install debian 7 on your virtual box or whatever. i am using the real machine. then you can install clang via official repository. http://blog.llvm.org/2013/04/llvm-debianubuntu-nightly-packages.html then you may download mariadb source code from www.mariadb.org try to compile it with clang you may failed.
            Hide
            pomyk Patryk Pomykalski added a comment -

            How do you build it? What error do you get? It works for me on gentoo with clang 3.4 (trunk 188311).

            Show
            pomyk Patryk Pomykalski added a comment - How do you build it? What error do you get? It works for me on gentoo with clang 3.4 (trunk 188311).

              People

              • Assignee:
                Unassigned
                Reporter:
                netroby zhifeng hu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: