Patch Name: PHSS_28706 Patch Description: s700_800 11.X ANSI C compiler B.11.11.06 cumulative patch Creation Date: 03/03/19 Post Date: 03/04/01 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: C-ANSI-C B.11.11.06 Filesets: C-ANSI-C.C,fr=B.11.11.06,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No (superseded patches were critical) PHSS_28212: OTHER The use of non-"C" locales can result in the generation of bad code due to the truncation of floating point constants. Category Tags: defect_repair general_release critical Path Name: /hp-ux_patches/s700_800/11.X/PHSS_28706 Symptoms: PHSS_28706: The fixes for the below mentioned defects have been included JAGae02702 : segv in openmp mode JAGae50127 : Optimizer Warning 'lost IFNC for this entry' JAGae50917 : Error in aC++ range table entries JAGae27455 : Compiler not generating good code JAGaa73885 : aC++ range table entries have wrong offset JAGae44561 : Signal 11 on throw with +Omultiprocessor JAGad94365 : Bad constant folding at +O2 for ?: JAGae42569 : +O[no]clone added in PA C. JAGae17938 : cc fails stress test JAGae18231 : +O2 clobbers %r26 JAGae45024 : Bad results with -O and loops JAGad65354 : Additional check for ucomp Post-install script JAGae53831 : Bad code with internal option and char literal '\377' JAGae34347 : SDK fails at +O4 JAGae55900 : ESRI gets SEGV out of ccom JAGae57962 : ld -r phase core dumps JAGae51818 : Unable to backtrace panic events on PA kernels JAGae60740 : run time failure with memset PHSS_28212: The fixes for the below mentioned defects have been included JAGae48093 : Change capitalisation of "Inconsistent" in warning 573 JAGaa79710 : Want to control loop unrolling sizes JAGae47210 : wrong binary conversion, unsigned int vs long long JAGae39647 : ANSIC: Pointer - unsigned int different for +DD64 JAGae40769 : Different behaviour with incomplete structure object for -g and non -g JAGae45653 : Use of non "C" locales at compile time can cause truncation of floating point constants. JAGae44433 : aCC creating TLS references at -g but fails to create space records JAGae50308 : HLO abort : 'OPT_DB_UTILS::Take_Snapshot_Interval - unregistered loop' JAGae42723 : +O3 causes SLLIC internal error 7108 PHSS_27995: The fixes for the below mentioned defects have been included JAGad46834 : Error 5169 5212 insert LAB in missing/duplicate error messages JAGae31033 : R19 destroyed in covariant adjustor thunks, in shared libs JAGae38641 : Bad Makefile JAGad77063 : err_ids needs fixing; -vob isn't valid JAGae01544 : Signal 11 in Get_Call_Parent_And_Successor with +O3 JAGae15207 : Assert failed IR_OPR_Immediate-operand not an immediate w/PBO JAGae35420 : Error 5169 Missing LAB for label with +O3 +eh with try/catch JAGae35425 : Signal 11 in Process_Routine with +O3 JAGad56281 : LLO fails to register promote structure field references JAGae20974 : Signal 11 in fa_pass2 with +O2 JAGae30393 : Wrong runtime result with +DS2.0 and +O2 in loop JAGab67525 : C89/Convex/ANSI_STD/plumhall/error m65065 - suppose to fail, does not JAGab67777 : C89/Convex/ANSI_STD/plumhall/quality q63008 +O* suppose to fail, doesn't JAGad97567 : Use a single message in the .cat file for -Ae warnings JAGae06282 : Compiler or manpage wrong for 64-bit C compiler JAGae06585 : -shared option silently ignored in ILP32 JAGae16638 : Warnings 530 using varargs.h JAGae21102 : Signal 11 in get_line in /usr/ccs/lbin/cpp on non-ascii char JAGae31915 : Bundled compiler has no help or manpage JAGae33604 : Ansi C warning 732 when not appropriate JAGae39310 : cc: line 23: bar(): internal panic 5726: Undefined NSYM for ucode JAGae39317 : #pragma pack should allow no integer value to be passed like aC++ JAGae39647 : ANSIC: Pointer - unsigned int different for +DD64 JAGae39709 : ccom is terminating with signal 11 JAGae40259 : Change option +extstatvars to +objstatvars JAGae41347 : Signal 11 doing NCKL compile with new 11.23 BE JAGae41370 : NCKL: Debug info missing for typedef struct foo JAGad21395 : Error 7108 in 64 bit mode passing large struct by value JAGad91636 : ucomp assumes -Bhidden for all ISOMs if one ISOM with -Bhidden seen JAGae43462 : DTLS: wrong args passed to __tls_get_addr() JAGae43610 : DTLS: %r29 clobbered before call to __tls_get_addr() JAGae44415 : DTLS: STW used instead of STB for store to __thread char JAGad64874 : Support for __declspec(dllimport) and __declspec(dllexport) JAGae27702 : 15% perf loss on PA SPEC OMP 330.art JAGae27964 : incorrect shifts of bit fields with HLO JAGae43988 : DTLS: +O3 Optimization problem JAGae15775 : +Olibcalls runs LLO out of memory on function with 680 memset() calls JAGae28536 : SIGSEGV in ralloc/split_64bit_resources() when dropping function to +O1 JAGae29166 : variable args parameter passed incorrectly for -O +Oall JAGae30898 : incorrect UADDCM/ADD transformation in peep JAGae32491 : +Ovolatile option does not work with the C compiler. JAGae34347 : SDK fails at +O4 once warnings are produced by ucomp JAGae35670 : AR0902 ucomp generates error in ld -r phase (6987) Defect Description: PHSS_28706: The fixes for the below mentioned defects have been included JAGae02702 : extern with threadprivate causes segv in openmp mode JAGae50127 : call to ceil(3M) causes Optimizer Warning 'lost IFNC for this entry' JAGae50917 : aC++ range table entries have wrong offset for parms DA2.0W, > 8 parms JAGae27455 : For unaligned copy compiler is not generating good code JAGaa73885 : For parameters > 8, aC++ exception handling action table entries don't have the correct offset in 64 bit mode. JAGae44561 : A signal 11 may occur when doing a throw on a file compiled with +Omultiprocessor. JAGad94365 : Optimizer converts some of the ldo's to ldw's and does not update resource numbers, causing bad constant folding. JAGae42569 : option +O[no]clone added to the HP PA C driver. JAGae17938 : test fails with +DA2.0 +O0 +tls=dynamic +z JAGae18231 : While trying to access __thread struct member +O2 clobbers %r26 JAGae45024 : In scalar replacement module, error in finding the deletable instructions. JAGad65354 : Installing a new ucomp with same version string doesn't warn user. JAGae53831 : effect of internal option not considered while generating case labels, causing wrong code generation for char larger than 127. JAGae34347 : SDK fails at +O4 once warnings are produced by ucomp JAGae55900 : exportFile does not return status and the GUI is unaware of when the file finished writing. JAGae57962 : Wrong usage of getenv produces 2 bytes instead of 26 bytes and core dumps JAGae51818 : Changes to compiler doesn't produce debug info for unused/unreferenced symbols which results Data memory protection fault. JAGae60740 : memset with 1 byte was giving run time failure. PHSS_28212: The fixes for the below mentioned defects have been included JAGae48093 : Change capitalisation of "Inconsistent" in warning 573 JAGaa79710 : Want to control loop unrolling sizes JAGae47210 : wrong binary conversion, unsigned int vs long long JAGae39647 : ANSIC: Pointer - unsigned int different for +DD64 JAGae40769 : Different behaviour with incomplete structure object for -g and non -g JAGae45653 : Use of non "C" locales at compile time can cause truncation of floating point constants. This problem can occur for locales that use comma's as decimal points. E.g., float f=3.14 becomes 3.0 JAGae44433 : aCC creating TLS references at -g but fails to create space records JAGae50308 : HLO abort : 'OPT_DB_UTILS::Take_Snapshot_Interval - unregistered loop' JAGae42723 : +O3 causes SLLIC internal error 7108 PHSS_27995: The fixes for the below mentioned defects have been included JAGad46834 : Error 5169 5212 insert LAB in missing/duplicate error messages JAGae31033 : R19 destroyed in covariant adjustor thunks, in shared libs JAGae38641 : Bad Makefile JAGad77063 : err_ids needs fixing; -vob isn't valid JAGae01544 : Signal 11 in Get_Call_Parent_And_Successor with +O3 JAGae15207 : Assert failed IR_OPR_Immediate-operand not an immediate w/PBO JAGae35420 : Error 5169 Missing LAB for label with +O3 +eh with try/catch JAGae35425 : Signal 11 in Process_Routine with +O3 JAGad56281 : LLO fails to register promote structure field references JAGae20974 : Signal 11 in fa_pass2 with +O2 JAGae30393 : Wrong runtime result with +DS2.0 and +O2 in loop JAGab67525 : C89/Convex/ANSI_STD/plumhall/error m65065 - suppose to fail, does not JAGab67777 : C89/Convex/ANSI_STD/plumhall/quality q63008 +O* suppose to fail, doesn't JAGad97567 : Use a single message in the .cat file for -Ae warnings JAGae06282 : Compiler or manpage wrong for 64-bit C compiler JAGae06585 : -shared option silently ignored in ILP32 JAGae16638 : Warnings 530 using varargs.h JAGae21102 : Signal 11 in get_line in /usr/ccs/lbin/cpp on non-ascii char JAGae31915 : Bundled compiler has no help or manpage JAGae33604 : Ansi C warning 732 when not appropriate JAGae39310 : cc: line 23: bar(): internal panic 5726: Undefined NSYM for ucode JAGae39317 : #pragma pack should allow no integer value to be passed like aC++ JAGae39647 : ANSIC: Pointer - unsigned int different for +DD64 JAGae39709 : ccom is terminating with signal 11 JAGae40259 : Change option +extstatvars to +objstatvars JAGae41347 : Signal 11 doing NCKL compile with new 11.23 BE JAGae41370 : NCKL: Debug info missing for typedef struct foo JAGad21395 : Error 7108 in 64 bit mode passing large struct by value JAGad91636 : ucomp assumes -Bhidden for all ISOMs if one ISOM with -Bhidden seen JAGae43462 : DTLS: wrong args passed to __tls_get_addr() JAGae43610 : DTLS: %r29 clobbered before call to __tls_get_addr() JAGae44415 : DTLS: STW used instead of STB for store to __thread char JAGad64874 : Support for __declspec(dllimport) and __declspec(dllexport) JAGae27702 : 15% perf loss on PA SPEC OMP 330.art JAGae27964 : incorrect shifts of bit fields with HLO JAGae43988 : DTLS: +O3 Optimization problem JAGae15775 : +Olibcalls runs LLO out of memory on function with 680 memset() calls JAGae28536 : SIGSEGV in ralloc/split_64bit_resources() when dropping function to +O1 JAGae29166 : variable args parameter passed incorrectly for -O +Oall JAGae30898 : incorrect UADDCM/ADD transformation in peep JAGae32491 : +Ovolatile option does not work with the C compiler. JAGae34347 : SDK fails at +O4 once warnings are produced by ucomp JAGae35670 : AR0902 ucomp generates error in ld -r phase (6987) Enhancement: No SR: 8606233479 8606286184 8606286977 8606263127 8606174182 8606280591 8606225277 8606278511 8606252871 8606253899 8606281057 8606196150 8606289902 8606270109 8606292136 8606294242 8606287885 8606297223 8606294242 8606284146 1653090795 8606283258 8606275571 8606276692 8606281712 8606280457 8606286365 8606278666 8606177602 8606266788 8606274564 8606207886 8606232308 8606248810 8606271185 8606271190 8606187073 8606256659 8606266141 8606102086 8606102220 8606228510 8606237237 8606237545 8606250263 8606256788 8606267674 8606269369 8606275234 8606275241 8606275571 8606275633 8606276181 8606277275 8606277299 8606152056 8606222523 8606279409 8606279589 8606280439 8606195670 8606263376 8606263639 8606280013 8606249383 8606264206 8606264835 8606266653 8606268252 8606270109 8606271463 Patch Files: C-ANSI-C.C,fr=B.11.11.06,fa=HP-UX_B.11.00_32/64,v=HP: /opt/ansic/bin/cc /opt/ansic/bin/c89 /opt/ansic/lbin/ccom /opt/ansic/lib/nls/msg/C/cc.cat /opt/ansic/lib/nls/msg/C/cc.msgs what(1) Output: C-ANSI-C.C,fr=B.11.11.06,fa=HP-UX_B.11.00_32/64,v=HP: /opt/ansic/bin/cc: $Revision: 92453-07 linker linker crt0.o B.11.30 020 412 $ LINT B.11.11.28706.GP CXREF B.11.11.28706.GP HP92453-01 B.11.11.28706.GP HP C Compiler $ Sep 8 2000 23:13:51 $ /opt/ansic/bin/c89: $Revision: 92453-07 linker linker crt0.o B.11.30 020 412 $ LINT B.11.11.28706.GP CXREF B.11.11.28706.GP HP92453-01 B.11.11.28706.GP HP C Compiler $ Sep 8 2000 23:13:51 $ /opt/ansic/lbin/ccom: $Revision: 92453-07 linker linker crt0.o B.11.30 020 412 $ LINT B.11.11.28706.GP CXREF B.11.11.28706.GP HP92453-01 B.11.11.28706.GP HP C Compiler HP-UX SLLIC/OPTIMIZER UX.11.01.285: 01/30/03 HP aC++ B3910B A.03.33 Classic Iostream Library HP aC++ B3910B A.03.33 Language Support Library Ucode Code Generator - UX11.01.54 (PACG Jan 30, 2003 ) High Level Optimizer - UX.11.00.030130 (UX11.01-CURR ENT) [-DHLO_RELEASE +noeh -z +O2 +Oinitcheck ] - 11-Mar-2003.21:46 Ucode-2 - UCODE2_UX11.01_STABLE(v2.1) (October 19, 1 998) $ Sep 8 2000 23:13:51 $ /opt/ansic/lib/nls/msg/C/cc.cat: HP92453-01 B.11.11.28706.GP HP C Compiler Copyright 1985, Hewlett-Packard Co. /opt/ansic/lib/nls/msg/C/cc.msgs: None. cksum(1) Output: C-ANSI-C.C,fr=B.11.11.06,fa=HP-UX_B.11.00_32/64,v=HP: 120644253 618496 /opt/ansic/bin/cc 120644253 618496 /opt/ansic/bin/c89 2840026299 11554816 /opt/ansic/lbin/ccom 2598126108 93029 /opt/ansic/lib/nls/msg/C/cc.cat 1251571161 174386 /opt/ansic/lib/nls/msg/C/cc.msgs Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_27995 PHSS_28212 Equivalent Patches: None Patch Package Size: 12790 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_28706 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_28706.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_28706. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false 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_28706.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_28706.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_28706.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None