Closed
Bug 115340
Opened 23 years ago
Closed 22 years ago
Sun Workshop/Forte -Dfoo=\"foo\" bug needs workaround
Categories
(SeaMonkey :: Build Config, defect, P4)
Tracking
(Not tracked)
VERIFIED
INVALID
mozilla1.1alpha
People
(Reporter: bstell, Assigned: netscape)
References
Details
Attachments
(2 files)
Solaris is failing to build with this error:
"/builds/bstell/1mojo/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp",
line 4636: Warning: Too many characters in character constant '\".so\"'.
"/builds/bstell/1mojo/mozilla/modules/plugin/base/src/nsPluginHostImpl.cpp",
line 4636: Error: Badly formed expression.
1 Error(s) and 2 Warning(s) detected.
If I add this hack to nsPluginHostImpl.cpp it will build:
163 #undef MOZ_DLL_SUFFIX
164 #define MOZ_DLL_SUFFIX ".so"
Reporter | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla0.9.7
Comment 1•23 years ago
|
||
bstell:
Which configure-flags do you use ?
Assignee | ||
Comment 2•23 years ago
|
||
This is a known problem but I can't seem to find another bug report on it. The
Forte compiler creates a SunWS_cache dir and gets confused when certain files
use defines on the commandline with quotes in them, ie -DMOZ_DLL_SUFFIX=\".so\"
. We've hit this on the tinderbox quite a bit so I added a hack to just remove
that cache dir at the beginning of the tinderbox cycle.
Comment 3•23 years ago
|
||
Greg, wanna take a look at comment #2, please ?
You need to delete the .WS_cache directory (or whatever it's called). Depend
builds are not reliable with the Sun WS compiler since its cache files are buggy.
Comment 5•23 years ago
|
||
->buildconfig
Assignee: asa → seawood
Component: Browser-General → Build Config
QA Contact: doronr → granrose
Assignee | ||
Comment 6•23 years ago
|
||
Hrm. We could patch this case with a solaris && !GNU_CC define but there's no
guarantee that the problem wouldn't crop up at any of the other 20+ places that
MOZ_DLL_SUFFIX is used or any other define that uses "s on the cmdline. The
other option would be to switch to using a mozconfig.h include file instead of
putting the defines on the cmdline for non-gcc compilers. This would be the
same as the proposed solution for bug 80812.
It's clearly a compiler bug so I should mark it invalid. I'm going to push it
out instead.
Summary: solaris fails to build → Forte -Dfoo=\"foo\" bug needs workaround
Target Milestone: mozilla0.9.7 → mozilla1.1
Assignee | ||
Updated•23 years ago
|
Priority: -- → P4
Reporter | ||
Comment 7•23 years ago
|
||
To the best of my knowledge I have not changed my solaris build settings.
When I get into the office I will report more info.
Comment 8•23 years ago
|
||
cls:
Could to try to apply the follwing compiler patches:
-- snip --
Patch-ID# 111678-05 Synopsis: Compiler Common 6.2: Patch Forte Developer 6
update 2, C++ F77 F95
Patch-ID# 111679-03 Synopsis: C 5.3: Patch for Forte Developer 6 update 2 C
compiler
Patch-ID# 111683-03 Synopsis: Forte Developer 6 update 2: Patch for Debugger
Patch-ID# 111685-03 Synopsis: C++ 5.3: Patch for Forte Developer 6 update 2 C++
compiler
Patch-ID# 111690-03 Synopsis: F90 6.2: Patch for Forte Developer 6 update 2
Fortran 95 6.2 compiler
Patch-ID# 111691-02 Synopsis: F77 5.3: Patch for Forte Developer 6 update 2
FORTRAN 77 5.3 compiler
Patch-ID# 111692-01 Synopsis: TeamWare 6.02: Patch for Forte TeamWare 6.02
-- snip --
Reporter | ||
Comment 9•23 years ago
|
||
I always build under a bash shell; for reference here is my $HOME/.bashrc file
Reporter | ||
Comment 10•23 years ago
|
||
I always source this file before building on solaris
Assignee | ||
Comment 11•23 years ago
|
||
*** Bug 146467 has been marked as a duplicate of this bug. ***
Comment 12•23 years ago
|
||
Margaret Chan:
Is there a SunSolve bug id for this issue ?
Summary: Forte -Dfoo=\"foo\" bug needs workaround → Sun Workshop/Forte -Dfoo=\"foo\" bug needs workaround
Assignee | ||
Comment 13•22 years ago
|
||
Nebiros has been doing a depend build for over a month without a problem and
without the tinderbox hack. I think the last set of patches for WS6U2 fixed the
problem (or it could just be that we stopped using MOZ_DLL_SUFFIX).
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Updated•20 years ago
|
Product: Browser → Seamonkey
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•