On 03-01-2018 17:39, Lukas Tribus wrote:
To compile Haproxy 1.8 with threads, at least GCC 4.7 is needed. CentOs 6 only ships GCC 4.4.7, therefor compilation fails. You can disable thread support, by adding USE_THREAD= to the make command (nothing comes after the equal sign):
I'm no packaging expert, but 1.8 seems to build fine on my CentOS6 build box without any errors.
I'm running gcc version 4.4.7 20120313 on CentOS 6.9. Here's my spec file for building RPM packages: https://github.com/AxisNL/haproxy-rpmbuild/blob/master/SPECS/haproxy-1.8.3.el6.spec Am I doing something strange?? :-) -- met vriendelijke groet, Angelo Höngens

