Closed
Bug 1121900
Opened 10 years ago
Closed 10 years ago
[flatfish] build break by "error: undefined reference to 'mozilla::dom::MozIsoDepTech::mTechnology'"
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(firefox39 fixed)
RESOLVED
FIXED
2.2 S7 (6mar)
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: dliang, Assigned: dimi)
References
Details
Attachments
(2 files, 1 obsolete file)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
allstars.chh
:
review+
|
Details | Diff | Splinter Review |
The error message as following:
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: warning: hidden symbol '__dso_handle' in /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../media/kiss_fft/kiss_fft.o is referenced by DSO ../../security/sandbox/linux/libmozsandbox.so
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: warning: hidden symbol '__dso_handle' in /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../media/kiss_fft/kiss_fft.o is referenced by DSO ../../config/external/nss/libnss3.so
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: warning: hidden symbol 'vorbis_info_init' in /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../media/libtremor/lib/tremor_info.o is referenced by DSO /home/dannyliang/work/codes/b2g_flatfish_github/out/target/product/flatfish/obj/lib/libstagefright.so
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: warning: hidden symbol 'vorbis_comment_init' in /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../media/libtremor/lib/tremor_info.o is referenced by DSO /home/dannyliang/work/codes/b2g_flatfish_github/out/target/product/flatfish/obj/lib/libstagefright.so
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: warning: hidden symbol 'oggpack_readinit' in /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../media/libogg/Unified_c_media_libogg0.o is referenced by DSO /home/dannyliang/work/codes/b2g_flatfish_github/out/target/product/flatfish/obj/lib/libstagefright.so
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: warning: hidden symbol 'oggpack_read' in /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../media/libogg/Unified_c_media_libogg0.o is referenced by DSO /home/dannyliang/work/codes/b2g_flatfish_github/out/target/product/flatfish/obj/lib/libstagefright.so
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: warning: hidden symbol 'vorbis_comment_clear' in /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../media/libtremor/lib/tremor_info.o is referenced by DSO /home/dannyliang/work/codes/b2g_flatfish_github/out/target/product/flatfish/obj/lib/libstagefright.so
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: warning: hidden symbol 'vorbis_info_clear' in /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../media/libtremor/lib/tremor_info.o is referenced by DSO /home/dannyliang/work/codes/b2g_flatfish_github/out/target/product/flatfish/obj/lib/libstagefright.so
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: error: /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../dom/nfc/Unified_cpp_dom_nfc0.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: error: /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../dom/nfc/Unified_cpp_dom_nfc0.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: error: read-only segment has dynamic relocations
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../dom/nfc/Unified_cpp_dom_nfc0.o: in function mozilla::dom::MozIsoDepTech::Transceive(mozilla::dom::TypedArray<unsigned char, &(js::UnwrapUint8Array(JSObject*)), &(JS_GetUint8ArrayData(JSObject*, JS::AutoCheckCannotGC const&)), &(js::GetUint8ArrayLengthAndData(JSObject*, unsigned int*, unsigned char**)), &(JS_NewUint8Array(JSContext*, unsigned int))> const&, mozilla::ErrorResult&):../../../gecko/dom/nfc/MozIsoDepTech.cpp:92: error: undefined reference to 'mozilla::dom::MozIsoDepTech::mTechnology'
/home/dannyliang/work/codes/b2g_flatfish_github/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /home/dannyliang/work/codes/b2g_flatfish_github/objdir-gecko/toolkit/library/../../dom/nfc/Unified_cpp_dom_nfc0.o: in function mozilla::dom::MozIsoDepTech::Constructor(mozilla::dom::GlobalObject const&, mozilla::dom::MozNFCTag&, mozilla::ErrorResult&):../../dist/include/nsRefPtr.h:92: error: undefined reference to 'mozilla::dom::MozIsoDepTech::mTechnology'
collect2: ld returned 1 exit status
make[6]: *** [libxul.so] Error 1
make[5]: *** [toolkit/library/target] Error 2
make[4]: *** [compile] Error 2
make[3]: *** [default] Error 2
make[2]: *** [realbuild] Error 2
make[1]: *** [build] Error 2
Reporter | ||
Comment 1•10 years ago
|
||
Hi Dimi,
The build break might be caused by your commit for bug 916428, would you mind check this build break on flatfish? Thanks,
Flags: needinfo?(dlee)
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Updated•10 years ago
|
Assignee | ||
Comment 2•10 years ago
|
||
Hi Danny,
Could you try delete objdir-gecko and rebuild again ?
I have faced the same issue but it works after clean objdir-gecko
Reporter | ||
Comment 3•10 years ago
|
||
(In reply to Dimi Lee[:dimi][:dlee] from comment #2)
> Hi Danny,
> Could you try delete objdir-gecko and rebuild again ?
> I have faced the same issue but it works after clean objdir-gecko
It doesn't work, still build break. Please note flatfish is tablet without enable MOZ_B2G_RIL and it's ICS version with gcc 4.6.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → dlee
Flags: needinfo?(dlee)
Assignee | ||
Comment 4•10 years ago
|
||
Hi Danny,
Could you help check if attached patch works ?
Flags: needinfo?(dliang)
Reporter | ||
Comment 5•10 years ago
|
||
(In reply to Dimi Lee[:dimi][:dlee] from comment #4)
> Created attachment 8550243 [details] [diff] [review]
> WIP.patch
>
> Hi Danny,
> Could you help check if attached patch works ?
The patch works, thanks.
Flags: needinfo?(dliang)
Assignee | ||
Comment 6•10 years ago
|
||
remove assignee until we decide to use this solution instead of changing gcc
Assignee: dlee → nobody
Comment 7•10 years ago
|
||
This breaks generic flame-kk builds also when using gcc 4.8.x. We should really consider fixing this as the patch is straightforward and also fixes the issue under these circumstances.
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8550243 -
Attachment is obsolete: true
Attachment #8572393 -
Flags: review?(allstars.chh)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → dlee
Attachment #8572393 -
Flags: review?(allstars.chh) → review+
Blocks: b2g-nfc
Assignee | ||
Comment 9•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S7 (6mar)
You need to log in
before you can comment on or make changes to this bug.
Description
•