Closed
Bug 1194572
Opened 10 years ago
Closed 10 years ago
mozilla-cental build failing due to cpp errors
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1194360
People
(Reporter: ally, Unassigned)
Details
Attachments
(1 file)
37.90 KB,
text/plain
|
Details |
Today I can build fx-team but not mozilla-central, due to cpp errors. On osx.
1:49.62 In file included from /Users/mozilla/moz/hg/fennec/obj-droid/layout/generic/Unified_cpp_layout_generic2.cpp:101:0:
1:49.63 /Users/mozilla/moz/hg/fennec/layout/generic/nsRubyFrame.cpp: In member function 'void nsRubyFrame::ReflowSegment(nsPresContext*, const nsHTMLReflowState&, nsRubyBaseContainerFrame*, nsReflowStatus&)':
1:49.63 Warning: -Wmaybe-uninitialized in /Users/mozilla/moz/hg/fennec/layout/generic/nsRubyFrame.cpp: '*((void*)& side +8)' may be used uninitialized in this function
1:49.63 /Users/mozilla/moz/hg/fennec/layout/generic/nsRubyFrame.cpp:311:7: warning: '*((void*)& side +8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
Is there some upgrade to the compiler that is required, or is m-c actually broken for fennec builds?
mozconfig is
1 mk_add_options MOZ_OBJDIR=./obj-droid
2 mk_add_options AUTOCLOBBER=1
3
4 # build x86 (disable above target)
5 #ac_add_options --target=i386-linux-android
6
7 # Build Firefox for Android:
8 ac_add_options --enable-application=mobile/android
9 ac_add_options --target=arm-linux-androideabi
10
11 # With the following Android SDK and NDK:
12 ac_add_options --with-android-sdk="/usr/local/opt/android-sdk/platforms/android-22"
13 ac_add_options --with-android-ndk="/usr/local/opt/android-ndk"
14
15 # doesnt work on windows, but does on osx!
16 ac_add_options --with-ccache
17
18 # for cpp debugging
19 ac_add_options --enable-debug-symbols
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(nalexander)
Comment 1•10 years ago
|
||
The build uses multiple processes; very likely the error is much, much earlier in your log. Could you scroll up and look for a real error, or post the whole build output as an attachment?
Flags: needinfo?(ally)
Reporter | ||
Comment 2•10 years ago
|
||
/../dist/include/GeneratedJNIWrappers.h:27:18: error: 'mozilla::jni::Class<mozilla::widget::ANRReporter>::Class' names constructor
365 1:28.46 ../../dist/include/GeneratedJNIWrappers.h:91:18: error: 'mozilla::jni::Class<mozilla::widget::DownloadsIntegration>::Class' names constructor
366 1:28.46 ../../dist/include/GeneratedJNIWrappers.h:126:18: error: 'mozilla::jni::Class<mozilla::widget::GeckoAppShell>::Class' names constructor
367 1:28.46 In file included from /Users/mozilla/moz/hg/fennec/netwerk/base/Tickler.cpp:17:0,
is the first reported error. Still in the cpp
And yes, there are no patches applied.
Flags: needinfo?(ally)
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Component: Build Config & IDE Support → General
Flags: needinfo?(nalexander)
Resolution: --- → DUPLICATE
Assignee | ||
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•