Closed
Bug 314018
Opened 19 years ago
Closed 19 years ago
Error in configure(.in): Sun CXX (CC) compiler defiens __SUNPRO_CC and not __SUNPRO_C
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: foundit, Unassigned)
References
Details
(Keywords: fixed1.8.0.1, fixed1.8.1)
Attachments
(1 file)
976 bytes,
patch
|
benjamin
:
review+
dveditz
:
approval1.8.0.1+
dveditz
:
approval1.8.1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9a1) Gecko/20051026 SeaMonkey/1.1a Build Identifier: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9a1) Gecko/20051026 SeaMonkey/1.1a Sun Studio Compiler (CC) version check is wrong (configure.in, lines 2025-2031): CXX_VERSION=`$CXX -V 2>&1 | grep '^CC:' 2>/dev/null | $AWK -F\: '{ print $2 }'` AC_MSG_CHECKING([for Forte compiler version >= WS6U2]) AC_TRY_COMPILE([], [#if (__SUNPRO_C < 0x530) #error "Denied" #endif], _BAD_COMPILER=,_BAD_COMPILER=1) cc(aka CC) defines __SUNPRO_C and CC(aka CXX) defines __SUNPRO_CC Reproducible: Always
Comment 1•19 years ago
|
||
Do you actually get an error there? See bug 177486 comment 15 which claims that both work.
Component: General → Build Config
Updated•19 years ago
|
Assignee: general → nobody
QA Contact: general → build-config
Reporter | ||
Comment 2•19 years ago
|
||
(In reply to comment #1) > Do you actually get an error there? > > See bug 177486 comment 15 which claims that both work. > (In reply to comment #1) > Do you actually get an error there? Yes: checking for Forte compiler version >= WS6U2... configure: error: Forte version WS6U2 or higher is required to build. Your compiler version is Sun C 5.7 Patch 117837-06 2005/10/05 . *** Fix above errors and then restart with "gmake -f client.mk build" And changing __SUNPRO_C to __SUNPRO_CC works!
Reporter | ||
Comment 3•19 years ago
|
||
(In reply to comment #2) > WS6U2 or higher is required to build. Your compiler version is Sun C 5.7 Patch > 117837-06 2005/10/05 . ... but this is $CC contrary to (config.log) configure:6641: checking for Forte compiler version >= WS6U2 configure:6652: CC -c -xlibmil -xlibmopt -features=tmplife -norunpath -xbuiltin=%all -features=tmplife -norunpath -I/usr/openwin/include conftest.C 1>&5 "configure", line 6647: Error: #error "Denied". where $CXX is used ...
Reporter | ||
Updated•19 years ago
|
Hardware: Other → Sun
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Mozilla Application Suite → Core
Version: unspecified → 1.0 Branch
This check worked originally. I believe one of the earlier compiler checks changed the compiler used in the test to C++. We can just set the expected language explicitly to C++ and check the __SUNPRO_CC version since the parts of the tree affected by the test are in C++.
Attachment #201285 -
Flags: review?(benjamin)
Updated•19 years ago
|
Attachment #201285 -
Flags: review?(benjamin) → review+
Checking in configure.in; /cvsroot/mozilla/configure.in,v <-- configure.in new revision: 1.1537; previous revision: 1.1536 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha
Version: 1.0 Branch → Trunk
Comment on attachment 201285 [details] [diff] [review] v1 This bug happened on branch too. It is caused by the latest checkin of configure on branch. I have filed a bug 322549.
Attachment #201285 -
Flags: approval1.8.1?
Attachment #201285 -
Flags: approval1.8.0.1?
*** Bug 322549 has been marked as a duplicate of this bug. ***
Comment 8•19 years ago
|
||
Comment on attachment 201285 [details] [diff] [review] v1 a=dveditz
Attachment #201285 -
Flags: approval1.8.1?
Attachment #201285 -
Flags: approval1.8.1+
Attachment #201285 -
Flags: approval1.8.0.1?
Attachment #201285 -
Flags: approval1.8.0.1+
Updated•19 years ago
|
Flags: blocking1.8.1?
Flags: blocking1.8.1+
Flags: blocking1.8.0.1?
Flags: blocking1.8.0.1+
Checking in configure.in; /cvsroot/mozilla/configure.in,v <-- configure.in new revision: 1.1503.2.18; previous revision: 1.1503.2.17 done Checking in configure.in; /cvsroot/mozilla/configure.in,v <-- configure.in new revision: 1.1503.2.15.2.3; previous revision: 1.1503.2.15.2.2 done
Keywords: fixed1.8.0.1,
fixed1.8.1
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•