nasty `ar' crash while building guile with gub

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

nasty `ar' crash while building guile with gub

Werner LEMBERG

My attempts to build lilypond (or rather guile) with gub are stopped
in the `tools' stage since a few days due to a nasty crash in `ar' in
combination with its `LLVMgold.so' plugin on openSuSE 42.3, cf.

  https://bugzilla.opensuse.org/show_bug.cgi?id=1117239

Does anybody else experience this issue?

Finding the above cost me hours of investigation :-/ I now believe to
know how to circumvent the issue locally, namely by adding a link to
`liblto_plugin.so' (which comes with gcc) in `/usr/lib/bfd-plugins'
and modifying the `AR_FLAGS' (and/or `ARFLAGS') environment variable
to also hold a `--plugin=liblto_plugin.so' option.  Will test that
soon.

I wonder whether it makes sense to add `binutils' to gub not only for
cross compilation but to the `tools' stage also.  If we build that
with `--disable-plugins', the above issue should completely vanish...


    Werner

_______________________________________________
lilypond-devel mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-devel