 |
≫ |
|
|
 |
パッチ名: PHSS_34880
パッチ摘要: s700_800 11.11 LIBCLパッチ
作成日: 07/04/25
公開日: 07/04/27
ハードウェアプラットフォームおよびOSリリース:
s700: 11.11
s800: 11.11
現象:
PHSS_34880:
1)JAGaf54909:
"+O0 +DD64"使用時の、NEC_dvxaアプリケーションでのバスエラー。
2)JAGag30202:
ANSI C関数を呼び出すf90メインプログラムを実行すると、ロケール警告が表
示されます。
3)JAGag12999:
書き込み保護ファイルに対する書き込み("error 956")時に表示される診断メ
ッセージが不適切です。
4)JAGag16331:
"+cfc"を使ってコンパイルしたHP Fortran 90プログラムが、実行時にエラー
になります。
5)JAGag13173:
FortranプログラムがLANG変数を使用しません。
6)JAGag05627:
Fortran lib内で境界の正しくないデータが使用されている場合のデータの割
り付け境界トラップ。+Aフラグを使用すると、Fortranコンパイラでコアダン
プが取られます。
7)JAGag32707:
エラー"LD: overflow in file /lib/libcl.a (unwind_dl_api.o)"。
8)JAGaf86494:
libclパッチ上のpostremoveスクリプトを改善する必要があります。"mv"コマ
ンドを使ってpostremoveスクリプト内のlibcl.2を移動すると、libcl.2を使用
するプログラムが異常終了することがあります。
問題点の説明:
PHSS_34880:
1)JAGaf54909:
"+O0 +DD64"使用時の、NEC_dvxaアプリケーションでのバスエラー("Invalid
address alignment")。
2)JAGag30202:
ロケール関連情報を出力するC関数を呼び出すF90プログラムを実行すると、
ロケール警告メッセージが表示されていました。
3)JAGag12999:
Fortranランタイムは、自動的(暗黙的)にオープンされるファイルのファイル
パーミッションを適切にチェックしていませんでした。不正なファイルi/o
の場合は、"error 956"に加えて適切な診断メッセージを表示する必要があり
ます。
4)JAGag16331:
"+cfc"オプションを使ってコンパイルしたプログラムが、実行時に"internal
consistency check failure"エラーで異常終了していました。"+cfc"オプショ
ンなしでコンパイルすると、プログラムは正常に実行していました。
5)JAGag13173:
LANG変数をエクスポートしないと、Fortranプログラムはその値として空白を
使用していました。
6)JAGag05627:
自然に割り付けられていないオーバーレイ変数がプログラム内にあると、F90
コンパイラは、+Aコンパイラフラグを使って強制的に自然なデータの割り付け
境界にするように示唆していました。ところが、+Aフラグを使用すると、コン
パイラは、print文の処理時にコアダンプを取っていました。
7)JAGag32707:
エラー"LD: overflow in file /lib/libcl.a (unwind_dl_api.o)"。
+zオプションを使って作成したオブジェクトファイルunwind_dl_api.oが不正
に、libcl.a内に格納されていました。
8)JAGaf86494:
libclパッチ上のpostremoveスクリプトを改善する必要があります。"mv"コマ
ンドを使ってpostremoveスクリプト内のlibcl.2を移動すると、libcl.2を使用
するプログラムが異常終了することがありました。
-----------------------------------------------------------------------------
Patch Name: PHSS_34880
Patch Description: s700_800 11.11 LIBCL patch
Creation Date: 07/04/25
Post Date: 07/04/27
Hardware Platforms - OS Releases:
s700: 11.11
s800: 11.11
Products: N/A
Filesets:
OS-Core.CORE-SHLIBS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP
OS-Core.CORE-64SLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP
ProgSupport.LANG-64ALIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP
ProgSupport.LANG-MIN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP
Automatic Reboot?: No
Status: General Release
Critical:
Yes
PHSS_34880: ABORT
ABORT JAGaf54909: NEC_dvxa application fails
giving bus error (Invalid address alignment)
with +O0 +DD64.
ABORT JAGag05627: F90 compiler identifies the
overlay variable which is not naturally aligned
in a program and suggests to force natural
alignment with the +A compiler flag. When the
+A flag is used, it dumps core on the print
statement.
ABORT JAGaf86494: improve postremove script
on libcl patches.
PHSS_33901: ABORT
ABORT JAGaf80041: Applications built
with -Wl, -a,archive -z i result in
a run time core dump
ABORT JAGaf77560: f90 application
aborting when trying to write
shared common data to stdout
PHSS_33404: ABORT
PHSS_32226: ABORT MEMORY_LEAK
JAGaf14564: Unresolved symbol: U_STACK_TRACE
MEMORY_LEAK JAGaf25055: libIO77 fails with out
of memory issues when writing extremely large
arrays to disk.
ABORT JAGaf22568: FORTRAN 1 / 0 should return
sig 8 (FPE signal) instead of sig 6 (Abort
signal).
ABORT JAGaf33385: f90 +fp_exception should
cause sigbus to generate a traceback.
ABORT JAGae70751: Exception not caught in
multithreaded app. Customers experienced abort
PHSS_28303: ABORT
ABORT JAGae48866: 10.20 f90 app on 11.0 cannot
open large files. Program aborts with
*** FORTRAN I/O ERROR 908: COULD NOT OPEN
FILE SPECIFIED.
PHSS_27107: ABORT MEMORY_LEAK
MEMORY_LEAK JAGab14202: U_STACK_TRACE leaks
memory for each PATH element and for each
shlib.
ABORT JAGad90892: Not handling SIGXCPU signal.
PHSS_25719: ABORT
ABORT JAGad75314: writing to unit ID 26843546
causes crash.
PHSS_24382: MEMORY_LEAK
MEMORY_LEAK JAGaa93357: shared_common memory
not removed on EXIT.
PHSS_23788: ABORT MEMORY_LEAK
ABORT MEMORY_LEAK JAGad25172: Signal 11 on throw
in large 64 bit aC++ program.
ABORT JAGad51631: unformatted OPEN on text file
causes FORTRAN I/O ERROR 913: OUT OF FREE SPACE
Category Tags:
defect_repair enhancement general_release critical
halts_system memory_leak
Path Name: /hp-ux_patches/s700_800/11.X/PHSS_34880
Symptoms:
PHSS_34880:
JAGaf54909: NEC_dvxa application fails giving bus error
with +O0 +DD64.
JAGag30202: f90 main calling ANSI C function causes locale
warnings at runtime.
JAGag12999: Poor diagnostic reporting from error 956, while
doing write on a write protected file.
JAGag16331: HP Fortran 90 compiled program with "+cfc"
causes error.
JAGag13173: Fortran programs do not take the LANG variable.
JAGag05627: Data Alignment trap on misaligned data used in
Fortran lib. Fortran compiler dumps core with
+A flag.
JAGag32707: LD: overflow in file /lib/libcl.a
(unwind_dl_api.o).
JAGaf86494: improve postremove script on libcl patches.
Moving libcl.2 in the postremove script using
the 'mv' command may cause programs using it
to abort.
PHSS_33901:
JAGaf80041: Applications built with -Wl,-a,archive -z i
result in a run time core dump
JAGaf77560: f90 application aborting when trying to
write shared common data to stdout
PHSS_33404:
JAGaf65548: PHSS_32226 caused unsat symbols when linked
using +DA2.0W -Bimmediate
PHSS_32226:
JAGaf62887: In some cases linking against libcl.2 may
cause unsatisfied symbol __isam_close
JAGaf58182: Fortran programs compiled with +cfc will need
this patch to enable Tru-64 style FORTRAN I/O.
JAGaf26592: Support FORTRAN DEFAULTFILE argument to OPEN
JAGaf22568: FORTRAN 1 / 0 should return sig 8 (FPE signal)
instead of sig 6 (Abort signal)
JAGaf33385: f90 +fp_exception should cause sigbus to
generate a traceback.
JAGaf25055: Can't perform FORTRAN I/O on > 2GB unformatted
sequential records, due to 31 bit record size
in file format. libIO77 fails with out of
memory issues when writing extremely large
arrays to disk.
JAGaf47432: FORTRAN Formatted Output now allows DOS style
End-of-Lines (2 characters: Carriage Return
followed by New Line)
JAGaf23217: U_STACK_TRACE may find wrong executable if
using relative path.
JAGae70751: Exception not caught in multithreaded app.
Customers experienced abort.
JAGaf14564: Unresolved symbol: U_STACK_TRACE fixed.
PHSS_28303:
JAGae48866: Enable 10.20 built applications to access
files > 2GB when run on 11.11. Program aborts
with *** FORTRAN I/O ERROR 908: COULD NOT OPEN
FILE SPECIFIED.
JAGae45769: Abnormal output for 0.0 using P scaling edit
descriptor
PHSS_27470:
JAGae32868: cosd nonzero in some cases.
PHSS_27107:
JAGab14202: U_STACK_TRACE leaks 1360 bytes of memory
JAGad90892: Not handling SIGXCPU signal
JAGad89129: Implicit write cannot open unit # > 99
JAGad92163: Bad Octal representation of numbers > 4294967295
JAGae03743: PROBER in unwind lib causes stack to grow
JAGae05973: Wrong conversion of hex read of 0x80000000
PHSS_25719:
JAGad75314: writing to unit ID 26843546 causes crash.
JAGad54112: Intrinsic function NINT produces incorrect
results.
JAGab19761: Defect passing CDABS and ZABS as a parameter to
a function using shared libcl
JAGad93863: cosd(90) should be 0.0, not 0.6123233996D-16
PHSS_24382:
1. JAGad69726: Implement M Edit descriptor for -f77 compat.
2. JAGad70835: Implement N Edit descriptor for -f77 compat.
3. JAGaa93357: shared_common memory not removed on EXIT.
4. Fixed trap unwind regression.
PHSS_23788:
1. JAGad25172: Signal 11 on throw in large 64 bit aC++
program
2. JAGad51631: unformatted OPEN on text file causes
FORTRAN I/O ERROR 913: OUT OF FREE SPACE
3. 'f90$ga' symbol not found in shared version.
Defect Description:
PHSS_34880:
JAGaf54909: NEC_dvxa application fails giving bus error
(Invalid address alignment) with +O0 +DD64.
JAGag30202: A locale warning message is thrown when a C
function printing locale related info is
called by an F90 program.
JAGag12999: File permissions are not properly checked by
fortran runtime for auto (implicitly) opened
files. Better diagnostic message required for
bad file i/o in addition to throwing error
956.
JAGag16331: When a program compiled with '+cfc' option is
run, it causes 'internal consistency check
failure'. Without '+cfc' option, the compiled
program works fine.
JAGag13173: If the LANG variable is not exported, fortran
program takes blank space as it's value.
JAGag05627: F90 compiler identifies the overlay variable
which is not naturally aligned in a program and
suggests to force natural alignment with the +A
compiler flag. When the +A flag is used, it
dumps core on the print statement.
JAGag32707: LD: overflow in file /lib/libcl.a
(unwind_dl_api.o). The libcl.a incorrectly
contains an object file, unwind_dl_api.o built
with +z option.
JAGaf86494: improve postremove script on libcl patches.
Moving libcl.2 in the postremove script using
the 'mv' command may cause programs using it
to abort.
PHSS_33901:
JAGaf80041: Applications built with -Wl,-a,archive -z i
result in a run time core dump
JAGaf77560: f90 application aborts when trying to
write shared common data to stdout
PHSS_33404:
JAGaf65548: PHSS_32226 caused unsat symbols when linked
using +DA2.0W -Bimmediate
PHSS_32226:
JAGaf62887: the __isam_* symbols in libcl use symbol
versioning via the #pragma HP_SHLIB_VERSION
compiler directive. This is NOT needed on
HP-UX 11.X, and causes some link problems.
JAGaf58182: FORTRAN programs compiled with +cfc which are
run on systems without this patch may
experience Formatting differences. Some I/O
requests may not be honored in +cfc mode
without this patch.
JAGaf26592: arguments passed to Fortran OPEN startments'
DEFAULTFILE parameter are not honored.
JAGaf22568: FORTRAN I/0 is incorrectly throwing a sig 6
when users request the value of floating
point 1 / floating point 0 to be printed.
JAGaf33385: f90 +fp_exception does not generate a traceback
when the program receives a signal.
JAGaf25055: when FORTRAN unformatted sequential I/O is
attempted with a recordsize greater than zero,
the FORTRAN I/O library will generate an error
instead of performing the requested I/O.
This case was never discussed in the FORTRAN
STANDARD, and no convention was discussed
between FORTRAN vendors until recently.
JAGaf47432: When DOS style Text files are read in,
the FORTRAN I/O runtime aborts on the
End-of_line (2 characters: Carriage Return
followed by New Line) pattern.
JAGaf23217: If users invoke a program with a relative
path (starting with a '.') which calls
U_STACK_TRACE, the path displayed in the
backtrace generated by U_STACK_TRACE will
be incorrect.
JAGae70751: Multiple C++ parallel threads throw the same
exception at the same time, but process
dies with SIGABORT, even though there is
a catch clause around block.
C++ users may see this runtime error:
aCC runtime error: stack unwind failed
JAGaf14564: U_STACK_TRACE symbol missing from libcl
due to an oversight in the build process.
PHSS_28303:
JAGae48866: Enable 10.20 built applications to access
files > 2GB when run on 11.11
JAGae45769: Abnormal output for 0.0 using P scaling edit
descriptor
PHSS_27470:
JAGae32868: cosd in some cases returns non zero (but close)
when exactly zero is needed. This is an
extension of JAGad93863, and f90 flag +trigdacc
is needed to see these results.
PHSS_27107:
JAGab14202: U_STACK_TRACE leaks 1360 bytes of memory
JAGad90892: Not handling SIGXCPU signal
JAGad89129: Implicit write cannot open unit # > 99
JAGad92163: Bad Octal representation of numbers > 4294967295
JAGae03743: The stack is set up with some base address and
some maximum address. For the normal 32bit case
the max is the end of the data quadrant. The
size between the base and max is determined by
maxssiz, which is available through getrlimit(2)
(RLIMIT_STACK). All the addresses between the
base and the max are "valid". If we touch a
valid stack address beyond the current top of
the stack, we allocate physical and virtual
pages around that address. Virtual pages will
be allocated from the base address to the
highest touched address. It doesn't look like
physical pages are allocated for all those
addresses, though. You'll get a SIGSEGV if you
touch an address that isn't valid as defined
above.
JAGae05973: Wrong conversion of hex read of 0x80000000
PHSS_25719:
JAGad75314: Only works on large filesystems. Added a
clearer message to libIO77 when it fails at
exactly 2 GiG mark
JAGad54112: Increased precision of internal datatypes.
JAGab19761: Defect passing CDABS and ZABS as a parameter to
a function using shared libcl
JAGad93863: added new intrinsic routines for cosd(90)
sin(0), and tand(180). Default behavior is
old imprecise values. Use f90 flag
+trigdacc (trig degree accurate) to get new
alternate intrinsics. No other Source change
needed.
PHSS_24382:
1. JAGad04238: libc is real cause... implemented a temp fix.
2. JAGad69726: Implement M Edit descriptor for -f77 compat.
3. JAGad70835: Implement N Edit descriptor for -f77 compat.
4. JAGaa93357: cleaned up shared_common memory on EXIT.
5. Version of trap and unwind component regressed.
PHSS_23788:
1. JAGad25172: workaround bug in libcl by testing if offset
fits in 32 bits. Worked around in libCsup.
2. JAGad51631: re-enabled OPEN error check for unformatted
access to text file. New entry point f90$checkuf added
to support previous 11.X functionality. See +nocheckuf
option in F90 for more information.
3. 'f90$ga' added to symbol export list for shared libcl,
this symbol existed in archive version since PHSS_21950.
Enhancement:
No (superseded patches contained enhancements)
PHSS_32226:
JAGaf58182: This Patch enables the runtime components of
the Tru-64 style Fortran I/O for use with the Fortran
Compiler +cfc compilation switch.
PHSS_27470:
JAGae32868: Enhancement to cosd.
SR:
8606200550 8606201661 8606206139 8606184910 8606224775
8606219988 8606223059 8606234546 8606236924 8606219352
8606221758 8606284924 8606281826 8606365962 8606361888
8606372982 8606364416 8606387279 8606362547 8606307716
8606353770 8606155860 8606182414 8606135104 8606268630
8606398200 8606402952 8606405627 8606420211 8606417727
8606394895 8606475891 8606456603 8606460275 8606456794
8606448373 8606478408 8606427013
Patch Files:
OS-Core.CORE-SHLIBS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
/usr/lib/libcl.1
/usr/newconfig/usr/lib/libcl.2
/usr/lib/nls/msg/C/libcl.cat
/usr/lib/nls/msg/C/libclcfc.cat
OS-Core.CORE-64SLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
/usr/lib/pa20_64/libcl.2
ProgSupport.LANG-64ALIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/lib/pa20_64/libcl.a
ProgSupport.LANG-MIN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
/usr/lib/libcl.a
what(1) Output:
OS-Core.CORE-SHLIBS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
/usr/lib/libcl.1:
Trap Library version UX.10.20.15 - 99/12/13
Unwind Library version UX.10.20.16 - 02/09/02
libIO77 HP HPUX [ Release B.10.20.15 PA 32bit ]
(hp700:hp/ux) Jan 7 2003
Copyright (c) 2001 Hewlett Packard.
fs_amod.s $Revision: 1.9.1.1 $
libcl.a version B.10.29.18 - Jan 3, 2002
/usr/newconfig/usr/lib/libcl.2:
Trap Library version UX.11.01.06 - 02/04/16
Unwind Library version UX.11.01.05 - 00/08/15
libIO77 HP HPUX [ Release B.11.23.22 ]
(hp700:hp/ux) Apr 24 2007
Copyright (c) 2001 Hewlett Packard.
HP Port of Compaq Convert RTL V0.0.00
HP Fortran of Alpha RT V0.0.00
Intel Fortran RTL V1.1-929 1+ 1-Aug-2003
fs_amod.s $Revision: 1.9.1.1 $
libcl.sl version B.11.XX.21 - Apr 24 2007
/usr/lib/nls/msg/C/libcl.cat:
None
/usr/lib/nls/msg/C/libclcfc.cat:
None
OS-Core.CORE-64SLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
/usr/lib/pa20_64/libcl.2:
libIO77 HP HPUX [ Release B.11.23.22 ]
(hp700:hp/ux) Apr 24 2007
Copyright (c) 2001 Hewlett Packard.
HP Port of Compaq Convert RTL V0.0.00
HP Fortran of Alpha RT V0.0.00
Intel Fortran RTL V1.1-929 1+ 1-Aug-2003
libcl.sl version B.11.XX.21 - Apr 24 2007
Trap Library version UX.11.01.06 - 02/04/16
Unwind Library version UX.11.01.05 - 00/08/15
ProgSupport.LANG-64ALIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/lib/pa20_64/libcl.a:
libcl.a version B.11.XX.21 - Apr 24 2007
HP Port of Compaq Convert RTL V0.0.00
HP Fortran of Alpha RT V0.0.00
Intel Fortran RTL V1.1-929 1+ 1-Aug-2003
libIO77 HP HPUX [ Release B.11.23.22 ]
(hp700:hp/ux) Apr 24 2007
Copyright (c) 2001 Hewlett Packard.
Unwind Library version UX.11.01.05 - 00/08/15
Trap Library version UX.11.01.06 - 02/04/16
ProgSupport.LANG-MIN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
/usr/lib/libcl.a:
libcl.a version B.11.XX.21 - Apr 24 2007
fs_amod.s $Revision: 1.9.1.1 $
HP Port of Compaq Convert RTL V0.0.00
HP Fortran of Alpha RT V0.0.00
Intel Fortran RTL V1.1-929 1+ 1-Aug-2003
libIO77 HP HPUX [ Release B.11.23.22 ]
(hp700:hp/ux) Apr 24 2007
Copyright (c) 2001 Hewlett Packard.
Unwind Library version UX.11.01.05 - 00/08/15
Trap Library version UX.11.01.06 - 02/04/16
cksum(1) Output:
OS-Core.CORE-SHLIBS,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
2576109075 1431584 /usr/lib/libcl.1
1158011166 2211840 /usr/newconfig/usr/lib/libcl.2
3969350779 21684 /usr/lib/nls/msg/C/libcl.cat
3701124742 27710 /usr/lib/nls/msg/C/libclcfc.cat
OS-Core.CORE-64SLIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
3141725454 2105504 /usr/lib/pa20_64/libcl.2
ProgSupport.LANG-64ALIB,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
2573103140 3576548 /usr/lib/pa20_64/libcl.a
ProgSupport.LANG-MIN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
2579069661 2595952 /usr/lib/libcl.a
Patch Conflicts: None
Patch Dependencies:
s700: 11.11: PHSS_35381
s800: 11.11: PHSS_35381
Hardware Dependencies: None
Other Dependencies: None
Supersedes:
PHSS_23788 PHSS_24382 PHSS_25719 PHSS_27107 PHSS_27470 PHSS_28303
PHSS_32226 PHSS_33404 PHSS_33901
Equivalent Patches:
PHSS_36176:
s700: 11.23
s800: 11.23
PHSS_36177:
11.31
Patch Package Size: 4790 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_34880
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHSS_34880.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHSS_34880. 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_34880.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHSS_34880.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHSS_34880.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|