Monit fails to build on Solaris10/X86 with a 32-bit GCC

Issue #56 resolved
Sergey Maslyakov created an issue

Monit 5.8.1 fails to build successfully on a Solaris system running on Intel CPU using 32-bit GCC compiler. It fails at the linking step due to the application binaries being force-compiled as 64-bit and GCC libraries being 32-bit.

This happens due to the "-m64" flag supplied to gcc and ld while compiling and linking. Without this flag, both compilation and linking rely on GCC built-in bitwidth and this makes both steps successful. The resulting binaries run fine on otherwise 64-bit Solaris10/X86.

Both, Monit and libmonit are affected.

Comments (8)

  1. Sergey Maslyakov reporter

    Can you please assign this issue to me for resolution? It does not allow me to self-assign

  2. Sergey Maslyakov reporter

    I am sorry, I was side-tracked by another overriding priority. If things go well tomorrow, I will submit a PR tomorrow. I just want to retest the "before" and "after" scenarios.

  3. Log in to comment