If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Status

Fennec Graveyard
General
UNCONFIRMED
5 years ago
5 years ago

People

(Reporter: Atanas, Unassigned)

Tracking

Details

(Reporter)

Description

5 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130218165301

Steps to reproduce:

Tried to compile fennec


Actual results:

an error occured, saying that elfhack is broken and telling me to:
"file a bug describing the error and your environment (compiler and linker versions)"
Here is the log

===
=== If you get failures below, please file a bug describing the error
=== and your environment (compiler and linker versions), and use
=== --disable-elf-hack until this is fixed.
===
# Fail if the library doesn't have INIT_ARRAY .dynamic info
readelf -d test-array.so | grep '(INIT_ARRAY)'
 0x00000019 (INIT_ARRAY)                 0xd000
/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi/build/unix/elfhack/elfhack -b -f test-array.so
test-array.so: Reduced by -148 bytes
# Fail if the backup file doesn't exist
[ -f "test-array.so.bak" ]
# Fail if the new library doesn't contain less relocations
[ $(objdump -R test-array.so.bak | wc -l) -gt $(objdump -R test-array.so | wc -l) ]
c++  -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -march=armv7-a -mthumb -mthumb-interwork -mfpu=neon -mfloat-abi=softfp -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -std=gnu++0x -pthread -pipe -fexceptions  -DNDEBUG -DTRIMMED -g -Os -freorder-blocks  -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,test-ctors.so -o test-ctors.so -lpthread  -mthumb -Wl,-z,noexecstack   -Wl,-rpath-link,/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi/dist/bin -Wl,-rpath-link,/opt/mozilla/lib  test-ctors.o -nostartfiles
/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi/_virtualenv/bin/python /home/maemo/mozilla/mozilla-release-07625fd156ed/config/Preprocessor.py \
	-DBROWSER_PATH=\"../dist/bin/fennec\" -DXPC_BIN_PATH=\"/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi/dist/bin\" -DBIN_SUFFIX=\"\" -DPROFILE_DIR=\"../_profile/pgo\" -DCERTS_SRC_DIR=\"/home/maemo/mozilla/mozilla-release-07625fd156ed/build/pgo/certs\" -DPERL="\"/scratchbox/tools/bin/perl\""  -DIS_MAC=0 -DIS_LINUX=1 -DIS_CAMINO=0 -DIS_TEST_BUILD=0 -DIS_DEBUG_BUILD=0 -DCRASHREPORTER=0 -DGRE_MILESTONE=17.0.1 -DAPP_BUILDID=20130312032059 -DMOZ_APP_VERSION="17.0" -DMOZ_APP_BASENAME="Fennec" -DMOZ_APP_VENDOR="Mozilla" -DMOZ_APP_ID="{a23983c0-fd0e-11dc-95ff-0800200c9a66}" -DMAR_CHANNEL_ID="" -DACCEPTED_MAR_CHANNEL_IDS=""  -DMOZ_EXTENSION_MANAGER -DMOZ_GLUE_IN_PROGRAM -DMOZ_THUMB2=1 -DHAVE_ARM_SIMD=1 -DHAVE_ARM_NEON=1 -DMOZILLA_VERSION=\"17.0.1\" -DMOZILLA_VERSION_U=17.0.1 -DMOZILLA_UAVERSION=\"17.0\" -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_SSIZE_T=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 -DHAVE_NULLPTR=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_QUOTA_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_LINUX_QUOTA_H=1 -DHAVE_MMINTRIN_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1 -DHAVE_DLADDR=1 -DHAVE_MEMMEM=1 -DFUNCPROTO=15 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_STAT64=1 -DHAVE_LSTAT64=1 -DHAVE_TRUNCATE64=1 -DHAVE_SETBUF=1 -DHAVE_ISATTY=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_CLOCK_MONOTONIC=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_LANGINFO_CODESET=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DMALLOC_H=\<malloc.h\> -DHAVE_STRNDUP=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ALWAYS_INLINE=__attribute__\(\(always_inline\)\) -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DMOZ_BUILD_APP=mobile/xul -DMOZ_X11=1 -DMOZ_WIDGET_QT=1 -DMOZ_PDF_PRINTING=1 -DMOZ_ENABLE_XREMOTE=1 -DUSE_ARM_KUSER=1 -DMOZ_ENABLE_QTNET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H=1 -DMOZ_TREE_CAIRO=1 -DHAVE_UINT64_T=1 -DMOZ_GRAPHITE=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DBUILD_CTYPES=1 -DMOZ_PLACES=1 -DMOZ_SERVICES_SYNC=1 -DMOZ_APP_COMPONENT_INCLUDE=\"nsBrowserComponents.h\" -DMOZ_MACBUNDLE_ID=org.mozilla.fennec -DMOZ_APP_UA_NAME=\"\" -DMOZ_APP_UA_VERSION=\"17.0\" -DFIREFOX_VERSION=17.0.1 -DMOZ_UA_BUILDID=\"\" -DMOZ_DLL_SUFFIX=\".so\" -DHAVE_POSIX_FALLOCATE=1 -DXP_UNIX=1 /home/maemo/mozilla/mozilla-release-07625fd156ed/build/automation.py.in > automation.py
===
=== If you get failures below, please file a bug describing the error
=== and your environment (compiler and linker versions), and use
=== --disable-elf-hack until this is fixed.
===
# Fail if the library doesn't have INIT .dynamic info
readelf -d test-ctors.so | grep '(INIT)'
 0x0000000c (INIT)                       0x1739
/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi/build/unix/elfhack/elfhack -b -f test-ctors.so
test-ctors.so: Reduced by -148 bytes
# Fail if the backup file doesn't exist
[ -f "test-ctors.so.bak" ]
# Fail if the new library doesn't contain less relocations
[ $(objdump -R test-ctors.so.bak | wc -l) -gt $(objdump -R test-ctors.so | wc -l) ]
# Will either crash or return exit code 1 if elfhack is broken
LD_PRELOAD=/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi/build/unix/elfhack/test-array.so /home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi/build/unix/elfhack/dummy
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
make[7]: *** [libs] Error 126
make[7]: Leaving directory `/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi/build/unix/elfhack'
make[6]: *** [libs] Error 2
make[6]: Leaving directory `/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi/build/unix'
make[5]: *** [libs] Error 2
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi/build'
make[4]: *** [libs_tier_base] Error 2
make[4]: Leaving directory `/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi'
make[3]: *** [tier_base] Error 2
make[3]: Leaving directory `/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/home/maemo/mozilla/mozilla-release-07625fd156ed/obj-arm-unknown-linux-gnueabi'
make[1]: *** [realbuild] Error 2
make[1]: Leaving directory `/home/maemo/mozilla/mozilla-release-07625fd156ed'
make: *** [build] Error 2
[sbox-FREMANTLE_ARMEL_GCC472: ~/mozilla/mozilla-release-07625fd156ed] >


Expected results:

Compiling process should've continued if elfhack wasnt  broken
(Reporter)

Updated

5 years ago
OS: Linux → Maemo
Hardware: x86 → ARM
You need to log in before you can comment on or make changes to this bug.