Patch Name: PHSS_4159 Patch Description: c++ptlink/CC problems with C++ version A.03.40 c++ptlink/CC fails with long command lines and archive libs. This patch applies to C++ version A.03.40, which first appears on the April 1994 HP-UX Application Release. 1. ptlink would core dump if the length of the objects from instantiation and all the other files on the ld line were more than 8 K. 2. ptlink could not process archive libraries of template objects and reports "syntax errors". 3. ptlink or driver CC might abort with the following errors: /lib/pa1.1:/usr/lib/pa1.1:/lib:/usr/lib: is not an identifier internal error: fast popen() failed on %s (725) if any component that CC(the driver) tries to invoke is a shell script instead of a program. I.e. when the -t?,name option is used. Also if +DA1.1 was used, the wrong set of libraries would be used. 4. If -ptr ./ptrepository is used as the first of many -ptr options, all instantionations are done in the second repository. Also if the first of many -ptr options doesn't contain a valid defmap file, no instantionations are done. Path Name: /hp-ux_patches/s700/9.X/PHSS_4159 Effective Date: 940504 OS Release: 9.00 9.01 9.03 9.05 Reboot Required: No Patch Files: /usr/lib/c++ptlink /usr/bin/CC /usr/lib/nls/C/CC.cat SR#: 5000707430 ptlink abort with long lines 4701247916 Syntax errors when passing archive libs to ptlink 5000706853 ptlink fails with error "... not an identifier" 5003189712 ./ptrepository treated special by compiler and ignored "what" string/timestamp: what /usr/bin/CC /usr/bin/CC: HP C++ B2402 A.03.43(PATCH to A.03.40) what /usr/lib/c++ptlink /usr/lib/c++ptlink: HP C++ B2402 A.03.43(PATCH to A.03.40) ll /usr/lib/nls/C/CC.cat (rwx and owner fields stripped) 105316 May 2 16:34 /usr/lib/nls/C/CC.cat "sum" output: 62615 320 CC 27737 206 CC.cat 57038 360 c++ptlink Dependencies: None Supersedes: None Patch Package Size: 512 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. Note: Please back up your system before you patch. ------------------------------------------------------------------------------ After getting the patch onto your machine, unshar the patch (sh PHSS_4159). To install this patch do the following: 1) Run /etc/update (Note: you must be logged in as root to update a system). 2) Once in the update "Main Menu" move the highlighted line to "Change Source or Destination ->" and press "Return" or "Select Item". 3) Make sure the highlighted item in the "Change Source or Destination" window is "From Tape Device to Local System ...", then press "Return" or "Select Item". 4) You should now be in the "From Tape Device to Local System" window. Change the "Source: /dev/rmt/0m" to "Source: /tmp/PHSS_4159.updt" (this assumes that you are in the /tmp directory where PHSS_4159.updt has been placed). Note: You must enter the complete path name. 5) Press "Done". 6) From here on follow the standard directions for update. The customized script that update runs will move the original software to /system/PHSS_4159/orig. HP recommends keeping this software there in order to recover from any potential problems. It is also recommended that you move the PHSS_4159.text file to /system/PHSS_4159 to be retained for future reference. If you wish to put this patch on a magnetic tape and update from the tape drive, dd a copy of the patch to the tape drive. As an example the following will create a copy of the patch that update can read: dd if=PHSS_4159.updt of=/dev/rmt/0m bs=2048