<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:149910744;
        mso-list-type:hybrid;
        mso-list-template-ids:1491232682 1821164348 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Calibri",sans-serif;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Sorry folks.  The problem occurs anywhere the SWMASK is used in a static initializer.  I’ve reverted the recent change.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>The change was initially thought to be benign and attempted to allows for the simh source to be useful on systems with other than ASCII character sets (i.e. EBCDIC).  There are other issues with simulators running on hosts with EBCDIC character sets which are unrelated to the source code.  If/when those are also addressed, we’ll revisit how to solve the non ASCII source code issue as well.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><span style='mso-list:Ignore'>-<span style='font:7.0pt "Times New Roman"'>        </span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Mark<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></a></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Simh [mailto:simh-bounces@trailing-edge.com] <b>On Behalf Of </b>khandy21yo<br><b>Sent:</b> Thursday, August 6, 2015 8:24 PM<br><b>To:</b> Alan Frisbie <frisbie@flying-disk.com>; SIMH@trailing-edge.com<br><b>Subject:</b> Re: [Simh] Problem with default builds<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Wasnr rgere a recent change to tge SWMASK macro,<o:p></o:p></p><div><p class=MsoNormal>Gcc peobably optimizes this reference, but dev c must not.<o:p></o:p></p></div><p class=MsoNormal><br><br><br>-------- Original message --------<br>From Alan Frisbie <<a href="mailto:frisbie@flying-disk.com">frisbie@flying-disk.com</a>> <br>Date: 08/06/2015 8:53 PM (GMT-07:00) <br>To <a href="mailto:SIMH@trailing-edge.com">SIMH@trailing-edge.com</a> <br>Subject [Simh] Problem with default builds <br><br><br>Another build error.   Unfortunately, I do not have the knowledge<br>to fix it myself.<br><br>Today, 6-Aug-2015, I downloaded the current simh-master.zip from<br>github.<br><br>My host is an Alpha XP1000 running VMS v8.4<br><br>Using MMK from the VMS Freeware 8 CD, I tried to do a default<br>build of all SIMH simulators.   All went well until the build of<br>ID16-AXP.OLB Library.   At that point I got the error:<br><br>    { "DP", SWMASK ('F'), 9, 0x32, o_DP0, o_DPF },<br>............^<br>%CC-E-NEEDCONSTEXPR, In the initializer for dboot_tab[1].sw,<br>"sim_swmask(...)" is not constant, but occurs in a context that requires a constant<br>expression.<br>at line number 318 in file DKA200:[FRISBIE.SIMH.SIMH-MASTER.INTERDATA]ID16_DBOOT.C;4<br>%MMK-F-ERRUPD, error status %X10B91262 occurred when updating<br>target SYS$DISK:[.BIN.VMS.LIB]ID16-AXP.OLB<br><br><br>The log of the build (with lots of successful stuff snipped)<br>follows below.<br><br>Thanks,<br>Alan Frisbie<br><br>--------------------------------------------------<br><br>$ unzip simh-master.zip<br>Archive:  DKA200:[FRISBIE.SIMH]SIMH-MASTER.ZIP;5<br>7c7b44e409f05751c960a614dbb1e2abde22da60<br>replace [.simh-master].gitattributes? [y]es, [n]o, [A]ll, [N]one, [r]ename: A<br><br>  inflating: [.simh-master].gitattributes<br>  inflating: [.simh-master].gitignore<br>  inflating: [.simh-master]0readmeAsynchIO.txt<br>  inflating: [.simh-master]0readme_39.txt<br>...<br>  inflating: [.simh-master.swtp6800.swtp6800]swtp6800mp-a2.ini<br>  inflating: [.simh-master.swtp6800.swtp6800]swtp_defs.h<br>  inflating: [.simh-master.swtp6800.swtp6800]swtp_swtbug_bin.h<br>$<br>$ set default [.simh-master]<br>$ $ set file/attri=rfm:stm makefile,*.mms,[...]*.c,[...]*.h,[...]*.txt<br>$<br>$ mmk<br>$!<br>$! Building The SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB<br>Library.<br>$!<br>$ CC/DECC/PREF=ALL/DEBUG/OPT=(LEV=5)/ARCH=HOST <br>/NEST=PRIMARY/NAME=(AS_IS,SHORT)/DEF=("_LA<br>RGEFILE","SIM_ASYNCH_IO=1")  /OBJ=SYS$DISK:[.BIN.VMS.LIB.BLD-AXP]<br>SYS$DISK:[]SIM_CONSOLE.C<br>,SYS$DISK:[]SIM_SOCK.C,SYS$DISK:[]SIM_TMXR.C,SYS$DISK:[]SIM_ETHER.C,SYS$DISK:[]SIM_TAPE.C,<br>SYS$DISK:[]SIM_FIO.C,SYS$DISK:[]SIM_TIMER.C,SYS$DISK:[]SIM_DISK.C,SYS$DISK:[]SIM_SERIAL.C,<br>SYS$DISK:[]SIM_VIDEO.C<br>$ IF (F$SEARCH("SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB").EQS."")<br>THEN  LIBRARY/CREATE SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB<br>$ LIBRARY/REPLACE SYS$DISK:[.BIN.VMS.LIB]SIMH-NONET-AXP.OLB<br>SYS$DISK:[.BIN.VMS.LIB.BLD-AXP]*.OBJ<br>$ DELETE/NOLOG/NOCONFIRM SYS$DISK:[.BIN.VMS.LIB.BLD-AXP]*.OBJ;*<br>$!<br>$! Building The SYS$DISK:[.BIN.VMS.LIB]ALTAIR-AXP.OLB Library.<br>...<br>...<br>$! IBM1130 done<br>$!<br>$! Building The SYS$DISK:[.BIN.VMS.LIB]ID16-AXP.OLB Library.<br>$!<br>$ CC/DECC/PREF=ALL/DEBUG/OPT=(LEV=5)/ARCH=HOST <br>/NEST=PRIMARY/NAME=(AS_IS,SHORT)/INCL=(SYS<br>$DISK:[],SYS$DISK:[.INTERDATA])/DEF=("_LARGEFILE","SIM_ASYNCH_IO=1") <br>/OBJ=SYS$DISK:[.BIN.<br>VMS.LIB.BLD-AXP]<br>SYS$DISK:[.INTERDATA]ID16_CPU.C,SYS$DISK:[.INTERDATA]ID16_SYS.C,SYS$DISK:<br>[.INTERDATA]ID_DP.C,SYS$DISK:[.INTERDATA]ID_FD.C,SYS$DISK:[.INTERDATA]ID_FP.C,SYS$DISK:[.I<br>NTERDATA]ID_IDC.C,SYS$DISK:[.INTERDATA]ID_IO.C,SYS$DISK:[.INTERDATA]ID_LP.C,SYS$DISK:[.INT<br>ERDATA]ID_MT.C,SYS$DISK:[.INTERDATA]ID_PAS.C,SYS$DISK:[.INTERDATA]ID_PT.C,SYS$DISK:[.INTER<br>DATA]ID_TT.C,SYS$DISK:[.INTERDATA]ID_UVC.C,SYS$DISK:[.INTERDATA]ID16_DBOOT.C,SYS$DISK:[.IN<br>TERDATA]ID_TTP.C<br><br>    { "DP", SWMASK ('F'), 9, 0x32, o_DP0, o_DPF },<br>............^<br>%CC-E-NEEDCONSTEXPR, In the initializer for dboot_tab[1].sw,<br>"sim_swmask(...)" is not constant, but occurs in a context that requires a constant<br>expression.<br>at line number 318 in file DKA200:[FRISBIE.SIMH.SIMH-MASTER.INTERDATA]ID16_DBOOT.C;4<br>%MMK-F-ERRUPD, error status %X10B91262 occurred when updating target SYS$DISK:[.BIN.VMS.LI<br>B]ID16-AXP.OLB<br>$<br><br>--------------------------------------------------<br>_______________________________________________<br>Simh mailing list<br><a href="mailto:Simh@trailing-edge.com">Simh@trailing-edge.com</a><br><a href="http://mailman.trailing-edge.com/mailman/listinfo/simh">http://mailman.trailing-edge.com/mailman/listinfo/simh</a><o:p></o:p></p></div></div></body></html>