Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lang/guile30 build issue: lto support missing in ar/ranlib
Hi!
On 10.99.2 after the load sections 2->4 change I see the following
when building lang/guile30:
ar: libguile_3.0_la-alist.o: plugin needed to handle lto object
ranlib: .libs/libguile-3.0.a(libguile_3.0_la-alist.o): plugin needed to handle lto object
CCLD guile
and the resulting binary segfaults when run (which also happens during
the build), backtrace below.
Is there a flag to turn off lto, or can we please get ar/ranlib
support for lto?
To reproduce, just try building 'lang/guile30'.
Thanks,
Thomas
[New process 4469]
Core was generated by `guile'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 weak_set_lookup.constprop.0 (set=set@entry=0x7902a5065150, hash=581991487143039215, hash@entry=290995743571519607, pred=pred@entry=0x7902a58f6f1b <string_lookup_predicate_fn>,
closure=closure@entry=0x7f7fff302a50, dflt=<optimized out>) at weak-set.c:483
483 other_hash = entries[k].hash;
(gdb) bt
#0 weak_set_lookup.constprop.0 (set=set@entry=0x7902a5065150, hash=581991487143039215, hash@entry=290995743571519607, pred=pred@entry=0x7902a58f6f1b <string_lookup_predicate_fn>,
closure=closure@entry=0x7f7fff302a50, dflt=<optimized out>) at weak-set.c:483
#1 0x00007902a58f56b8 in scm_c_weak_set_lookup (dflt=0x4, closure=0x7f7fff302a50, pred=0x7902a58f6f1b <string_lookup_predicate_fn>, raw_hash=290995743571519607, set=<optimized out>) at weak-set.c:763
#2 lookup_interned_symbol (raw_hash=290995743571519607, name=0x7902a500ef80) at symbols.c:112
#3 scm_i_str2symbol (str=0x7902a500ef80) at symbols.c:244
#4 0x00007902a58f92a6 in scm_string_to_symbol (string=<optimized out>) at symbols.c:360
#5 0x00007902a58fe437 in scm_gensym (prefix=0x7902a4ed30e0) at symbols.c:408
#6 0x00007902a5872cb1 in transform_bindings (bindings=bindings@entry=0x7902a5028cb0, expr=expr@entry=0x7902a5028d50, names=names@entry=0x7f7fff302c20, vars=vars@entry=0x7f7fff302c18,
initptr=initptr@entry=0x7f7fff302c10) at expand.c:948
#7 0x00007902a5872e49 in expand_let (expr=0x7902a5028d50, env=0x7902a5070ff0) at expand.c:1012
#8 0x00007902a5871157 in expand_if (expr=0x7902a501d120, env=0x7902a5070ff0) at expand.c:586
#9 0x00007902a587266c in expand_letstar_clause (bindings=0x7902a501d140, body=0x7902a502cdf0, env=0x7902a5065150) at expand.c:1074
#10 0x00007902a587266c in expand_letstar_clause (bindings=0x7902a501d1e0, body=0x7902a502cdf0, env=0x7902a5065200) at expand.c:1074
#11 0x00007902a5871157 in expand_if (expr=0x7902a501d5c0, env=0x7902a5065200) at expand.c:586
#12 0x00007902a5871359 in expand_lambda_case (clause=0x7902a501d5d0, alternate=alternate@entry=0x4, env=<optimized out>) at expand.c:662
#13 0x00007902a587162e in expand_lambda (expr=0x7902a501d610, env=<optimized out>) at expand.c:676
#14 0x00007902a58732ce in expand_exprs (env=0x7902a5062a40, forms=0x7902a5062ad0) at expand.c:393
#15 expand_letrec_helper (expr=<optimized out>, env=0x7902a5062a40, in_order_p=0x404) at expand.c:1040
#16 0x00007902a5871359 in expand_lambda_case (clause=0x7902a501dd80, alternate=alternate@entry=0x4, env=<optimized out>) at expand.c:662
#17 0x00007902a587162e in expand_lambda (expr=0x7902a501ddc0, env=<optimized out>) at expand.c:676
#18 0x00007902a58732ce in expand_exprs (env=0x7902a5059560, forms=0x7902a5059c20) at expand.c:393
#19 expand_letrec_helper (expr=<optimized out>, env=0x7902a5059560, in_order_p=0x404) at expand.c:1040
#20 0x00007902a58703d8 in expand (exp=0x7902a501de50, env=0x7902a5055020) at expand.c:361
#21 0x00007902a5870703 in expand_sequence (forms=0x7902a5034160, env=0x7902a5055020) at expand.c:405
#22 0x00007902a58706f4 in expand_sequence (forms=0x7902a501de60, env=0x7902a5055020) at expand.c:405
#23 0x00007902a58706f4 in expand_sequence (forms=0x7902a501df10, env=0x7902a5055020) at expand.c:405
#24 0x00007902a58706f4 in expand_sequence (forms=0x7902a501dfc0, env=0x7902a5055020) at expand.c:405
#25 0x00007902a58706f4 in expand_sequence (forms=0x7902a501a070, env=0x7902a5055020) at expand.c:405
#26 0x00007902a58706f4 in expand_sequence (forms=0x7902a501a120, env=0x7902a5055020) at expand.c:405
#27 0x00007902a58706f4 in expand_sequence (forms=0x7902a501a1d0, env=0x7902a5055020) at expand.c:405
#28 0x00007902a58706f4 in expand_sequence (forms=0x7902a501a900, env=0x7902a5055020) at expand.c:405
#29 0x00007902a58706f4 in expand_sequence (forms=0x7902a5014230, env=0x7902a5055020) at expand.c:405
#30 0x00007902a58706f4 in expand_sequence (forms=0x7902a5014860, env=0x7902a5055020) at expand.c:405
#31 0x00007902a58706f4 in expand_sequence (forms=0x7902a500c1f0, env=0x7902a5055020) at expand.c:405
#32 0x00007902a58706f4 in expand_sequence (forms=0x7902a500cc50, env=0x7902a5055020) at expand.c:405
#33 0x00007902a58706f4 in expand_sequence (forms=0x7902a50096b0, env=0x7902a5055020) at expand.c:405
#34 0x00007902a58706f4 in expand_sequence (forms=0x7902a50056e0, env=0x7902a5055020) at expand.c:405
#35 0x00007902a58706f4 in expand_sequence (forms=0x7902a50010d0, env=0x7902a5055020) at expand.c:405
#36 0x00007902a58706f4 in expand_sequence (forms=0x7902a5001cc0, env=0x7902a5055020) at expand.c:405
#37 0x00007902a58706f4 in expand_sequence (forms=0x7902a4ffc8b0, env=0x7902a5055020) at expand.c:405
#38 0x00007902a58706f4 in expand_sequence (forms=0x7902a4ffcdf0, env=0x7902a5055020) at expand.c:405
#39 0x00007902a58706f4 in expand_sequence (forms=0x7902a4ff9aa0, env=0x7902a5055020) at expand.c:405
#40 0x00007902a58706f4 in expand_sequence (forms=0x7902a4fe86b0, env=0x7902a5055020) at expand.c:405
#41 0x00007902a58706f4 in expand_sequence (forms=0x7902a4fe8ab0, env=0x7902a5055020) at expand.c:405
#42 0x00007902a58706f4 in expand_sequence (forms=0x7902a4fe8e70, env=0x7902a5055020) at expand.c:405
#43 0x00007902a58706f4 in expand_sequence (forms=0x7902a4fe6b90, env=0x7902a5055020) at expand.c:405
#44 0x00007902a58706f4 in expand_sequence (forms=0x7902a4fe6c20, env=0x7902a5055020) at expand.c:405
#45 0x00007902a58732a7 in expand_letrec_helper (expr=0x7902a4f4f3a0, env=0x7902a5055020, in_order_p=0x404) at expand.c:1040
#46 0x00007902a5872ec3 in expand_let (expr=0x7902a4f4f720, env=0x4) at expand.c:332
#47 0x00007902a47952f6 in ?? ()
#48 0x00007902a54f2380 in ?? () from /usr/lib/libc.so.12
#49 0x00007902a506ed80 in ?? ()
#50 0x00007902a47952d0 in ?? ()
#51 0x00007902a58a44ef in scm_jit_enter_mcode (thread=0x7902a4e6df7c, mcode=0x7902a47952d0 "I\211\314I)\304I\203\020\017\205\177") at jit.c:6038
#52 0x00007902a59032a6 in vm_regular_engine (thread=0x7902a506ed80) at vm-engine.c:360
#53 0x00007902a5911ce8 in scm_call_n (proc=<optimized out>, argv=<optimized out>, nargs=1) at vm.c:1608
#54 0x00007902a5867c5a in scm_call_1 (proc=<optimized out>, arg1=<optimized out>, arg1@entry=0x7902a4f4f720) at eval.c:496
#55 0x00007902a586fbc1 in scm_c_primitive_eval (exp=0x7902a4f4f720) at eval.c:663
#56 0x00007902a4795206 in ?? ()
#57 0x00007902a54f2380 in ?? () from /usr/lib/libc.so.12
#58 0x00007902a506ed80 in ?? ()
#59 0x00007902a47951e0 in ?? ()
#60 0x00007902a58a44ef in scm_jit_enter_mcode (thread=0x7902a4e6e1f4, mcode=0x7902a47951e0 "I\211\314I)\304I\203\020\017\205\177") at jit.c:6038
#61 0x00007902a59032a6 in vm_regular_engine (thread=0x7902a506ed80) at vm-engine.c:360
#62 0x00007902a5911ce8 in scm_call_n (proc=<optimized out>, argv=<optimized out>, nargs=1) at vm.c:1608
#63 0x00007902a5868193 in scm_primitive_eval (exp=<optimized out>) at eval.c:671
#64 0x00007902a58a81b0 in scm_primitive_load (filename=filename@entry=0x7902a4f4c520) at load.c:131
#65 0x00007902a58ab56a in scm_primitive_load_path (args=<optimized out>) at load.c:1267
#66 0x00007902a590355b in vm_regular_engine (thread=0x7902a506ed80) at vm-engine.c:972
#67 0x00007902a5911ce8 in scm_call_n (proc=<optimized out>, argv=<optimized out>, nargs=1) at vm.c:1608
#68 0x00007902a586f9a2 in eval (x=<optimized out>, env=<optimized out>) at eval.c:356
#69 0x00007902a4795206 in ?? ()
#70 0x00007902a54f2380 in ?? () from /usr/lib/libc.so.12
#71 0x00007902a506ed80 in ?? ()
#72 0x00007902a47951e0 in ?? ()
#73 0x00007902a58a44ef in scm_jit_enter_mcode (thread=0x7902a4e6e1f4, mcode=0x7902a47951e0 "I\211\314I)\304I\203\020\017\205\177") at jit.c:6038
#74 0x00007902a59032a6 in vm_regular_engine (thread=0x7902a506ed80) at vm-engine.c:360
#75 0x00007902a5911ce8 in scm_call_n (proc=<optimized out>, argv=<optimized out>, nargs=1) at vm.c:1608
#76 0x00007902a5868193 in scm_primitive_eval (exp=<optimized out>) at eval.c:671
#77 0x00007902a58a81b0 in scm_primitive_load (filename=filename@entry=0x7902a4efd920) at load.c:131
#78 0x00007902a58ab56a in scm_primitive_load_path (args=<optimized out>) at load.c:1267
#79 0x00007902a588a701 in scm_load_startup_files () at init.c:227
#80 0x00007902a588d7a2 in scm_i_init_guile (base=<optimized out>) at init.c:509
#81 0x00007902a590010c in scm_i_init_guile (base=0x7f7fff3046e0) at init.c:357
#82 scm_i_init_thread_for_guile.part.0.lto_priv.0 (base=0x7f7fff3046e0, dynamic_state=0x0) at threads.c:570
#83 0x00007902a58fefe6 in scm_i_init_thread_for_guile (dynamic_state=0x0, base=0x7f7fff3046e0) at threads.c:653
#84 with_guile (base=0x7f7fff3046e0, data=0x7f7fff304720) at threads.c:638
#85 0x00007902a57cd995 in GC_call_with_stack_base (fn=fn@entry=0x7902a58feef9 <with_guile>, arg=arg@entry=0x7f7fff304720) at extra/../misc.c:2173
#86 0x00007902a58f665c in scm_i_with_guile (dynamic_state=<optimized out>, data=<optimized out>, func=<optimized out>) at threads.c:688
#87 scm_with_guile (func=<optimized out>, data=<optimized out>) at threads.c:694
#88 0x00007902a588a775 in scm_boot_guile (argc=argc@entry=6, argv=argv@entry=0x7f7fff304818, main_func=main_func@entry=0x6cb4c0 <inner_main>, closure=closure@entry=0x0) at init.c:295
#89 0x00000000006cb57a in main (argc=6, argv=0x7f7fff304818) at guile.c:94
Home |
Main Index |
Thread Index |
Old Index