[MDEV-17009] PIE issue on FreeBSD after 10.3.9 update Created: 2018-08-17 Updated: 2018-09-21 Resolved: 2018-09-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.3.9 |
| Fix Version/s: | 10.3.10 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Bernard Spil | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Environment: |
FreeBSD 11.2 GENERIC |
||
| 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. |
| Comments |
| Comment by Bernard Spil [ 2018-08-17 ] | |||||||
|
Build error:
| |||||||
| Comment by Sergei Golubchik [ 2018-08-20 ] | |||||||
|
What CMake version do you have? | |||||||
| Comment by Bernard Spil [ 2018-08-20 ] | |||||||
|
We're at 3.12.0 according to my build logs |