FR3.1.x head fails to build on RHEL 6.6
Hello After downloading the head version of FR3.1.x it first complained that gcc was lacking C11, so I downloaded the devtoolset-2 rpms from RedHat devtoolset-2-gcc-4.8.2-15.1.el6.x86_64.rpm devtoolset-2-gcc-c++-4.8.2-15.1.el6.x86_64.rpm devtoolset-2-runtime-2.1-4.el6.noarch.rpm devtoolset-2-libstdc++-devel-4.8.2-15.1.el6.x86_64.rpm Now the configure succeeds with /opt/rh/devtoolset-2/root/usr/bin in the path, but when starting the make it fails to compile debug.c CC src/lib/debug.c /tmp/ccuawyBs.s: Assembler messages: /tmp/ccuawyBs.s:581: Error: expecting string instruction after `rep' make: *** [build/objs/src/lib/debug.lo] Error 1 Any idea what other dependencies I would need to upgrade (make?) to build on RHEL?
On 5 Dec 2015, at 23:20, Peter Lambrechtsen <peter@crypt.co.nz> wrote:
Hello
After downloading the head version of FR3.1.x it first complained that gcc was lacking C11, so I downloaded the devtoolset-2 rpms from RedHat
devtoolset-2-gcc-4.8.2-15.1.el6.x86_64.rpm devtoolset-2-gcc-c++-4.8.2-15.1.el6.x86_64.rpm devtoolset-2-runtime-2.1-4.el6.noarch.rpm devtoolset-2-libstdc++-devel-4.8.2-15.1.el6.x86_64.rpm
Now the configure succeeds with /opt/rh/devtoolset-2/root/usr/bin in the path, but when starting the make it fails to compile debug.c
CC src/lib/debug.c /tmp/ccuawyBs.s: Assembler messages: /tmp/ccuawyBs.s:581: Error: expecting string instruction after `rep' make: *** [build/objs/src/lib/debug.lo] Error 1
Any idea what other dependencies I would need to upgrade (make?) to build on RHEL?
Builds find on RHEL7 with GCC for me. With RHEL6 you're better off using clang than GCC. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
participants (2)
-
Arran Cudbard-Bell -
Peter Lambrechtsen