*Synopsis*: Sparc: aten build14.0 acomp failed to build new OpenSolaris snv_128
sources
CR 6909375 changed on Mar 29 2010 by <User 1-5Q-4729>
=== Field ============ === New Value ============= === Old Value =============
Work Around New Note
====================== =========================== ===========================
*Change Request ID*: 6909375
*Synopsis*: Sparc: aten build14.0 acomp failed to build new OpenSolaris snv_128
sources
Product: solaris
Category: shell
Subcategory: korn93
Type: Defect
Subtype:
Status: 11-Closed
Substatus: Duplicate
Priority: 2-High
Introduced In Release:
Introduced In Build:
Responsible Engineer: <User 1-5Q-4611>
Keywords: s11-cbe-aten, s11-cbe-ceres
=== *Description* ============================================================
This failure does not look like a regression versus previous uiweekly
build. Most likely Solaris people introduced in snv_128 some new
code and acomp does not like it.
Error message from compilation of:
usr/src/lib/libast/common/comp/setlocale.c
is:
"../common/comp/setlocale.c", line 767: initializer will be sign-extended:
-2147483648 (E_INIT_SIGN_EXTEND)
It seems points to the bug in OpenSolaris itself.
The only issue here is that Mars-patch compiler which we shipped
to Solaris does not report this bug.
The whole *.log file of that build is currently
located under
/net/venus-2500/export/home/sprs/bld_onnv_128_aten_bwk_build14.0/log/log.2009-12-10.00:31/nightly.log
but will be deleted in a ~ 2weeks from now.
How to reproduce
=================
>From your Sparc machine do the following:
cd /net/clpt41/export/home/isvs/acomp_bug_in_os_aten_14
do_wrk.sh
*** (#1 of 1): 2009-12-10 20:14:48 GMT+00:00 <User 1-5Q-13874>
=== *Public Comments* ========================================================
=== *Workaround* =============================================================
>From 6936888
The error:
"../common/comp/setlocale.c", line 767: initializer will be sign-extended:
-2147483648 (E_INIT_SIGN_EXTEND)
can be eliminated with the following change made to common/include/ast_std.h, :
< #define AST_LC_translate (1L<<31)
---
> #define AST_LC_translate (1UL<<31)
*** (#1 of 2): 2010-03-29 21:50:48 GMT+00:00 <User 1-5Q-4729>
A better work-around is to apply all of these changes in
common/include/ast/ast_std.h from
#define AST_LC_find (1L<<28)
#define AST_LC_debug (1L<<29)
#define AST_LC_setlocale (1L<<30)
#define AST_LC_translate (1L<<31)
to
#define AST_LC_find (1UL<<28)
#define AST_LC_debug (1UL<<29)
#define AST_LC_setlocale (1UL<<30)
#define AST_LC_translate (1UL<<31)
*** (#2 of 2): 2010-03-29 21:59:08 GMT+00:00 <User 1-5Q-4729>
=== *Additional Details* =====================================================
Targeted Release:
Commit To Fix In Build:
Fixed In Build:
Integrated In Build:
Verified In Build:
See Also:
Duplicate of: 6936888
Hooks:
Hook1:
Hook2:
Hook3:
Hook4:
Hook5:
Hook6:
Program Management:
Root Cause:
Fix Affects Documentation: No
Fix Affects Localization: No
=== *History* ================================================================
Date Submitted: 2009-12-10 20:14:47 GMT+00:00
Submitted By: <User 1-5Q-13874>
Status Changed Date Updated Updated By
11-Closed 2010-03-22 12:22:21 GMT+00:00 <User 1-5Q-4611>
=== *Service Request* ========================================================
Impact: Significant
Functionality: Primary
Severity: 2
Product Name: compilers-tools
Product Release: aten
Product Build:
Operating System: 5.11
Hardware: ultrasparc
Submitted Date: 2009-12-10 20:14:48 GMT+00:00
=== *Multiple Release (MR) Cluster* - 0 ======================================