Patch Name: PHSS_9140 Patch Description: s700_800 10.10-20 SoftBench C.05.25 cumulative patch Creation Date: 97/02/17 Post Date: 97/03/07 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-BMSFramework.SB-BMS SB-CXXPersnlty.SB-CXX Automatic Reboot?: No Status: General Superseded Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_9140 Symptoms: 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_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 Patch Files: /opt/softbench/bin/softcom /opt/softbench/bin/blinklink /opt/softbench/lbin/sbparse /opt/softbench/config/products/zPHSS_9140 /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/README.aC++ /opt/softbench/README.f90 /opt/softbench/README.hpux what(1) Output: /opt/softbench/bin/softcom: REV: 961002.163112, 9000/720 HP-UX B.10.10 masonbld@ boojum REV: 961002.163112, 9000/720 HP-UX B.10.10 masonbld@ boojum REV: 961002.163112, 9000/720 HP-UX B.10.10 masonbld@ boojum /opt/softbench/bin/blinklink: REV: 961204.173803, 9000/720 HP-UX B.10.10 masonbld@ boojum REV: 961204.173803, 9000/720 HP-UX B.10.10 masonbld@ boojum /opt/softbench/lbin/sbparse: REV: 970113.104056, 9000/720 HP-UX B.10.10 masonbld@ kanji REV: 970113.104056, 9000/720 HP-UX B.10.10 masonbld@ kanji DB 2.03 CodeCrafter 2 $Revision: 1.4 $ /opt/softbench/config/products/zPHSS_9140: None /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/README.aC++: None /opt/softbench/README.f90: None /opt/softbench/README.hpux: None cksum(1) Output: 3243864326 168855 /opt/softbench/bin/softcom 2404744523 144060 /opt/softbench/bin/blinklink 872895269 2604103 /opt/softbench/lbin/sbparse 1522057129 37 /opt/softbench/config/products/zPHSS_9140 224258509 955 /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 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 Equivalent Patches: None Patch Package Size: 3080 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_9140 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_9140.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_9140.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_9140. 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_9140.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_9140.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None