From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Brielmaier Subject: bug#36811: Guix fails to build with libgc 8.0.4 Date: Thu, 25 Jul 2019 20:26:15 +0200 Message-ID: <154d15a4-2851-6cc3-16b1-b020e27e02e9@web.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------DD8829ADF8676604C29B9F97" Return-path: Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:58555) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqiRi-0003SQ-Uf for bug-guix@gnu.org; Thu, 25 Jul 2019 14:26:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqiRh-0000t4-21 for bug-guix@gnu.org; Thu, 25 Jul 2019 14:26:30 -0400 Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sender: "bug-guile" To: 36811@debbugs.gnu.org, bug-guix@gnu.org List-Id: bug-guix.gnu.org This is a multi-part message in MIME format. --------------DD8829ADF8676604C29B9F97 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Some days ago Guix failed to build on openSUSE Tumbleweed. Today I started to investigate it. Guix fails to build on Tumbleweed with `make -j4` or a greater thread count (see guile_coredump_building_guix.log) It doesn't fail to build with `make -j3` or less threads and when building inside of `guix environment --pure guix`. I then started to look around what could differ between Tumbleweed and guix environment. My first assumption was kind of hit :) Tumbleweed is built since some days with libgc 8.0.4 and Guix is still on 7.6.6. In my home project[0] I have built now Guix (and Guile) with libgc 7.6.4, the version Tumbleweed used before. Guix builds now with `make -j4` and greater again on Tumbleweed... So it seems that guile is not compatible with libgc 8.x yet? Is this correct? I wanted to update libgc in guix but it has 5k dependencies, so I did not :P Any Ideas how to fix this? Do you need any further information from me? Cheers Jonathan [0] https://build.opensuse.org/project/show/home:jbrielmaier:guix --------------DD8829ADF8676604C29B9F97 Content-Type: text/x-log; name="guile_coredump_building_guix.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="guile_coredump_building_guix.log" Core was generated by `/usr/bin/guile -L . -L . --no-auto-compile -s ./bui= ld-aux/compile-all.scm guix/'. Program terminated with signal SIGABRT, Aborted. #0 __GI_raise (sig=3Dsig@entry=3D6) at ../sysdeps/unix/sysv/linux/raise.c= :50 50 return ret; [Current thread is 1 (Thread 0x7f3126d79700 (LWP 3968))] (gdb) bt #0 __GI_raise (sig=3Dsig@entry=3D6) at ../sysdeps/unix/sysv/linux/raise.c= :50 #1 0x00007f313e9b5549 in __GI_abort () at abort.c:79 #2 0x00007f313e5e95e1 in GC_unmap (start=3D, bytes=3D) at extra/../os_dep.c:2576 #3 GC_unmap (start=3D, bytes=3D) at extra/.= ./os_dep.c:2535 #4 0x00007f313e5fb3f9 in GC_unmap_old () at extra/../allchblk.c:419 #5 GC_unmap_old () at extra/../allchblk.c:400 #6 GC_finish_collection () at extra/../alloc.c:1115 #7 0x00007f313e5fba05 in GC_try_to_collect_inner (stop_func=3D0x7f313e5f2= 6a0 ) at extra/../alloc.c:553 #8 GC_try_to_collect_inner (stop_func=3Dstop_func@entry=3D0x7f313e5f26a0 = ) at extra/../alloc.c:485 #9 0x00007f313e5fe0b6 in GC_grow_table (table=3Dtable@entry=3D0x7f313e64c= 300 , log_size_ptr=3Dlog_size_ptr@entry=3D0x7f313e60a888 = , entries_ptr=3Dentries_ptr@entry=3D0x7f313e64c2f0 ) at e= xtra/../finalize.c:133 #10 0x00007f313e5fe4ba in GC_register_finalizer_inner (obj=3D0x7f312dba27a= 0, fn=3D0x7f313e8ff380 , cd=3D0x0, ofn=3D0x7f3126d785e0, ocd=3D0x7f3126d785d8, mp=3D0x7f313e5f2= 690 ) at extra/../finalize.c:703 #11 0x00007f313e5fea9c in GC_register_finalizer_no_order (obj=3D, fn=3D, cd=3D, ofn=3D, ocd=3D) at= extra/../finalize.c:844 #12 0x00007f313e91a683 in scm_i_set_finalizer (obj=3D, proc= =3D, data=3D) at finalizers.c:53 #13 0x00007f313e8fd30e in make_bignum () at numbers.c:265 #14 scm_i_mkbig () at numbers.c:275 #15 scm_logior (n1=3D, n2=3D0x7f312dba2840) at numbers.c:44= 39 #16 0x00007f313e8ba25f in vm_regular_engine (thread=3D0x2, vp=3D0x7f312b1d= 0e10, registers=3D0x0, resume=3D1050459601) at vm-engine.c:2575 #17 0x00007f313e8ab660 in scm_call_n (proc=3D, argv=3D, nargs=3D0) at vm.c:1260 #18 0x00007f313e93874e in scm_call_with_unblocked_asyncs (proc=3D0x7f3135c= d3f20) at async.c:400 #19 0x00007f313e8b637f in vm_regular_engine (thread=3D0x2, vp=3D0x7f312b1d= 0e10, registers=3D0x0, resume=3D1050459601) at vm-engine.c:786 #20 0x00007f313e8ab660 in scm_call_n (proc=3D, argv=3D, nargs=3D0) at vm.c:1260 #21 0x00007f313e8bee56 in really_launch (d=3D0x7f3135cad9c0) at threads.c:= 794 #22 0x00007f313e92c29a in c_body (d=3D0x7f3126d78e40) at continuations.c:4= 22 =2D-Type for more, q to quit, c to continue without paging-- #23 0x00007f313e8b637f in vm_regular_engine (thread=3D0x2, vp=3D0x7f312b1d= 0e10, registers=3D0x0, resume=3D1050459601) at vm-engine.c:786 #24 0x00007f313e8ab660 in scm_call_n (proc=3D, argv=3D, nargs=3D0) at vm.c:1260 #25 0x00007f313e8bbaf3 in catch (tag=3D, thunk=3D0x7f3135cc= 3620, handler=3D0x7f3135cc3600, pre_unwind_handler=3D0x7f3135cc3400) at throw.c:137 #26 0x00007f313e931745 in scm_i_with_continuation_barrier (body=3Dbody@ent= ry=3D0x7f313e92c290 , body_data=3Dbody_data@entry=3D0x7f3126d78e40, handler=3Dhandler@entry= =3D0x7f313e931650 , handler_data=3Dhandler_data@entry=3D0x7f3126d78e40, pre_unwind_handler=3Dpre_unwind_handler@entry=3D0x7f313e931560 , pre_unwind_handler_data=3D0x7f313a50da20) at continuations.c:360 #27 0x00007f313e931a55 in scm_c_with_continuation_barrier (func=3D, data=3D) at continuations.c:456 #28 0x00007f313e8bf156 in with_guile (base=3D0x7f3126d78ea0, data=3D0x7f31= 26d78ed0) at threads.c:661 #29 0x00007f313e5eedc7 in GC_call_with_stack_base (fn=3Dfn@entry=3D0x7f313= e8bf080 , arg=3Darg@entry=3D0x7f3126d78ed0) at extra/../misc.c:2106 #30 0x00007f313e8bc2dd in scm_i_with_guile (dynamic_state=3D, data=3D0x7f3135cad9c0, func=3D0x7f313e8bede0 ) at threads.c:704 #31 launch_thread (d=3D0x7f3135cad9c0) at threads.c:803 #32 0x00007f313e212faa in start_thread (arg=3D) at pthread_= create.c:486 #33 0x00007f313ea8d73f in clone () at ../sysdeps/unix/sysv/linux/x86_64/cl= one.S:95 --------------DD8829ADF8676604C29B9F97--