[Bug bootstrap/56601] OpenBSD lto-plugin fails to use
mail@waldemar-brodkorb.de
gcc-bugzilla@gcc.gnu.org
Thu Jan 16 06:59:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56601
--- Comment #5 from mail@waldemar-brodkorb.de ---
Hi,
following change fixed it for me:
diff -Nur gcc-4.7.3.orig/gcc/config.host gcc-4.7.3/gcc/config.host
--- gcc-4.7.3.orig/gcc/config.host Tue Oct 18 08:14:14 2011
+++ gcc-4.7.3/gcc/config.host Tue Jan 7 04:33:29 2014
@@ -292,6 +292,9 @@
out_host_hook_obj=host-solaris.o
host_xmake_file="${host_xmake_file} x-solaris"
;;
+ *-*-openbsd*)
+ host_lto_plugin_soname=liblto_plugin.so.0.0
+ ;;
*-*-linux*)
out_host_hook_obj=host-linux.o
host_xmake_file="${host_xmake_file} x-linux"
More information about the Gcc-bugs
mailing list