Skip to content

OmniOS (illumos) support #176

Description

@tokenpaul

Hello.
I tried compile Stalwart mail server on OmniOS and was stuck jemallocator.

Problem 1: configure script fails with message:

  Invalid configuration 'x86_64-unknown-illumos': OS 'illumos' not recognized
  configure: error: /bin/sh ./build-aux/config.sub x86_64-unknown-illumos failed

If I launch configure directly from jemallocator source code folder config.guess determine system type as x86_64-pc-solaris2.11 and problem 2 is appears .

Problem 2: configure script fails with message:

cannot determine return type of strerror_r

This error caused by CFLAG -herror_on_warning which is illegal for linker in Solaris. Error actually is:

ld: fatal: soname option (-h, -soname) is incompatible with building a dynamic executable
ld: fatal: flags processing errors

If I unset -herror_on_warning by ugly hacks than jemallocator will build successfully at least... But I can't build customised crate with Stalwart. It always remove old source code and takes unchanged from a cache.

And good news is jemallocator can be built on OmniOS. :)

Can you help me?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions