Issue 52439 - building mozilla with gcc4
Summary: building mozilla with gcc4
Status: CLOSED DUPLICATE of issue 54462
Alias: None
Product: porting
Classification: Code
Component: code (show other issues)
Version: current
Hardware: Sun Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: sparcmoz
QA Contact: issues@porting
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 12:48 UTC by sparcmoz
Modified: 2006-02-15 10:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description sparcmoz 2005-07-25 12:48:38 UTC
This is needed to build mozilla from sources 1.7.5 on linux sparc with gcc4/gcj4

Not tested with gcc3

There is plenty of discussion on google, just search for
"oiddata.h error: array type has incomplete element type"

--- misc/build/mozilla/security/nss/lib/pki1/oiddata.h
  #endif /* DEBUG */

+ #include "pki1t.h"

  #ifndef NSSPKI1T_H
  #include "nsspki1t.h"
  #endif /* NSSPKI1T_H */
Comment 1 Martin Hollmichel 2005-08-05 13:52:44 UTC
is this a Linux/Sparc issue only ?
Comment 2 sparcmoz 2005-08-05 14:53:13 UTC
I think it affects all platforms, see upstream bug report. But no-one has
confirmed any other platforms in OOo

https://bugzilla.mozilla.org/show_bug.cgi?id=284386
Comment 3 sparcmoz 2005-08-15 10:20:43 UTC
Dont use the patch here. There is a different solution in the mozilla patch
upstream at https://bugzilla.mozilla.org/show_bug.cgi?id=284386
Comment 4 sparcmoz 2005-09-24 23:41:39 UTC
build and run mozilla address book ok with the patch from issue 54462, this
probably affects all unx/gcc?

*** This issue has been marked as a duplicate of 54462 ***
Comment 5 sparcmoz 2006-02-15 10:35:31 UTC
duplicated - closed