Print this page
5595 libzpool won't build with a studio primary


 884 i386_C_BIGPICFLAGS =    -K PIC
 885 amd64_C_BIGPICFLAGS =   -K PIC
 886 C_BIGPICFLAGS =         $($(MACH)_C_BIGPICFLAGS)
 887 C_BIGPICFLAGS64 =       $($(MACH64)_C_BIGPICFLAGS)
 888 
 889 # CC requires there to be no space between '-K' and 'pic' or 'PIC'.
 890 sparc_CC_PICFLAGS =     -Kpic
 891 sparcv9_CC_PICFLAGS =   -KPIC
 892 i386_CC_PICFLAGS =      -Kpic
 893 amd64_CC_PICFLAGS =     -Kpic
 894 CC_PICFLAGS =           $($(MACH)_CC_PICFLAGS)
 895 CC_PICFLAGS64 =         $($(MACH64)_CC_PICFLAGS)
 896 
 897 AS_PICFLAGS=            $(C_PICFLAGS)
 898 AS_BIGPICFLAGS=         $(C_BIGPICFLAGS)
 899 
 900 #
 901 # Default label for CTF sections
 902 #
 903 CTFCVTFLAGS=            -i -L VERSION
 904 $(SRCDBGBLD)CTFCVTFLAGS         += -g
 905 
 906 #
 907 # Override to pass module-specific flags to ctfmerge.  Currently used only by
 908 # krtld to turn on fuzzy matching, and source-level debugging to inhibit
 909 # stripping.
 910 #
 911 CTFMRGFLAGS=
 912 $(SRCDBGBLD)CTFMRGFLAGS         += -g
 913 
 914 
 915 CTFCONVERT_O            = $(CTFCONVERT) $(CTFCVTFLAGS) $@
 916 
 917 ELFSIGN_O=      $(TRUE)
 918 ELFSIGN_CRYPTO= $(ELFSIGN_O)
 919 ELFSIGN_OBJECT= $(ELFSIGN_O)
 920 
 921 # Rules (normally from make.rules) and macros which are used for post
 922 # processing files. Normally, these do stripping of the comment section
 923 # automatically.
 924 #    RELEASE_CM:        Should be editted to reflect the release.
 925 #    POST_PROCESS_O:    Post-processing for `.o' files.
 926 #    POST_PROCESS_A:    Post-processing for `.a' files (currently null).
 927 #    POST_PROCESS_SO:   Post-processing for `.so' files.
 928 #    POST_PROCESS:      Post-processing for executable files (no suffix).
 929 # Note that these macros are not completely generalized as they are to be
 930 # used with the file name to be processed following.
 931 #
 932 # It is left as an exercise to Release Engineering to embellish the generation
 933 # of the release comment string.


 956 #       PATCHID         If this is a patch this value should contain
 957 #                       the patchid value (eg: "Generic 100832-01"), otherwise
 958 #                       it will be set to $(VERSION)
 959 #       RELEASE_DATE    Date of the Release Build
 960 #       PATCH_DATE      Date the patch was created, if this is blank it
 961 #                       will default to the RELEASE_DATE
 962 #
 963 RELEASE_MAJOR=  5
 964 RELEASE_MINOR=  11
 965 RELEASE=        $(RELEASE_MAJOR).$(RELEASE_MINOR)
 966 VERSION=        SunOS Development
 967 PATCHID=        $(VERSION)
 968 RELEASE_DATE=   release date not set
 969 PATCH_DATE=     $(RELEASE_DATE)
 970 RELEASE_CM=     "@($(POUND_SIGN))SunOS $(RELEASE) $(PATCHID) $(PATCH_DATE)"
 971 DEV_CM=         "@($(POUND_SIGN))SunOS Internal Development: non-nightly build"
 972 
 973 PROCESS_COMMENT=  @?${MCS} -d -a $(RELEASE_CM) -a $(DEV_CM)
 974 $(RELEASE_BUILD)PROCESS_COMMENT=   @?${MCS} -d -a $(RELEASE_CM)
 975 
 976 STRIP_STABS=                       :
 977 $(RELEASE_BUILD)STRIP_STABS=       $(STRIP) -x $@
 978 $(SRCDBGBLD)STRIP_STABS=           :
 979 
 980 POST_PROCESS_O= 
 981 POST_PROCESS_A=
 982 POST_PROCESS_SO=        $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
 983                         $(ELFSIGN_OBJECT)
 984 POST_PROCESS=           $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
 985                         $(ELFSIGN_OBJECT)
 986 
 987 #
 988 # chk4ubin is a tool that inspects a module for a symbol table
 989 # ELF section size which can trigger an OBP bug on older platforms.
 990 # This problem affects only specific sun4u bootable modules.
 991 #
 992 CHK4UBIN=       $(ONBLD_TOOLS)/bin/$(MACH)/chk4ubin
 993 CHK4UBINFLAGS=
 994 CHK4UBINARY=    $(CHK4UBIN) $(CHK4UBINFLAGS) $@
 995 
 996 #
 997 # PKGARCHIVE specifies the default location where packages should be




 884 i386_C_BIGPICFLAGS =    -K PIC
 885 amd64_C_BIGPICFLAGS =   -K PIC
 886 C_BIGPICFLAGS =         $($(MACH)_C_BIGPICFLAGS)
 887 C_BIGPICFLAGS64 =       $($(MACH64)_C_BIGPICFLAGS)
 888 
 889 # CC requires there to be no space between '-K' and 'pic' or 'PIC'.
 890 sparc_CC_PICFLAGS =     -Kpic
 891 sparcv9_CC_PICFLAGS =   -KPIC
 892 i386_CC_PICFLAGS =      -Kpic
 893 amd64_CC_PICFLAGS =     -Kpic
 894 CC_PICFLAGS =           $($(MACH)_CC_PICFLAGS)
 895 CC_PICFLAGS64 =         $($(MACH64)_CC_PICFLAGS)
 896 
 897 AS_PICFLAGS=            $(C_PICFLAGS)
 898 AS_BIGPICFLAGS=         $(C_BIGPICFLAGS)
 899 
 900 #
 901 # Default label for CTF sections
 902 #
 903 CTFCVTFLAGS=            -i -L VERSION

 904 
 905 #
 906 # Override to pass module-specific flags to ctfmerge.  Currently used only by
 907 # krtld to turn on fuzzy matching, and source-level debugging to inhibit
 908 # stripping.
 909 #
 910 CTFMRGFLAGS=


 911 
 912 CTFCONVERT_O            = $(CTFCONVERT) $(CTFCVTFLAGS) $@
 913 
 914 ELFSIGN_O=      $(TRUE)
 915 ELFSIGN_CRYPTO= $(ELFSIGN_O)
 916 ELFSIGN_OBJECT= $(ELFSIGN_O)
 917 
 918 # Rules (normally from make.rules) and macros which are used for post
 919 # processing files. Normally, these do stripping of the comment section
 920 # automatically.
 921 #    RELEASE_CM:        Should be editted to reflect the release.
 922 #    POST_PROCESS_O:    Post-processing for `.o' files.
 923 #    POST_PROCESS_A:    Post-processing for `.a' files (currently null).
 924 #    POST_PROCESS_SO:   Post-processing for `.so' files.
 925 #    POST_PROCESS:      Post-processing for executable files (no suffix).
 926 # Note that these macros are not completely generalized as they are to be
 927 # used with the file name to be processed following.
 928 #
 929 # It is left as an exercise to Release Engineering to embellish the generation
 930 # of the release comment string.


 953 #       PATCHID         If this is a patch this value should contain
 954 #                       the patchid value (eg: "Generic 100832-01"), otherwise
 955 #                       it will be set to $(VERSION)
 956 #       RELEASE_DATE    Date of the Release Build
 957 #       PATCH_DATE      Date the patch was created, if this is blank it
 958 #                       will default to the RELEASE_DATE
 959 #
 960 RELEASE_MAJOR=  5
 961 RELEASE_MINOR=  11
 962 RELEASE=        $(RELEASE_MAJOR).$(RELEASE_MINOR)
 963 VERSION=        SunOS Development
 964 PATCHID=        $(VERSION)
 965 RELEASE_DATE=   release date not set
 966 PATCH_DATE=     $(RELEASE_DATE)
 967 RELEASE_CM=     "@($(POUND_SIGN))SunOS $(RELEASE) $(PATCHID) $(PATCH_DATE)"
 968 DEV_CM=         "@($(POUND_SIGN))SunOS Internal Development: non-nightly build"
 969 
 970 PROCESS_COMMENT=  @?${MCS} -d -a $(RELEASE_CM) -a $(DEV_CM)
 971 $(RELEASE_BUILD)PROCESS_COMMENT=   @?${MCS} -d -a $(RELEASE_CM)
 972 
 973 STRIP_STABS=                       $(STRIP) -x $@

 974 $(SRCDBGBLD)STRIP_STABS=           :
 975 
 976 POST_PROCESS_O= 
 977 POST_PROCESS_A=
 978 POST_PROCESS_SO=        $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
 979                         $(ELFSIGN_OBJECT)
 980 POST_PROCESS=           $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
 981                         $(ELFSIGN_OBJECT)
 982 
 983 #
 984 # chk4ubin is a tool that inspects a module for a symbol table
 985 # ELF section size which can trigger an OBP bug on older platforms.
 986 # This problem affects only specific sun4u bootable modules.
 987 #
 988 CHK4UBIN=       $(ONBLD_TOOLS)/bin/$(MACH)/chk4ubin
 989 CHK4UBINFLAGS=
 990 CHK4UBINARY=    $(CHK4UBIN) $(CHK4UBINFLAGS) $@
 991 
 992 #
 993 # PKGARCHIVE specifies the default location where packages should be