[openssl-dev] [openssl.org #4319] openssl-1.1.0-pre3 Configure does not set cflags correctly on Solaris10 x64
Kiyoshi KANAZAWA via RT
rt at openssl.org
Sat Feb 20 06:45:35 UTC 2016
I do not know how to change "add_before" in Configure.
So I tested changing Configurations/10-main.conf as follows, not to use "add_before",
and found make & make check passes. (need to Apply fix #4314.)
% ../openssl-1.1.0-pre3/Configure --unified solaris64-x86_64-gcc threads shared no-ssl3
% make
% make check
diff -cr ../openssl-1.1.0-pre3.orig/Configurations/10-main.conf ./Configurations/10-main.conf
*** ../openssl-1.1.0-pre3.orig/Configurations/10-main.conf 2016-02-16 03:08:07.000000000 +0900
--- ./Configurations/10-main.conf 2016-02-20 15:22:15.939637874 +0900
***************
*** 35,44 ****
shared_extension => ".so",
},
! #### Solaros configirations
"solaris-common" => {
template => 1,
- cflags => "-DFILIO_H",
ex_libs => "-lsocket -lnsl -ldl",
dso_scheme => "dlfcn",
shared_target => "solaris-shared",
--- 35,43 ----
shared_extension => ".so",
},
! #### Solaris configurations
"solaris-common" => {
template => 1,
ex_libs => "-lsocket -lnsl -ldl",
dso_scheme => "dlfcn",
shared_target => "solaris-shared",
***************
*** 53,59 ****
# with "Illegal mnemonic" error message.
inherit_from => [ "solaris-common", asm("x86_elf_asm") ],
cc => "gcc",
! cflags => add_before("-march=pentium -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM"),
debug_cflags => "-O0 -g",
release_cflags => "-O3 -fomit-frame-pointer",
thread_cflag => "-pthread",
--- 52,58 ----
# with "Illegal mnemonic" error message.
inherit_from => [ "solaris-common", asm("x86_elf_asm") ],
cc => "gcc",
! cflags => "-march=pentium -Wall -DL_ENDIAN -DOPENSSL_NO_INLINE_ASM -DFILIO_H",
debug_cflags => "-O0 -g",
release_cflags => "-O3 -fomit-frame-pointer",
thread_cflag => "-pthread",
***************
*** 72,78 ****
# <appro at fy.chalmers.se>
inherit_from => [ "solaris-common", asm("x86_64_asm") ],
cc => "gcc",
! cflags => add_before("-m64 -Wall -DL_ENDIAN"),
debug_cflags => "-O0 -g",
release_cflags => "-O3",
thread_cflag => "-pthread",
--- 71,77 ----
# <appro at fy.chalmers.se>
inherit_from => [ "solaris-common", asm("x86_64_asm") ],
cc => "gcc",
! cflags => "-m64 -Wall -DL_ENDIAN -DFILIO_H",
debug_cflags => "-O0 -g",
release_cflags => "-O3",
thread_cflag => "-pthread",
Best regards,
--- Kiyoshi <yoi_no_myoujou at yahoo.co.jp>
--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4319
Please log in as guest with password guest if prompted
More information about the openssl-dev
mailing list