[openssl-users] Dealing with RFC2553 and RFC3493 where NI_MAXHOST and NI_MAXSERV no longer exist

Erik Forsberg erik at efca.com
Sat Jan 19 05:34:37 UTC 2019

hmm, been reading this whole thread.
I dont have any current issues building with Sun Studio 12.6 in  2011 mode (but I only do Intel x86 and x86_64)
However, I do have a preference for using gcc for openssl builds though.
Do note however, that in my opinion, for Solaris, one MUST do the -R linker options
to avoid runtime issues with Solaris builds of OpenSSL, But I suppose thats for everyone to
discover for themselves. I discovered it the hard way during the 1.0.1 era.
The -strict mode I think is impossible as of now
(dot-asm) I do want to see your PR for adding support for -R to get incorporated, been sitting for a while -:)

Here are my preferred config settings for Solaris cc

   "efca-x64-cc" => {
       inherit_from    => [ "solaris-common", asm("x86_64_asm") ],
       CC              => "cc",
       CFLAGS          => add_before(picker(debug  => "-g",
                                             release => "-xO5 -xdepend -xbuiltin")),
       cflags          => add_before("-m64 -xarch=generic -xstrconst -std=gnu11"),
       cppflags        => add(threads("-D_REENTRANT")),
       lib_cppflags    => add("-DL_ENDIAN"),
       lflags          => add(threads("-mt")),
       ex_libs         => add(threads("-lpthread")),
       bn_ops          => "SIXTY_FOUR_BIT_LONG",
       perlasm_scheme  => "elf",
       shared_cflag    => "-KPIC",
       shared_ldflag   => add_before("-G -dy -z text -R\$(INSTALLTOP)/\$(LIBDIR)"),
       multilib        => "/64",

>-- Original Message --
>On 1/18/19 1:53 AM, Dennis Clarke wrote:
>> Going in circles trying to compile 1.1.1a with strict C99 and no
>> optimizations and with a ready to debug and single step resultant
>> library. 
>Ignore all this.  Thou shalt not C99 here.
>openssl-users mailing list
>To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

More information about the openssl-users mailing list