At least we would need to know if you are building with gcc2 (and using an old Mesa maintained by Haiku), or gcc5 (and using a more recent mesa from upstream sources). The latter should be closer to what Linux is doing.
At least we would need to know if you are building with gcc2 (and using an old Mesa maintained by Haiku), or gcc5 (and using a more recent mesa from upstream sources). The latter should be closer to what Linux is doing.