Closed Bug 1179578 Opened 10 years ago Closed 8 years ago

Failed building FxOS with B2G_NOOPT=1

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ting, Unassigned)

Details

The error varies for different configs: flame: In file included from Unified_cpp_dns_mdns_libmdns0.cpp:2:0: /home/ting/w/fx/os/flame/gecko/netwerk/dns/mdns/libmdns/MDNSResponderOperator.cpp: In member function 'nsresult mozilla::net::MDNSResponderOperator::ResetService(DNSServiceRef)': /home/ting/w/fx/os/flame/gecko/netwerk/dns/mdns/libmdns/MDNSResponderOperator.cpp:291:16: error: 'rv' may be used uninitialized in this function [-Werror=uninitialized] cc1plus: all warnings being treated as errors nexus-5-l: In file included from Unified_cpp_gfx_skia20.cpp:11:0: /home/ting/w/fx/os/nexus5/gecko/gfx/skia/trunk/src/opts/SkBitmapProcState_opts_arm.cpp: In function 'void SI8_D16_nofilter_DX_arm(const SkBitmapProcState&, const uint32_t*, int, uint16_t*)': /home/ting/w/fx/os/nexus5/gecko/gfx/skia/trunk/src/opts/SkBitmapProcState_opts_arm.cpp:109:1: error: r7 cannot be used in asm here Even after fixing the issues above, still it's failed with linking errors such as: /home/ting/w/fx/os/flame/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: /home/ting/w/fx/os/flame/objdir-gecko/toolkit/library/../../dom/bluetooth/BluetoothGattManager.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC /home/ting/w/fx/os/flame/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: read-only segment has dynamic relocations /home/ting/w/fx/os/flame/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/../lib/gcc/arm-linux-androideabi/4.7/../../../../arm-linux-androideabi/bin/ld: error: hidden symbol 'sqrt' is not defined locally Gecko: https://hg.mozilla.org/mozilla-central/rev/079b6f1ae1c3
Are there any ideas on this? I'm having the same problem and it's blocking my progress.
Blocks: 1178326
No longer blocks: 1178326
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.