Path: blob/main/crypto/openssl/Configurations/50-nonstop.conf
34860 views
#### Nonstop configurations1# Common for all2'nonstop-common' => {3inherit_from => [ 'BASE_unix' ],4template => 1,5cc => 'c99',6cflags => add_before(picker(debug => '-g -O0',7release => '-g -O2'),8'-Wextensions',9'-Wnowarn=203,220,272,734,770,1506',10'-Wbuild_neutral_library',11'-Wverbose'),12defines => add('OPENSSL_VPROC=$(OPENSSL_VPROC)',13'_XOPEN_SOURCE',14'_XOPEN_SOURCE_EXTENDED=1',15'_TANDEM_SOURCE',16'__NSK_OPTIONAL_TYPES__',17'B_ENDIAN'),18perl => '/usr/bin/perl',19shared_target => 'nonstop-shared',20shared_extension => ".so",21ex_libs => add('-lrld'),22enable => ['egd'],23# Not currently inherited24disable => ['atexit'],25dso_scheme => 'DLFCN',26sys_id => 'TANDEM',27},2829######################################################################30# Additional variant settings, to be combined with nonstop-common31# Note that these do not inherit anything. However, the diverse values32# are merged with other entries in an 'inherit_from'.33#34# These combine:35# - System architecture (MIPS, Itanium, or x86)36# - Execution environment (oss [default] or guardian)37#38# Unfortunately, they can't be separated into independent templates, because39# a number of the above are encoded as different linkers, and by consequence,40# different c99 linker flags (-Wld, -Weld, and -Wxld)41#42# In addition, the are modifiers for:43# - Size of long + pointer (ilp32 [default] and lp64)44# - Float type (neutral and tandem)45#46# Unfortunately, because the float types affect the linker settings, those47# are divided per system architecture48#49# MIPS + guardian (unused but present for convenience):50'nonstop-archenv-mips-guardian' => {51template => 1,52defines => ['NO_GETPID'],53cflags => '-Wtarget=tns/r -Wsystype=guardian',54lflags => '-Wld="-set systype guardian"',55shared_ldflag => '-Wshared -Wld="-soname $(@:lib%.so=%)"',56shared_defflag => '-Wld_obey=',57shared_argfileflag => '-Wld_obey=',58},5960# Itanium + guardian:61'nonstop-archenv-itanium-guardian' => {62template => 1,63defines => ['NO_GETPID'],64cflags => '-Wtarget=tns/e -Wsystype=guardian',65lflags => '-Weld="-set systype guardian"',66shared_ldflag => '-Wshared -Weld="-soname $(@:lib%.so=%)"',67shared_defflag => '-Weld_obey=',68shared_argfileflag => '-Weld_obey=',69},7071# x86 + guardian:72'nonstop-archenv-x86_64-guardian' => {73template => 1,74defines => ['NO_GETPID'],75cflags => '-Wtarget=tns/x -Wsystype=guardian',76lflags => '-Wxld="-set systype guardian"',77shared_ldflag => '-Wshared -Wxld="-soname $(@:lib%.so=%)"',78shared_defflag => '-Wxld_obey=',79shared_argfileflag => '-Wxld_obey=',80},8182# MIPS + oss (unused but present for convenience):83'nonstop-archenv-mips-oss' => {84template => 1,85cflags => '-Wtarget=tns/r -Wsystype=oss',86lflags => '-Wld="-set systype oss"',87shared_ldflag => '-Wshared',88shared_defflag => '-Wld_obey=',89shared_argfileflag => '-Wld_obey=',90},91# Itanium + oss:92'nonstop-archenv-itanium-oss' => {93template => 1,94cflags => '-Wtarget=tns/e -Wsystype=oss',95lflags => '-Weld="-set systype oss"',96shared_ldflag => '-Wshared',97shared_defflag => '-Weld_obey=',98shared_argfileflag => '-Weld_obey=',99},100# x86_64 + oss:101'nonstop-archenv-x86_64-oss' => {102template => 1,103cflags => '-Wtarget=tns/x -Wsystype=oss',104lflags => '-Wxld="-set systype oss"',105shared_ldflag => '-Wshared',106shared_defflag => '-Wxld_obey=',107shared_argfileflag => '-Wxld_obey=',108},109110# Size variants111'nonstop-ilp32' => {112template => 1,113cflags => '-Wilp32',114bn_ops => 'THIRTY_TWO_BIT',115},116'nonstop-lp64-itanium' => {117template => 1,118cflags => '-Wlp64',119bn_ops => 'SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR',120},121'nonstop-lp64-x86_64' => {122template => 1,123cflags => '-Wlp64',124lflags => '-Wxld="-set data_model lp64"',125bn_ops => 'SIXTY_FOUR_BIT',126},127128# Float variants129'nonstop-nfloat-mips' => {130template => 1,131lflags => '-Wld="-set floattype neutral_float"',132},133'nonstop-tfloat-mips' => {134template => 1,135lflags => '-Wld="-set floattype tandem_float"',136},137'nonstop-efloat-itanium' => {138template => 1,139cflags => '-WIEEE_float',140lflags => '-Weld="-set floattype ieee_float"',141},142'nonstop-nfloat-itanium' => {143template => 1,144lflags => '-Weld="-set floattype neutral_float"',145},146'nonstop-tfloat-itanium' => {147template => 1,148cflags => '-WTandem_float',149lflags => '-Weld="-set floattype tandem_float"',150},151'nonstop-efloat-x86_64' => {152template => 1,153cflags => '-WIEEE_float',154lflags => '-Wxld="-set floattype ieee_float"',155},156'nonstop-nfloat-x86_64' => {157template => 1,158lflags => '-Wxld="-set floattype neutral_float"',159},160'nonstop-tfloat-x86_64' => {161template => 1,162cflags => '-WTandem_float',163lflags => '-Wxld="-set floattype tandem_float"',164},165166######################################################################167# Build models168'nonstop-model-put' => {169template => 1,170defines => ['_PUT_MODEL_',171'_REENTRANT', '_THREAD_SUPPORT_FUNCTIONS'],172ex_libs => '-lput',173},174175######################################################################176# Build models177'nonstop-model-klt' => {178template => 1,179defines => ['_KLT_MODEL_',180'_REENTRANT', '_THREAD_SUPPORT_FUNCTIONS'],181ex_libs => '-lklt',182},183184######################################################################185# Now for the entries themselves, let's combine things!186'nonstop-nsx' => {187inherit_from => [ 'nonstop-common',188'nonstop-archenv-x86_64-oss',189'nonstop-ilp32',190'nonstop-efloat-x86_64' ],191disable => ['threads','atexit'],192},193'nonstop-nsx_put' => {194inherit_from => [ 'nonstop-common',195'nonstop-archenv-x86_64-oss',196'nonstop-ilp32',197'nonstop-efloat-x86_64',198'nonstop-model-put' ],199multilib => '-put',200multibin => '-put',201disable => ['atexit'],202},203'nonstop-nsx_64' => {204inherit_from => [ 'nonstop-common',205'nonstop-archenv-x86_64-oss',206'nonstop-lp64-x86_64',207'nonstop-efloat-x86_64' ],208multilib => '64',209multibin => '64',210disable => ['threads','atexit'],211},212'nonstop-nsx_64_put' => {213inherit_from => [ 'nonstop-common',214'nonstop-archenv-x86_64-oss',215'nonstop-lp64-x86_64',216'nonstop-efloat-x86_64',217'nonstop-model-put' ],218multilib => '64-put',219multibin => '64-put',220disable => ['atexit'],221},222'nonstop-nsx_64_klt' => {223inherit_from => [ 'nonstop-common',224'nonstop-archenv-x86_64-oss',225'nonstop-lp64-x86_64',226'nonstop-efloat-x86_64',227'nonstop-model-klt' ],228multilib => '64-klt',229multibin => '64-klt',230disable => ['atexit'],231},232'nonstop-nsx_g' => {233inherit_from => [ 'nonstop-common',234'nonstop-archenv-x86_64-guardian',235'nonstop-ilp32', 'nonstop-nfloat-x86_64' ],236disable => ['threads','atexit'],237},238'nonstop-nsx_g_tandem' => {239inherit_from => [ 'nonstop-common',240'nonstop-archenv-x86_64-guardian',241'nonstop-ilp32', 'nonstop-tfloat-x86_64' ],242disable => ['threads','atexit'],243},244'nonstop-nsv' => {245inherit_from => [ 'nonstop-nsx' ],246},247'nonstop-nse' => {248inherit_from => [ 'nonstop-common',249'nonstop-archenv-itanium-oss',250'nonstop-ilp32',251'nonstop-efloat-itanium' ],252disable => ['threads','atexit'],253},254'nonstop-nse_put' => {255inherit_from => [ 'nonstop-common',256'nonstop-archenv-itanium-oss',257'nonstop-ilp32',258'nonstop-efloat-itanium',259'nonstop-model-put' ],260multilib => '-put',261multibin => '-put',262disable => ['atexit'],263},264'nonstop-nse_64' => {265inherit_from => [ 'nonstop-common',266'nonstop-archenv-itanium-oss',267'nonstop-lp64-itanium',268'nonstop-efloat-itanium' ],269multilib => '64',270multibin => '64',271disable => ['threads','atexit'],272},273'nonstop-nse_64_put' => {274inherit_from => [ 'nonstop-common',275'nonstop-archenv-itanium-oss',276'nonstop-lp64-itanium',277'nonstop-efloat-itanium',278'nonstop-model-put' ],279multilib => '64-put',280multibin => '64-put',281disable => ['atexit'],282},283284285