Closed
Bug 949472
Opened 11 years ago
Closed 11 years ago
slim-LTO-objects seamonkey-2.23/temp/ccvt0kvF.ltrans0.ltrans.o:ccvt0kvF.ltrans0.o:function SharedStub: error: undefined reference to 'PrepareAndDispatch'
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 634763
People
(Reporter: nheghathivhistha, Unassigned)
References
()
Details
Attachments
(1 file)
404.47 KB,
application/gzip
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 SeaMonkey/2.22.1 (Beta/Release)
Build ID: 20131113180422
Steps to reproduce:
With snapshot of gcc-4.9.0-20131208 I tried to build Seamonkey on Gentoo with LTO enabled. I had to disable elf hack, include string.h in BufferUnrotate.cpp and it was compiling fine until undefined references around JS.
See the build.log attached gzipped.
What I can test please?
Actual results:
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/_virtualenv/bin/python /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/config/Preprocessor.py -Dtopsrcdir=/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src -DEXPORT_JS_API -DIMPL_MFBT -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -DSTATIC_EXPORTABLE_JS_API=1 -DMOZILLA_VERSION=\"26.0\" -DMOZILLA_VERSION_U=26.0 -DMOZILLA_UAVERSION=\"26.0\" -DMOZJS_MAJOR_VERSION=26 -DMOZJS_MINOR_VERSION=0 -DCROSS_COMPILE=1 -DHAVE_64BIT_OS=1 -DD_INO=d_ino -DJS_CPU_X64=1 -DJS_PUNBOX64=1 -DJS_ION=1 -DENABLE_YARR_JIT=1 -DSTDC_HEADERS=1 -DHAVE_SSIZE_T=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DJS_BYTES_PER_WORD=8 -DJS_BITS_PER_WORD_LOG2=6 -DHAVE_ENDIAN_H=1 -DJS_HAVE_ENDIAN_H=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=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_CPUID_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_QUOTA_H=1 -DHAVE_LINUX_QUOTA_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1 -DHAVE_DLADDR=1 -D_REENTRANT=1 -DHAVE_FCHMOD=1 -DHAVE_FLOCKFILE=1 -DHAVE_GETC_UNLOCKED=1 -DHAVE_GETPAGESIZE=1 -DHAVE_LCHOWN=1 -DHAVE_LOCALTIME_R=1 -DHAVE_LSTAT64=1 -DHAVE_MEMMOVE=1 -DHAVE_RANDOM=1 -DHAVE_SBRK=1 -DHAVE_SNPRINTF=1 -DHAVE_STAT64=1 -DHAVE_STATVFS=1 -DHAVE_STATVFS64=1 -DHAVE_STRERROR=1 -DHAVE_STRTOK_R=1 -DHAVE_TRUNCATE64=1 -DHAVE_WCRTOMB=1 -DHAVE_MBRTOWC=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_CPP_AMBIGUITY_RESOLVING_USING=1 -DHAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DMOZ_UPDATE_CHANNEL=default -DRELEASE_BUILD=1 -DSIZEOF_INT_P=8 -DMOZ_MEMORY_SIZEOF_PTR_2POW=3 -DMOZ_MEMORY=1 -DMOZ_MEMORY_LINUX=1 -DJSGC_INCREMENTAL=1 -DHAVE___CXA_DEMANGLE=1 -DHAVE__UNWIND_BACKTRACE=1 -DJS_DEFAULT_JITREPORT_GRANULARITY=3 -DHAVE_TM_ZONE_TM_GMTOFF=1 -DCPP_THROW_NEW=throw\(\) -DEDITLINE=1 -DJS_HAS_CTYPES=1 -DMOZ_DLL_SUFFIX=\".so\" -DHAVE_POSIX_FALLOCATE=1 -DXP_UNIX=1 -DJS_THREADSAFE=1 -DHAVE_SETLOCALE=1 -DHAVE_LOCALECONV=1 -DNDEBUG -DTRIMMED "/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js-gdb.py.in" -o "/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/js/src/shell/js-gdb.py"
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/js/src/config/nsinstall -R -m 644 "/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/js/src/shell/js-gdb.py" "../../../dist/bin"
Executing: x86_64-pc-linux-gnu-g++ -o js -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -ggdb -pipe -march=native -mtune=native -flto=4 -fuse-linker-plugin -mno-avx -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -O3 -freorder-blocks -fomit-frame-pointer /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/js/src/shell/tmpOcoVn3.list -lpthread -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -ggdb -pipe -march=native -mtune=native -flto=4 -fuse-linker-plugin -Wl,-z,noexecstack -Wl,-z,text -B ../build/unix/gold -Wl,-rpath-link,../../../dist/bin -Wl,-rpath-link,/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/dist/lib -L../../../dist/bin -L../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../libjs_static.a -lz -Wl,--whole-archive ../../../dist/lib/libmozglue.a ../../../dist/lib/libmemory.a -Wl,--no-whole-archive -rdynamic -ldl -lffi -licui18n -licuuc -licudata
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/js/src/shell/tmpOcoVn3.list:
INPUT("js.o")
INPUT("jsheaptools.o")
INPUT("jsoptparse.o")
INPUT("../editline/editline.o")
INPUT("../editline/sysunix.o")
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js.cpp:2735: error: undefined reference to 'JS_GetReservedSlot(JSObject*, unsigned int)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js.cpp:2738: error: undefined reference to 'JS_Enumerate(JSContext*, JSObject*)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2208: error: undefined reference to 'JS::AutoGCRooter::AutoGCRooter(JSContext*, long)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2225: error: undefined reference to 'JS_IdArrayLength(JSContext*, JSIdArray*)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2214: error: undefined reference to 'JS_DestroyIdArray(JSContext*, JSIdArray*)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2222: error: undefined reference to 'JS_IdArrayGet(JSContext*, JSIdArray*, int)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2654: error: undefined reference to 'JSVAL_VOID'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsproxy.h:289: error: undefined reference to 'js::ObjectProxyClassPtr'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsproxy.h:289: error: undefined reference to 'js::OuterWindowProxyClassPtr'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsproxy.h:294: error: undefined reference to 'js::FunctionProxyClassPtr'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js.cpp:2701: error: undefined reference to 'JSObject::lookupGeneric(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JSObject*>, JS::MutableHandle<js::Shape*>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js.cpp:2696: error: undefined reference to 'js::Proxy::getOwnPropertyDescriptor(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JSPropertyDescriptor>, unsigned int)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js.cpp:2720: error: undefined reference to 'js::DefineNativeProperty(js::ExclusiveContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::Handle<JS::Value>, bool (*)(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JS::Value>), bool (*)(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, bool, JS::MutableHandle<JS::Value>), unsigned int, unsigned int, int, unsigned int)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js.cpp:2675: error: undefined reference to 'js::LookupPropertyWithFlags(js::ExclusiveContext*, JS::Handle<JSObject*>, JS::Handle<long>, unsigned int, JS::MutableHandle<JSObject*>, JS::MutableHandle<js::Shape*>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsobj.h:917: error: undefined reference to 'js::baseops::GetProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JS::Value>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2732: error: undefined reference to 'JS_PropertyStub(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JS::Value>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2733: error: undefined reference to 'JS_StrictPropertyStub(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, bool, JS::MutableHandle<JS::Value>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2732: error: undefined reference to 'JS_PropertyStub(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JS::Value>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2733: error: undefined reference to 'JS_StrictPropertyStub(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, bool, JS::MutableHandle<JS::Value>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsobj.h:1005: error: undefined reference to 'js::baseops::GetAttributes(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, unsigned int*)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js.cpp:2727: error: undefined reference to 'JS_GetReservedSlot(JSObject*, unsigned int)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2654: error: undefined reference to 'JSVAL_VOID'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsproxy.h:289: error: undefined reference to 'js::ObjectProxyClassPtr'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsproxy.h:289: error: undefined reference to 'js::OuterWindowProxyClassPtr'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsproxy.h:294: error: undefined reference to 'js::FunctionProxyClassPtr'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js.cpp:2701: error: undefined reference to 'JSObject::lookupGeneric(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JSObject*>, JS::MutableHandle<js::Shape*>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js.cpp:2696: error: undefined reference to 'js::Proxy::getOwnPropertyDescriptor(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JSPropertyDescriptor>, unsigned int)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js.cpp:2720: error: undefined reference to 'js::DefineNativeProperty(js::ExclusiveContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::Handle<JS::Value>, bool (*)(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JS::Value>), bool (*)(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, bool, JS::MutableHandle<JS::Value>), unsigned int, unsigned int, int, unsigned int)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/shell/js.cpp:2675: error: undefined reference to 'js::LookupPropertyWithFlags(js::ExclusiveContext*, JS::Handle<JSObject*>, JS::Handle<long>, unsigned int, JS::MutableHandle<JSObject*>, JS::MutableHandle<js::Shape*>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsobj.h:917: error: undefined reference to 'js::baseops::GetProperty(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JS::Value>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2732: error: undefined reference to 'JS_PropertyStub(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JS::Value>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2733: error: undefined reference to 'JS_StrictPropertyStub(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, bool, JS::MutableHandle<JS::Value>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2732: error: undefined reference to 'JS_PropertyStub(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, JS::MutableHandle<JS::Value>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsapi.h:2733: error: undefined reference to 'JS_StrictPropertyStub(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, bool, JS::MutableHandle<JS::Value>)'
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/js/src/jsobj.h:1005: error: undefined reference to 'js::baseops::GetAttributes(JSContext*, JS::Handle<JSObject*>, JS::Handle<long>, unsigned int*)'
-cut-
See the rest in build.log.gz file attached please.
Reporter | ||
Updated•11 years ago
|
OS: Windows 7 → Linux
Reporter | ||
Comment 1•11 years ago
|
||
Without LTO and with disabled Enigmail with the same CFLAGS and included string.h it builds fine. Iwould like to use LTO.
Comment 2•11 years ago
|
||
Did you try a CLOBBER build? That is delete your object directory and then do a full build (e.g. make configure build)
Flags: needinfo?(nheghathivhistha)
Reporter | ||
Comment 3•11 years ago
|
||
I am always rebuilding, no ccache or similar.
What at GCC told me is that gcc-4.9.0 uses not in binutils supported LTO object format (lto plugin in binutils is needed), so patch for binutils or AR=ar-gcc AS=gcc-as NM=gcc-nm and RANLIB=gcc-ranlib is needed. It helped me with Mesa and Openldap but not with Seamoneky-2.23.
But the error is now more clear:
../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_tags_from_script' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-ot-tag.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_language_get_feature_tags' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-ot-layout.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_tag_to_script' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-ot-tag.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_get_length' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-buffer.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_get_direction' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-buffer.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_script_find_language' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-ot-layout.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_get_glyph_infos' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-buffer.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_reverse' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-buffer.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_reset' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-buffer.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_table_get_script_tags' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-ot-layout.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_destroy' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-buffer.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_get_glyph_positions' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-buffer.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_language_get_required_feature_index' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-ot-layout.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_language_to_string' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-common.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_tag_from_language' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-ot-tag.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_script_get_language_tags' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-ot-layout.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_table_find_script' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-ot-layout.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_language_from_string' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-common.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_face_destroy' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-font.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_add' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-buffer.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_layout_language_find_feature' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-ot-layout.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_ot_tag_to_language' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-ot-tag.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_set_direction' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-buffer.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_set_unicode_funcs' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-buffer.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
../../build/unix/gold/ld: warning: hidden symbol 'hb_buffer_create' in /var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/seamonk/mozilla/toolkit/library/../../gfx/harfbuzz/src/hb-buffer.o is referenced by DSO /usr/lib64/libpangoft2-1.0.so
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mailnews/mime/src/mimemalt.cpp:86:0: warning: type of 'mimeMultipartRelatedClass' does not match original declaration [enabled by default]
extern "C" MimeObjectClass mimeMultipartRelatedClass;
^
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mailnews/mime/src/mimemult.cpp:24:0: warning: type of 'mimeMultipartRelatedClass' does not match original declaration [enabled by default]
MimeDefClass(MimeMultipart, MimeMultipartClass,
^
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mailnews/mime/src/mimemrel.cpp:123:0: note: previously declared here
MimeDefClass(MimeMultipartRelated, MimeMultipartRelatedClass,
^
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mailnews/mime/src/mimemult.cpp:41:0: warning: type of 'mimeMultipartAlternativeClass' does not match original declaration [enabled by default]
extern "C" MimeObjectClass mimeMultipartAlternativeClass;
^
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mailnews/mime/src/mimemalt.cpp:86:0: note: previously declared here
extern "C" MimeObjectClass mimeMultipartRelatedClass;
^
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mailnews/mime/src/mimemult.cpp:24:0: warning: type of 'mimeMultipartSignedClass' does not match original declaration [enabled by default]
MimeDefClass(MimeMultipart, MimeMultipartClass,
^
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mailnews/mime/src/mimemsig.cpp:21:0: note: previously declared here
MimeDefClass(MimeMultipartSigned, MimeMultipartSignedClass,
^
/var/tmp/portage/www-client/seamonkey-2.23/temp/ccvt0kvF.ltrans0.ltrans.o:ccvt0kvF.ltrans0.o:function SharedStub: error: undefined reference to 'PrepareAndDispatch'
collect2: error: ld returned 1 exit status
/var/tmp/portage/www-client/seamonkey-2.23/work/comm-release/mozilla/config/rules.mk:1007: recipe for target 'libxul.so' failed
make[4]: *** [libxul.so] Error 1
Thank you.
Flags: needinfo?(nheghathivhistha)
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Summary: undefined reference to 'JS_GetReservedSlot(JSObject*, unsigned int)' and other JS_* → slim-LTO-objects seamonkey-2.23/temp/ccvt0kvF.ltrans0.ltrans.o:ccvt0kvF.ltrans0.o:function SharedStub: error: undefined reference to 'PrepareAndDispatch'
Comment 4•11 years ago
|
||
Building with LTO is not a supported configuration for building SeaMonkey. I suggest that you inquire futher on IRC.
irc://moznet/developers
or
irc://moznet/build
Reporter | ||
Comment 5•11 years ago
|
||
I hope that it will be supported soon.
Comment 6•11 years ago
|
||
(Bug 634763 comment #0) [ PrepareAndDispatch is only referenced from inline assembly]
> When doing LTO the liker has to know all the undefined symbols in order to
> decide what it can drop. Since LTO happens at the IL level, undefined
> references in inline assembly are not seem.
> Since PrepareAndDispatch is only referenced from inline assembly, the linker
> thinks it can be dropped.
Bug 634763 is WONTFIX. Workaround is to use LLVM to do PGO builds.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•