Patch Name: PHSS_10575 Patch Description: s700_800 10.10-20 SoftBench C.05.25 cumulative patch Creation Date: 97/05/15 Post Date: 97/06/17 Hardware Platforms - OS Releases: s700: 10.10 10.20 s800: 10.10 10.20 Products: SoftBench C.05.25 Filesets: SB-CPersonality.SB-C SB-SoftBenchCore.SB-CORE SB-SoftBenchCore.SB-CORE-J SB-BMSFramework.SB-BMS SB-CXXPersnlty.SB-CXX SB-BMSFramework.SB-BMSFW Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_10575 Symptoms: PHSS_10575: BMS hangs. SPC hangs in select. Help file path and app-defaults incorrect. sbparse core dumps. SoftBench Compiler Drivers pass incomplete compiler option strings. Tab expands incorrectly in JPN environment. Oracle and Informix SQL support in SoftBench outdated. PHSS_9140: Softbuild always uses f77 or CC (HP C++ v3) The linker/loader is specified as CC (HP C++ v3) no matter what C++ compiler is specified. When using C++ templates in code, the current archive and shared library rules in the SoftBench makefile template do not work and the build fails. mkmf incorrectly substitutes certain macros in continuation lines during recursive builds PHSS_8816: Softcom incorrectly identifies differences. Sbparse dumps core or issues an error message similar to "sbparse: Parsing terminated near ["hello.c", line 5]. Internal error." Defect Description: PHSS_10575: An unusual termination of SoftBench does not free a particular socket which then may be reassigned by the kernel for startup by the BMS. SPC will hang in select if the OS allows for more than 2048 file descriptors. softhelpserv had incorrect help files path and app-defaults. Various sbparse defects. SoftBench Compiler Drivers exceed the memory limitations of the 'execvp' on a very long link command. Tab character in softedit incorrectly handles multibyte characters in a JPN environment. Tab assumed two-byte Kanji characters which produced incorrect "column" counts. Tab assumption was changed to ASCII (one-byte) and the JPN Softedit app-default "Softedit*tabSize" was changed to 8. Oracle and Informix SQL support enhancement - no defect. PHSS_9140: Softbuild enhancement - no defect. Templates did not contain mkmf defect workaround. PHSS_8816: Softcom ignores difference in lines that contain tab characters. Sbparse cannot handle certain C/C++ language constructs, usually involving esoteric uses of templates. SR: 4000128272 4000128280 4000129791 4000129801 5003335448 5003237669 1653204750 1653208579 Patch Files: /opt/softbench/bin/softcom /opt/softbench/bin/blinklink /opt/softbench/bin/softhelpsrv /opt/softbench/bin/softeditsrv /opt/softbench/bin/CC /opt/softbench/bin/g++ /opt/softbench/bin/aCC /opt/softbench/bin/cc /opt/softbench/bin/c89 /opt/softbench/bin/gcc /opt/softbench/newconfig/opt/softbench/config/buildt/ include/f90.rules /opt/softbench/newconfig/opt/softbench/config/softbuild/ mkrules.hpux /opt/softbench/newconfig/opt/softbench/config/softtypes/ config/C/softtypes /opt/softbench/newconfig/opt/softbench/config/buildlang.tbl /opt/softbench/newconfig/opt/softbench/config/builderr.fmt /opt/softbench/lib/buildt/Fortran.p /opt/softbench/lib/buildt/Fortran.l /opt/softbench/lib/buildt/aC++.p /opt/softbench/lib/buildt/aC++.l /opt/softbench/lib/buildt/dirlist.p /opt/softbench/lib/buildt/makefilelist.p /opt/softbench/lib/buildt/C++.l /opt/softbench/lib/buildt/C++.p /opt/softbench/lib/buildt/C.l /opt/softbench/lib/buildt/Pascal.l /opt/softbench/lib/buildt/C.p /opt/softbench/lib/buildt/Pascal.p /opt/softbench/lib/SB5.0/libfw-5.sl /opt/softbench/lib/SB5.0/libfw.sl /opt/softbench/lib/SB5.0/libspc-5.sl /opt/softbench/lib/SB5.0/libspc.sl /opt/softbench/lib/SB5.0/libXeEdit-5.sl /opt/softbench/lib/SB5.0/libXeEdit.sl /opt/softbench/config/products/zPHSS_10575 /opt/softbench/config/buildt/include/c.informix.macros /opt/softbench/config/buildt/include/c.oracle.macros /opt/softbench/lbin/sbparse /opt/softbench/app-defaults/ja_JP.SJIS/Softedit /opt/softbench/app-defaults/ja_JP.eucJP/Softedit /opt/softbench/app-defaults/Softhelpsrv /opt/softbench/README.aC++ /opt/softbench/README.f90 /opt/softbench/README.hpux what(1) Output: /opt/softbench/bin/softcom: REV: 970603.180450, 9000/720 HP-UX B.10.10 masonbld@ kanji REV: 970603.180450, 9000/720 HP-UX B.10.10 masonbld@ kanji REV: 970603.180450, 9000/720 HP-UX B.10.10 masonbld@ kanji /opt/softbench/bin/blinklink: REV: 970603.155611, 9000/720 HP-UX B.10.10 masonbld@ boojum REV: 970603.155611, 9000/720 HP-UX B.10.10 masonbld@ boojum /opt/softbench/bin/softhelpsrv: REV: 970603.175421, 9000/720 HP-UX B.10.10 masonbld@ boojum /opt/softbench/bin/softeditsrv: REV: 970603.181106, 9000/720 HP-UX B.10.10 masonbld@ kanji REV: 970603.181106, 9000/720 HP-UX B.10.10 masonbld@ kanji REV: 970603.181106, 9000/720 HP-UX B.10.10 masonbld@ kanji /opt/softbench/bin/CC: REV: 970603.153816, 9000/720 HP-UX B.10.10 masonbld@ kanji REV: 970603.153816, 9000/720 HP-UX B.10.10 masonbld@ kanji /opt/softbench/bin/g++: REV: 970603.153816, 9000/720 HP-UX B.10.10 masonbld@ kanji REV: 970603.153816, 9000/720 HP-UX B.10.10 masonbld@ kanji /opt/softbench/bin/aCC: REV: 970603.153816, 9000/720 HP-UX B.10.10 masonbld@ kanji REV: 970603.153816, 9000/720 HP-UX B.10.10 masonbld@ kanji /opt/softbench/bin/cc: REV: 970603.153832, 9000/720 HP-UX B.10.10 masonbld@ kanji REV: 970603.153832, 9000/720 HP-UX B.10.10 masonbld@ kanji /opt/softbench/bin/c89: REV: 970603.153832, 9000/720 HP-UX B.10.10 masonbld@ kanji REV: 970603.153832, 9000/720 HP-UX B.10.10 masonbld@ kanji /opt/softbench/bin/gcc: REV: 970603.153832, 9000/720 HP-UX B.10.10 masonbld@ kanji REV: 970603.153832, 9000/720 HP-UX B.10.10 masonbld@ kanji /opt/softbench/newconfig/opt/softbench/config/buildt/ include/f90.rules: None /opt/softbench/newconfig/opt/softbench/config/softbuild/ mkrules.hpux: None /opt/softbench/newconfig/opt/softbench/config/softtypes/ config/C/softtypes: None /opt/softbench/newconfig/opt/softbench/config/buildlang.tbl: None /opt/softbench/newconfig/opt/softbench/config/builderr.fmt: None /opt/softbench/lib/buildt/Fortran.p: None /opt/softbench/lib/buildt/Fortran.l: None /opt/softbench/lib/buildt/aC++.p: None /opt/softbench/lib/buildt/aC++.l: None /opt/softbench/lib/buildt/dirlist.p: None /opt/softbench/lib/buildt/makefilelist.p: None /opt/softbench/lib/buildt/C++.l: None /opt/softbench/lib/buildt/C++.p: None /opt/softbench/lib/buildt/C.l: None /opt/softbench/lib/buildt/Pascal.l: None /opt/softbench/lib/buildt/C.p: None /opt/softbench/lib/buildt/Pascal.p: None /opt/softbench/lib/SB5.0/libfw-5.sl: REV: 970603.152805, 9000/720 HP-UX B.10.10 masonbld@ boojum /opt/softbench/lib/SB5.0/libfw.sl: REV: 970603.152805, 9000/720 HP-UX B.10.10 masonbld@ boojum /opt/softbench/lib/SB5.0/libspc-5.sl: REV: 970603.154352, 9000/720 HP-UX B.10.10 masonbld@ boojum SPC Protocol Version 5 /opt/softbench/lib/SB5.0/libspc.sl: REV: 970603.154352, 9000/720 HP-UX B.10.10 masonbld@ boojum SPC Protocol Version 5 /opt/softbench/lib/SB5.0/libXeEdit-5.sl: None /opt/softbench/lib/SB5.0/libXeEdit.sl: None /opt/softbench/config/products/zPHSS_10575: None /opt/softbench/config/buildt/include/c.informix.macros: None /opt/softbench/config/buildt/include/c.oracle.macros: None /opt/softbench/lbin/sbparse: REV: 970603.165141, 9000/720 HP-UX B.10.10 masonbld@ boojum REV: 970603.165141, 9000/720 HP-UX B.10.10 masonbld@ boojum DB 2.03 CodeCrafter 2 $Revision: 76.162.1.5 $ /opt/softbench/app-defaults/ja_JP.SJIS/Softedit: None /opt/softbench/app-defaults/ja_JP.eucJP/Softedit: None /opt/softbench/app-defaults/Softhelpsrv: None /opt/softbench/README.aC++: None /opt/softbench/README.f90: None /opt/softbench/README.hpux: None cksum(1) Output: 2078101308 168855 /opt/softbench/bin/softcom 3779317193 144060 /opt/softbench/bin/blinklink 3049245541 260257 /opt/softbench/bin/softhelpsrv 1528347520 226379 /opt/softbench/bin/softeditsrv 2481787403 53508 /opt/softbench/bin/CC 2481787403 53508 /opt/softbench/bin/g++ 2481787403 53508 /opt/softbench/bin/aCC 3170431609 53511 /opt/softbench/bin/cc 3170431609 53511 /opt/softbench/bin/c89 3170431609 53511 /opt/softbench/bin/gcc 224258509 955 /opt/softbench/newconfig/opt/softbench/config/ buildt/include/f90.rules 781272520 6817 /opt/softbench/newconfig/opt/softbench/ config/softbuild/mkrules.hpux 2421392027 2712 /opt/softbench/newconfig/opt/softbench/ config/softtypes/config/C/softtypes 3451839357 19734 /opt/softbench/newconfig/opt/softbench/ config/buildlang.tbl 300944676 23152 /opt/softbench/newconfig/opt/softbench/ config/builderr.fmt 770848433 6102 /opt/softbench/lib/buildt/Fortran.p 1095933586 5574 /opt/softbench/lib/buildt/Fortran.l 458204384 6175 /opt/softbench/lib/buildt/aC++.p 3201961009 7864 /opt/softbench/lib/buildt/aC++.l 778042788 2909 /opt/softbench/lib/buildt/dirlist.p 2239947462 4604 /opt/softbench/lib/buildt/makefilelist.p 2282562493 7860 /opt/softbench/lib/buildt/C++.l 4177716016 6173 /opt/softbench/lib/buildt/C++.p 2785562349 5507 /opt/softbench/lib/buildt/C.l 2785562349 5507 /opt/softbench/lib/buildt/Pascal.l 218360590 6035 /opt/softbench/lib/buildt/C.p 218360590 6035 /opt/softbench/lib/buildt/Pascal.p 1534061374 296321 /opt/softbench/lib/SB5.0/libfw-5.sl 1534061374 296321 /opt/softbench/lib/SB5.0/libfw.sl 2945871265 148131 /opt/softbench/lib/SB5.0/libspc-5.sl 2945871265 148131 /opt/softbench/lib/SB5.0/libspc.sl 1141513878 511003 /opt/softbench/lib/SB5.0/libXeEdit-5.sl 1141513878 511003 /opt/softbench/lib/SB5.0/libXeEdit.sl 2377776854 38 /opt/softbench/config/products/zPHSS_10575 3277534941 1163 /opt/softbench/config/buildt/include/ c.informix.macros 4175635873 2906 /opt/softbench/config/buildt/include/ c.oracle.macros 299804627 2608211 /opt/softbench/lbin/sbparse 1253330794 5686 /opt/softbench/app-defaults/ja_JP.SJIS/ Softedit 1213478205 5690 /opt/softbench/app-defaults/ja_JP.eucJP/ Softedit 924088975 6955 /opt/softbench/app-defaults/Softhelpsrv 1736803956 6373 /opt/softbench/README.aC++ 3785870788 4042 /opt/softbench/README.f90 3717387204 29278 /opt/softbench/README.hpux Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_8816 PHSS_9140 Equivalent Patches: None Patch Package Size: 4640 Kbytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_10575 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_10575.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHSS_10575.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_10575. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHSS_10575.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_10575.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None