Patch Name: PHSS_22868 Patch Description: s700_800 11.X HP aC++ -AA header files (aCC A.03.30) Creation Date: 00/12/07 Post Date: 01/01/10 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: HP aC++ B3910B A.03.25 HP aC++ B3910B A.03.25.01 HP aC++ B3910B A.03.26 HP aC++ B3910B A.03.27 Filesets: ACXX.ACXX-STDLIB,fr=C.03.27,fa=HP-UX_B.11.00_32/64,v=HP ACXX.ACXX-STDLIB,fr=C.03.26,fa=HP-UX_B.11.00_32/64,v=HP ACXX.ACXX-STDLIB,fr=C.03.25.01,fa=HP-UX_B.11.00_32/64,v=HP ACXX.ACXX-STDLIB,fr=C.03.25,fa=HP-UX_B.11.00_32/64,v=HP ACXX.ACXX-STDLIB,fr=C.03.27,fa=HP-UX_B.11.11_32/64,v=HP ACXX.ACXX-STDLIB,fr=C.03.26,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHSS_22868 Symptoms: PHSS_22868: 1. JAGad36658: Inconsistent definition of mbstate_t, requires roll for all customers using libstd_v2 to establish compatibility with the HPUX 11.11 runtime. 2. JAGad41042: is_open requires roll for some customers for libstd_v2. Defect Description: PHSS_22868: 1. JAGad36658: Inconsistent definition of mbstate_t, requires roll for all customers using libstd_v2 to establish compatibility with the HPUX 11.11 runtime. 2. JAGad41042: is_open requires roll for some customers for libstd_v2. SR: 8606167372 8606171778 Patch Files: ACXX.ACXX-STDLIB,fr=C.03.27,fa=HP-UX_B.11.00_32/64,v=HP: ACXX.ACXX-STDLIB,fr=C.03.26,fa=HP-UX_B.11.00_32/64,v=HP: ACXX.ACXX-STDLIB,fr=C.03.25.01,fa=HP-UX_B.11.00_32/64,v=HP: ACXX.ACXX-STDLIB,fr=C.03.25,fa=HP-UX_B.11.00_32/64,v=HP: ACXX.ACXX-STDLIB,fr=C.03.27,fa=HP-UX_B.11.11_32/64,v=HP: ACXX.ACXX-STDLIB,fr=C.03.26,fa=HP-UX_B.11.11_32/64,v=HP: /opt/aCC/include/cwchar /opt/aCC/include/cwctype /opt/aCC/include/wchar.h /opt/aCC/include/wctype.h /opt/aCC/include_std/fstream /opt/aCC/include_std/string /opt/aCC/include_std/stdcomp.h /opt/aCC/include_std/rw/stddefs.h /opt/aCC/include_std/rw/iterator what(1) Output: ACXX.ACXX-STDLIB,fr=C.03.27,fa=HP-UX_B.11.00_32/64,v=HP: /opt/aCC/include/cwchar: None /opt/aCC/include/cwctype: None /opt/aCC/include/wchar.h: None /opt/aCC/include/wctype.h: None /opt/aCC/include_std/fstream: None /opt/aCC/include_std/string: None /opt/aCC/include_std/stdcomp.h: None /opt/aCC/include_std/rw/stddefs.h: None /opt/aCC/include_std/rw/iterator: None cksum(1) Output: ACXX.ACXX-STDLIB,fr=C.03.27,fa=HP-UX_B.11.00_32/64,v=HP: 2008716506 4360 /opt/aCC/include/cwchar 1113444867 975 /opt/aCC/include/cwctype 3594263921 1387 /opt/aCC/include/wchar.h 2401596512 681 /opt/aCC/include/wctype.h 69841059 18531 /opt/aCC/include_std/fstream 1265604800 48765 /opt/aCC/include_std/string 1261705650 54811 /opt/aCC/include_std/stdcomp.h 1967385475 29567 /opt/aCC/include_std/rw/stddefs.h 155788593 34777 /opt/aCC/include_std/rw/iterator Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHSS_22867: s700: 10.10 10.20 s800: 10.10 10.20 Patch Package Size: 220 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_22868 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_22868.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_22868. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHSS_22868.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHSS_22868.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_22868.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_22868.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch applies to the users of the new ANSI C++ Standard Library 2.0 (libstd_v2) only. Every development site (on A.03.25 through A.03.27) that installs this patch MUST also install the library patch PHSS_22543 (for 11.0 systems) or PHSS_22898 (for 11.11 systems). The following note appears in PHSS_22543 and PHSS_22898: NOTE TO USERS OF THE NEWLY INTRODUCED ANSI C++ STANDARD LIBRARY VERSION 2.0 (libstd_v2): If you have used aC++ versions A.03.25 through A.03.27 with the -AA option then you must install this patch. If as an ISV you have shipped a library built WITH the -AA option, please contact HP for further information. If as an end user you have received and installed third party libraries or applications built or compiled WITH the -AA option, please contact HP for further information. To determine whether your library/application uses -AA, run the command chatr | grep libstd_v2 If the output of this command is NOT empty, your library/application uses -AA. This libstd_v2 roll is necessary to establish compatibility with the definition of mbstate_t (multibyte support) in the HPUX 11.11 runtime (libc). If you install this patch you MUST recompile and relink any applications built with the -AA option (and be sure your software vendors have done so for their products). Every development site (on A.03.25 through A.03.27) that installs this patch MUST also install the header file patch PHSS_22868. All aC++ applications built with the -AA option on versions A.03.25 through A.03.27 must then be recompiled and relinked. If this is not done, link time or run time incompatibilities may result. See CR JAGad36658 above.