Clovisnox Posted June 22, 2014 Report Share Posted June 22, 2014 (edited) Hello guys !I'm used to compile everyday via svn on Linux Mint. But for a few days I don't seem to be able to achieve the preliminary "update-workspaces.sh"I tried everything, even removing the 0ad folder and start from scratch. Still pretty much the same issue :/usr/bin/ld: Lowering-shared.o(.debug_info+0x20000072214): relocalisation vers «.debug_str»: erreur 2/usr/bin/ld: édition de lien finale en échec: Section non-représentable pour la sortiecollect2: error: ld returned 1 exit statusmake[1]: *** [libmozjs24-ps-debug.so] Erreur 1make[1]: quittant le répertoire « /home/lou/0ad/libraries/source/spidermonkey/mozjs24/js/src/build-debug »make: *** [default] Erreur 2Here is the start of the spidermonkey part Building SpiderMonkey...SpiderMonkey build options: --enable-threadsafe --enable-shared-js --disable-tests--enable-threadsafe --enable-shared-js --disable-testscreating cache ./config.cachechecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking build system type... x86_64-unknown-linux-gnuchecking for gawk... gawkchecking for perl5... nochecking for perl... /usr/bin/perldefined(@array) is deprecated at ../config/milestone.pl line 59.(Maybe you should just omit the defined()?)defined(@array) is deprecated at ../config/milestone.pl line 59.(Maybe you should just omit the defined()?)defined(@array) is deprecated at ../config/milestone.pl line 59.(Maybe you should just omit the defined()?)checking for gcc... gccchecking whether the C compiler (gcc ) works... yeschecking whether the C compiler (gcc ) is a cross-compiler... nochecking whether we are using GNU C... yeschecking whether gcc accepts -g... yeschecking for c++... c++checking whether the C++ compiler (c++ ) works... yeschecking whether the C++ compiler (c++ ) is a cross-compiler... nochecking whether we are using GNU C++... yeschecking whether c++ accepts -g... yeschecking for ranlib... ranlibchecking for as... /usr/bin/aschecking for ar... archecking for ld... ldchecking for strip... stripchecking for windres... nochecking how to run the C preprocessor... gcc -Echecking how to run the C++ preprocessor... c++ -Echecking for sb-conf... nochecking for ve... nochecking for a BSD compatible install... /usr/bin/install -cchecking whether ln -s works... yeschecking for tar archiver... checking for gnutar... nochecking for gtar... nochecking for tar... tartarchecking for minimum required perl version >= 5.006... 5.018002checking for full perl installation... yeschecking for python2.7... /usr/bin/python2.7Creating Python environmentNew python executable in /home/lou/0ad/libraries/source/spidermonkey/mozjs24/js/src/build-debug/_virtualenv/bin/python2.7Also creating executable in /home/lou/0ad/libraries/source/spidermonkey/mozjs24/js/src/build-debug/_virtualenv/bin/pythonInstalling setuptools............done.Installing pip...............done.running build_extcopying build/lib.linux-x86_64-2.7/_psutil_linux.so ->copying build/lib.linux-x86_64-2.7/_psutil_posix.so ->checking Python environment is Mozilla virtualenv... yeschecking for doxygen... :checking for autoconf... :checking for xargs... /usr/bin/xargschecking for make... /usr/bin/makechecking for X... nochecking that static assertion macros used in autoconf tests work... yeschecking for --build-id option to ld... yeschecking whether the C compiler supports -Werror=return-type... yeschecking whether the C compiler supports -Wtype-limits... yeschecking whether the C compiler supports -Wempty-body... yeschecking whether the C compiler supports -Wsign-compare... yeschecking whether the C++ compiler supports -Werror=return-type... yeschecking whether the C++ compiler supports -Wtype-limits... yeschecking whether the C++ compiler supports -Wempty-body... yeschecking whether the C++ compiler supports -Werror=conversion-null... yeschecking whether the C++ compiler supports -Wsign-compare... yeschecking whether the C++ compiler supports -Wno-invalid-offsetof... yeschecking whether ld has archive extraction flags... yeschecking for 64-bit OS... yeschecking for custom implementation... none specifiedchecking whether the linker supports Identical Code Folding... nochecking whether removing dead symbols breaks debugging... nochecking for ANSI C header files... yeschecking for working const... yeschecking for mode_t... yeschecking for off_t... yeschecking for pid_t... yeschecking for size_t... yeschecking for __stdcall... nochecking for ssize_t... yeschecking for st_blksize in struct stat... yeschecking for siginfo_t... yeschecking for the size of void*... 8checking for endian.h... yeschecking for machine/endian.h... nochecking for sys/isa_defs.h... nochecking for uint... yeschecking for uint_t... nochecking for uname.domainname... yeschecking for uname.__domainname... nochecking for gcc c++0x headers bug without rtti... nochecking for visibility(hidden) attribute... yeschecking for visibility(default) attribute... yeschecking for visibility pragma support... yeschecking For gcc visibility bug with class-level attributes (GCC bug 26905)... nochecking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... nochecking for gcc PR49911... nochecking for gcc pr39608... nochecking for llvm pr8927... nochecking for dirent.h that defines DIR... yeschecking for opendir in -ldir... nochecking for sys/byteorder.h... nochecking for compat.h... nochecking for getopt.h... yeschecking for sys/bitypes.h... yeschecking for memory.h... yeschecking for unistd.h... yeschecking for gnu/libc-version.h... yeschecking for nl_types.h... yeschecking for malloc.h... yeschecking for X11/XKBlib.h... yeschecking for io.h... nochecking for cpuid.h... yeschecking for sys/statvfs.h... yeschecking for sys/statfs.h... yeschecking for sys/vfs.h... yeschecking for sys/mount.h... yeschecking for sys/quota.h... yeschecking for linux/quota.h... yeschecking for new... yeschecking for sys/cdefs.h... yeschecking for linux/perf_event.h... yeschecking for perf_event_open system call... yeschecking for gethostbyname_r in -lc_r... nochecking for library containing dlopen... -ldlchecking for dlfcn.h... yeschecking for dladdr... yeschecking for socket in -lsocket... nochecking for pthread_create in -lpthreads... nochecking for pthread_create in -lpthread... yeschecking whether gcc accepts -pthread... yeschecking whether gcc needs -traditional... nochecking for 8-bit clean memcmp... yeschecking for fchmod... yeschecking for flockfile... yeschecking for getc_unlocked... yeschecking for _getc_nolock... nochecking for getpagesize... yeschecking for lchown... yeschecking for localtime_r... yeschecking for lstat64... yeschecking for memmove... yeschecking for random... yeschecking for rint... nochecking for sbrk... yeschecking for snprintf... yeschecking for stat64... yeschecking for statvfs... yeschecking for statvfs64... yeschecking for strerror... yeschecking for strtok_r... yeschecking for truncate64... yeschecking for wcrtomb... yeschecking for mbrtowc... yeschecking for res_ninit()... yeschecking for gnu_get_libc_version()... yeschecking for an implementation of va_copy()... yeschecking for an implementation of __va_copy()... yeschecking whether va_lists can be copied by value... nochecking whether the C++ "using" keyword resolves ambiguity... yeschecking for C++ dynamic_cast to void*... yeschecking whether C++ requires implementation of unused virtual methods... yeschecking for trouble comparing to zero near std::operator!=()... nochecking for __thread keyword for TLS variables... yeschecking for __attribute__((always_inline))... yeschecking for __attribute__((malloc))... yeschecking for __attribute__((warn_unused_result))... yeschecking for LC_MESSAGES... yeschecking for localeconv... yeschecking for gzread in -lz... yeschecking for valid debug flags... yeschecking for __cxa_demangle... yeschecking for unwind.h... yeschecking for _Unwind_Backtrace... yeschecking for -pipe support... yeschecking whether C compiler supports -fprofile-generate... yeschecking for correct overload resolution with const and templates... nochecking for tm_zone tm_gmtoff in struct tm... yeschecking what kind of list files are supported by the linker... linkerscriptchecking what kind of ordering can be done with the linker... nonechecking for posix_fallocate... yeschecking for setlocale... yeschecking for localeconv... (cached) yesupdating cache ./config.cachecreating ./config.statusReticulating splines...Finished reading 4 moz.build files into 12 descriptors in 0.00sBackend executed in 0.01s10 total backend files. 10 created; 0 updated; 0 unchangedTotal wall time: 0.01s; CPU time: 0.01s; Efficiency: 94%invoking make to create js24-config scriptBuild configuration changed. Regenerating backend.Reticulating splines...Finished reading 4 moz.build files into 12 descriptors in 0.00sBackend executed in 0.01s10 total backend files. 0 created; 0 updated; 10 unchangedTotal wall time: 0.01s; CPU time: 0.01s; Efficiency: 100%rm -f js24-config.tmpEDIT : after runing clean-workspace.sh and update-workspace.sh again, different outputIn file included from /home/lou/0ad/libraries/source/spidermonkey/mozjs24/js/src/jsapi.h:28:0,from /home/lou/0ad/libraries/source/spidermonkey/mozjs24/js/src/jsweakmap.h:10,from /home/lou/0ad/libraries/source/spidermonkey/mozjs24/js/src/jsweakmap.cpp:7:./dist/include/js/HashTable.h: In instantiation of ‘class js::detail::HashTable, js::RelocatableValue>, js::HashMap, js::RelocatableValue, js::DefaultHasher >, js::RuntimeAllocPolicy>::MapHashPolicy, js::RuntimeAllocPolicy>’:./dist/include/js/HashTable.h:64:10: required from ‘class js::HashMap, js::RelocatableValue, js::DefaultHasher >, js::RuntimeAllocPolicy>’/home/lou/0ad/libraries/source/spidermonkey/mozjs24/js/src/jsweakmap.h:129:7: required from ‘class js::WeakMap, js::RelocatableValue>’/home/lou/0ad/libraries/source/spidermonkey/mozjs24/js/src/jsweakmap.cpp:149:16: required from here./dist/include/js/HashTable.h:835:39: internal compiler error: Erreur de segmentationvoid operator=(MoveRef rhs) {^Please submit a full bug report,with preprocessed source if appropriate.See for instructions.c++ -o jsworkers.o -c -I./dist/system_wrappers_js -include ../config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I../../../mfbt/double-conversion -I../../../intl/icu/source/common -I../../../intl/icu/source/i18n -I.. -I. -I./dist/include -I/usr/include/nspr -I.. -I../assembler -I../yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -DDEBUG -D_DEBUG -DTRACING -g -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/jsworkers.o.pp /home/lou/0ad/libraries/source/spidermonkey/mozjs24/js/src/jsworkers.cppjswrapper.cppThe bug is not reproducible, so it is likely a hardware or OS problem.make[1]: *** [jsweakmap.o] Erreur 1make[1]: *** Attente des tâches non terminées....(keeps running...)Thanks in advance for your help Edited June 29, 2014 by Clovisnox Quote Link to comment Share on other sites More sharing options...
Yves Posted June 22, 2014 Report Share Posted June 22, 2014 Could you try deleting the whole mozjs24 folder in libraries/source/spidermonkey in addition to running clean-workspaces.sh again please? Quote Link to comment Share on other sites More sharing options...
Clovisnox Posted June 22, 2014 Author Report Share Posted June 22, 2014 Same kind of output Please submit a full bug report,with preprocessed source if appropriate.The bug is not reproducible, so it is likely a hardware or OS problem.make[1]: *** [YarrJIT.o] Erreur 1make[1]: quittant le répertoire « /home/lou/0ad/libraries/source/spidermonkey/mozjs24/js/src/build-debug »make: *** [default] Erreur 2ERROR: SpiderMonkey build failed Quote Link to comment Share on other sites More sharing options...
Clovisnox Posted June 26, 2014 Author Report Share Posted June 26, 2014 No idea ? Quote Link to comment Share on other sites More sharing options...
Yves Posted June 26, 2014 Report Share Posted June 26, 2014 internal compiler error: Erreur de segmentationWas there a compiler update recently? As far as I understand the compiler crashes, so it must be a bug in the compiler or in a system library the compiler uses. Quote Link to comment Share on other sites More sharing options...
Clovisnox Posted June 26, 2014 Author Report Share Posted June 26, 2014 Don't think it did. So we're clear : the problem is my system and not in any case the 0ad sources ? Quote Link to comment Share on other sites More sharing options...
auron2401 Posted June 27, 2014 Report Share Posted June 27, 2014 I dont think it's a problem with the OS (I use mint, no problems here) Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted June 27, 2014 Report Share Posted June 27, 2014 Don't think it did. So we're clear : the problem is my system and not in any case the 0ad sources ?update-workspaces.sh doesn't build the 0 A.D. sources What you're seeing is a compiler bug during the Spidermonkey build (which nobody else has reported), so without more information, it's particular to your system. Quote Link to comment Share on other sites More sharing options...
Clovisnox Posted June 29, 2014 Author Report Share Posted June 29, 2014 Ok thanks, let's close this thread then Quote Link to comment Share on other sites More sharing options...
Clovisnox Posted July 13, 2014 Author Report Share Posted July 13, 2014 FIY : I just found out the issue was induced by a malfunction of one of my RAM module. Removed it, work fine now Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.