Closed
Bug 526457
Opened 15 years ago
Closed 15 years ago
AIX Compilation error for 3.7a1pre source xpcom/io/nsLocalFileUnix.h", line 97.13: 1540-0848 (S) The macro name "STAT" is already defined with a different definition
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a4
People
(Reporter: shailen.n.jain, Assigned: shailen.n.jain)
Details
(Keywords: verified1.9.1, verified1.9.2)
Attachments
(2 files)
663 bytes,
patch
|
benjamin
:
review+
brendan
:
superreview+
|
Details | Diff | Splinter Review |
603 bytes,
patch
|
beltzner
:
approval1.9.2.4+
beltzner
:
approval1.9.1.10+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4
While compiling Mozilla Firefox source for 3.7a1pre, getting
the below error.
"/home/firefox/mozilla-central/xpcom/io/nsLocalFileUnix.h", line 97.13: 1540-0848 (S) The macro name "STAT" is already defined with a different definition.
"/usr/include/sys/dir.h", line 288.9: 1540-0425 (I) "STAT" is defined on line 288 of "/usr/include/sys/dir.h".
gmake[1]: *** [nsLocalFileUnix.o] Error 1
Reproducible: Always
Steps to Reproduce:
1. Build Mozilla Firefox 3.7a1pre build on AIX with Gnome RPMS of 64 bit
version.
2.
3.
Actual Results:
Build fails with the above error.
Expected Results:
No build failure
The resolves the compilation error
Attachment #410208 -
Flags: review?(benjamin)
Updated•15 years ago
|
Attachment #410208 -
Flags: review?(benjamin) → review+
Attachment #410208 -
Flags: superreview?(benjamin)
Updated•15 years ago
|
Attachment #410208 -
Flags: superreview?(benjamin)
Attachment #410208 -
Flags: superreview?(shaver)
Attachment #410208 -
Flags: superreview?(shaver)
Keywords: checkin-needed
Updated•15 years ago
|
Assignee: nobody → shailen.n.jain
Attachment #410208 -
Flags: superreview?(brendan)
Comment 4•15 years ago
|
||
Comment on attachment 410208 [details] [diff] [review]
Patch V 1
rs=me (rubber-stamp; no need for sr on this kind of AIX-only change in the future).
/be
Attachment #410208 -
Flags: superreview?(brendan) → superreview+
Keywords: checkin-needed
The patch doesn't apply for me.
Updated•15 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Robert :
Can you please let me know what errors you are getting while applying the patch ?
May be I will look at the errors and provide an alternate patch ?
If you pull mozilla-central and apply the patch, you'll get the same errors I got.
Updated•15 years ago
|
Component: General → XPCOM
Product: Firefox → Core
QA Contact: general → xpcom
Version: unspecified → Trunk
Updated•15 years ago
|
Attachment #410208 -
Attachment is obsolete: true
Updated•15 years ago
|
Keywords: checkin-needed
Comment 8•15 years ago
|
||
Updated•15 years ago
|
Attachment #410208 -
Attachment is obsolete: false
Updated•15 years ago
|
Keywords: checkin-needed
Comment 10•15 years ago
|
||
[Shailen's patch used DOS line endings, which is why nobody could get it to apply, although git-apply --whitespace=fix would have worked.]
Comment 11•15 years ago
|
||
Comment on attachment 432355 [details] [diff] [review]
recreated Shailen's patch
For me trunk patch applied cleanly to both 1.9.2 and 1.9.1 branches too.
The fix is needed for compilation of both 32- and 64bit on AIX.
Risc: none, only codepath for #if defined AIX is changed.
Attachment #432355 -
Flags: approval1.9.2.3?
Attachment #432355 -
Flags: approval1.9.1.10?
Comment 12•15 years ago
|
||
Comment on attachment 432355 [details] [diff] [review]
recreated Shailen's patch
a=beltzner for 1.9.2.3 and 1.9.1.10
Attachment #432355 -
Flags: approval1.9.2.3?
Attachment #432355 -
Flags: approval1.9.2.3+
Attachment #432355 -
Flags: approval1.9.1.10?
Attachment #432355 -
Flags: approval1.9.1.10+
Updated•15 years ago
|
Keywords: checkin-needed
Comment 13•15 years ago
|
||
status1.9.2:
--- → .4-fixed
Target Milestone: --- → mozilla1.9.3a4
Comment 14•15 years ago
|
||
status1.9.1:
--- → .10-fixed
Keywords: checkin-needed
Updated•15 years ago
|
Keywords: verified1.9.1
Updated•15 years ago
|
Keywords: verified1.9.2
You need to log in
before you can comment on or make changes to this bug.
Description
•