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

PIE issue on FreeBSD after 10.3.9 update

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.3.9
    • Fix Version/s: 10.3.10
    • Component/s: Compiling
    • Labels:
    • Environment:
      FreeBSD 11.2 GENERIC
      FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0)
      CMake 3.12.0

      Description

      After the update of MariaDB 10.3 to 10.3.9, it fails to build due to missing `-fPIC` in CFLAGS and CXXFLAGS. Some components are built without `-fPIC` resulting in linking issues.

      Haven't been able to trace down the change in cmake files that leads to this.

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              spil Bernard Spil
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: