Closed Bug 1014403 Opened 10 years ago Closed 10 years ago

[Flatfish][build] B2G for flatfish build failed

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S3 (6june)

People

(Reporter: johnhu, Assigned: _AtilA_)

References

Details

Attachments

(1 file)

We will get build failed while using the latest version of B2G. The error message:

libmozglue.so
Executing: /usr/bin/ccache ../../../prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-g++ -DANDROID -isystem ../../../bionic/libc/arch-arm/include -isystem ../../../bionic/libc/include -isystem ../../../bionic/libc/kernel/common -isystem ../../../bionic/libc/kernel/arch-arm -isystem ../../../bionic/libm/include -I/home/hchu/B2G/system -I/home/hchu/B2G/system/core/include -isystem ../../../bionic -I/home/hchu/B2G/hardware/libhardware/include -I/home/hchu/B2G/external/valgrind/fxos-include -I/home/hchu/B2G/frameworks/native/include -I/home/hchu/B2G/frameworks/av/include -I/home/hchu/B2G/frameworks/av/include/media -I/home/hchu/B2G/frameworks/av/include/camera -I/home/hchu/B2G/frameworks/native/include/media/openmax -I/home/hchu/B2G/frameworks/av/media/libstagefright/include -I/home/hchu/B2G/external/dbus -I/home/hchu/B2G/external/bluetooth/bluez/lib -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -mandroid -fno-short-enums -fno-exceptions -Wno-psabi -DMOZ_ENABLE_JS_DUMP -include ../../../gonk-misc/Unicode.h -I/home/hchu/B2G/gecko/build/stlport/stlport -I/home/hchu/B2G/ndk/sources/cxx-stl/system/include -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=softfp -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fno-reorder-functions -funwind-tables -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,libmozglue.so -o libmozglue.so /home/hchu/B2G/objdir-gecko/mozglue/build/tmpgZQikX.list -mandroid -L/home/hchu/B2G/out/target/product/flatfish/obj/lib -Wl,-rpath-link=/home/hchu/B2G/out/target/product/flatfish/obj/lib --sysroot=/home/hchu/B2G/out/target/product/flatfish/obj/ -mthumb -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -Wl,--icf=safe -Wl,-rpath-link,/home/hchu/B2G/objdir-gecko/dist/bin -Wl,-rpath-link,/usr/local/lib -Wl,--wrap=PR_GetEnv,--wrap=PR_SetEnv -Wl,--wrap=pthread_create,--wrap=epoll_wait,--wrap=poll,--wrap=pthread_cond_timedwait,--wrap=__pthread_cond_timedwait,--wrap=pthread_cond_wait,--wrap=epoll_create,--wrap=epoll_ctl,--wrap=close,--wrap=pthread_key_create,--wrap=pthread_key_delete,--wrap=socketpair,--wrap=pthread_self,--wrap=pthread_mutex_lock,--wrap=pthread_join,--wrap=pipe,--wrap=pipe2,--wrap=tgkill -llog ../../build/stlport/libstlport_static.a
/home/hchu/B2G/objdir-gecko/mozglue/build/tmpgZQikX.list:
    INPUT("cpuacct.o")
    INPUT("BionicGlue.o")
    INPUT("Nuwa.o")
    INPUT("arm.o")
    INPUT("../../memory/build/jemalloc_config.o")
    INPUT("../../memory/build/mozmemory_wrap.o")
    INPUT("../../memory/mozjemalloc/jemalloc.o")
    INPUT("../../mfbt/Compression.o")
    INPUT("../../mfbt/Decimal.o")
    INPUT("../../mfbt/FloatingPoint.o")
    INPUT("../../mfbt/HashFunctions.o")
    INPUT("../../mfbt/Poison.o")
    INPUT("../../mfbt/SHA1.o")
    INPUT("../../mfbt/bignum-dtoa.o")
    INPUT("../../mfbt/bignum.o")
    INPUT("../../mfbt/cached-powers.o")
    INPUT("../../mfbt/diy-fp.o")
    INPUT("../../mfbt/double-conversion.o")
    INPUT("../../mfbt/fast-dtoa.o")
    INPUT("../../mfbt/fixed-dtoa.o")
    INPUT("../../mfbt/strtod.o")

/home/hchu/B2G/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/hchu/B2G/objdir-gecko/mozglue/build/Nuwa.o: requires unsupported dynamic reloc R_ARM_REL32; recompile with -fPIC
/home/hchu/B2G/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/hchu/B2G/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: hidden symbol '__dso_handle' is not defined locally
/home/hchu/B2G/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: hidden symbol '__dso_handle' is not defined locally
/home/hchu/B2G/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: hidden symbol '__dso_handle' is not defined locally
/home/hchu/B2G/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: hidden symbol '__dso_handle' is not defined locally
/home/hchu/B2G/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: hidden symbol '__dso_handle' is not defined locally
/home/hchu/B2G/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: hidden symbol '__dso_handle' is not defined locally
/home/hchu/B2G/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: hidden symbol '__dso_handle' is not defined locally
collect2: ld returned 1 exit status
make[6]: *** [libmozglue.so] Error 1
make[5]: *** [mozglue/build/libs] Error 2
make[4]: *** [libs] Error 2
make[3]: *** [default] Error 2
make[2]: *** [realbuild] Error 2
make[1]: *** [build] Error 2
make: *** [out/target/product/flatfish/obj/DATA/gecko_intermediates/gecko] Error 2

real	0m52.022s
user	0m34.502s
sys	0m5.056s

> Build failed! <
Summary: [Flatfirsh][build] B2G for flatfish build failed → [Flatfish][build] B2G for flatfish build failed
Latest commit log of gecko:
commit 564e4e16f7a42e5a91d34fb06220b8002b80d342
Merge: df451a0 19ed947
Author: Wes Kocher <wkocher@mozilla.com>
Date:   Wed May 21 20:29:05 2014 -0700

    Merge fx-team to m-c


Latest commit log of gaia:
commit 65621f5fa4099c98f53450a4899b326ecb7c8de7
Merge: a436da1 6420e9a
Author: Kevin Grandon <kevingrandon@yahoo.com>
Date:   Thu May 22 09:05:28 2014 +0300

    Merge pull request #19390 from crdlc/bug-1012692
    
    Bug 1012692 - (vertical-homescreen) Add option to change the wallpaper
Latest commit log of B2G
commit 7f3e85bd996830ffb0b00ecab80ebf9b9ec2d2ae
Merge: 6b93981 d163526
Author: lissyx <lissyx+github@lissyx.dyndns.org>
Date:   Mon May 19 13:19:39 2014 +0200

    Merge pull request #349 from lissyx/bug1009753
    
    Bug 1009753 - Check for TARGET_DEVICE or TARGET_BOARD_PLATFORM r=gsvelto
The problem was introduced after bug 1001320.
I have successfully compiled with the previous revision (bc2d91e25115d8b49b9ad01c4162a8b38baaead2)

I'll try to fix the issue.
We found two gecko revision that can have successfully build, which are:
754c5c0a71f616120bcb02ad1beb1f27852cbd6f, and
59260534a18ba88cb09816e7195897a3b84a0b16

May be helpful to fix the issue.
Assignee: nobody → atilag
Attachment #8428731 - Flags: review?(roc)
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/2c877bff1e5c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: