Path: blob/main/crypto/openssl/Configurations/50-nonstop.conf
106593 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,170disable => ['secure-memory'],171defines => ['_PUT_MODEL_',172'_REENTRANT', '_THREAD_SUPPORT_FUNCTIONS'],173ex_libs => '-lput',174},175176######################################################################177# Build models178'nonstop-model-klt' => {179template => 1,180disable => ['secure-memory'],181defines => ['_KLT_MODEL_',182'_REENTRANT', '_THREAD_SUPPORT_FUNCTIONS'],183ex_libs => '-lklt',184},185186######################################################################187# Now for the entries themselves, let's combine things!188'nonstop-nsx' => {189inherit_from => [ 'nonstop-common',190'nonstop-archenv-x86_64-oss',191'nonstop-ilp32',192'nonstop-efloat-x86_64' ],193disable => ['threads','atexit'],194},195'nonstop-nsx_put' => {196inherit_from => [ 'nonstop-common',197'nonstop-archenv-x86_64-oss',198'nonstop-ilp32',199'nonstop-efloat-x86_64',200'nonstop-model-put' ],201multilib => '-put',202multibin => '-put',203disable => ['atexit'],204},205'nonstop-nsx_64' => {206inherit_from => [ 'nonstop-common',207'nonstop-archenv-x86_64-oss',208'nonstop-lp64-x86_64',209'nonstop-efloat-x86_64' ],210multilib => '64',211multibin => '64',212disable => ['threads','atexit'],213},214'nonstop-nsx_64_put' => {215inherit_from => [ 'nonstop-common',216'nonstop-archenv-x86_64-oss',217'nonstop-lp64-x86_64',218'nonstop-efloat-x86_64',219'nonstop-model-put' ],220multilib => '64-put',221multibin => '64-put',222disable => ['atexit'],223},224'nonstop-nsx_64_klt' => {225inherit_from => [ 'nonstop-common',226'nonstop-archenv-x86_64-oss',227'nonstop-lp64-x86_64',228'nonstop-efloat-x86_64',229'nonstop-model-klt' ],230multilib => '64-klt',231multibin => '64-klt',232disable => ['atexit'],233},234'nonstop-nsx_g' => {235inherit_from => [ 'nonstop-common',236'nonstop-archenv-x86_64-guardian',237'nonstop-ilp32', 'nonstop-nfloat-x86_64' ],238disable => ['threads','atexit'],239},240'nonstop-nsx_g_tandem' => {241inherit_from => [ 'nonstop-common',242'nonstop-archenv-x86_64-guardian',243'nonstop-ilp32', 'nonstop-tfloat-x86_64' ],244disable => ['threads','atexit'],245},246'nonstop-nsv' => {247inherit_from => [ 'nonstop-nsx' ],248},249'nonstop-nse' => {250inherit_from => [ 'nonstop-common',251'nonstop-archenv-itanium-oss',252'nonstop-ilp32',253'nonstop-efloat-itanium' ],254disable => ['threads','atexit'],255},256'nonstop-nse_put' => {257inherit_from => [ 'nonstop-common',258'nonstop-archenv-itanium-oss',259'nonstop-ilp32',260'nonstop-efloat-itanium',261'nonstop-model-put' ],262multilib => '-put',263multibin => '-put',264disable => ['atexit'],265},266'nonstop-nse_64' => {267inherit_from => [ 'nonstop-common',268'nonstop-archenv-itanium-oss',269'nonstop-lp64-itanium',270'nonstop-efloat-itanium' ],271multilib => '64',272multibin => '64',273disable => ['threads','atexit'],274},275'nonstop-nse_64_put' => {276inherit_from => [ 'nonstop-common',277'nonstop-archenv-itanium-oss',278'nonstop-lp64-itanium',279'nonstop-efloat-itanium',280'nonstop-model-put' ],281multilib => '64-put',282multibin => '64-put',283disable => ['atexit'],284},285286287