# HG changeset patch # User "Yann E. MORIN" # Date 1298413662 -3600 # Node ID 578509ec492d643d86461836648aedc03410d522 # Parent dc4c695cdcd9a30ae2914e7ed72c1ca3c52e214d cc/gcc: do not build plugins for static toolchains Plugins are shared objects, and when building a toolchain statically, the gcc build system breaks havok (although there is no hard technical reasons it should not be possible)... And consequently, do not enable plugin supoprt in binutils. Reported-by: Thomas Spurden Signed-off-by: "Yann E. MORIN" (transplanted from 9139319423fd7d71017dfc974d3a06ab79e08fb8) diff -r dc4c695cdcd9 -r 578509ec492d config/binutils/binutils.in --- a/config/binutils/binutils.in Mon Feb 21 14:39:24 2011 +0100 +++ b/config/binutils/binutils.in Tue Feb 22 23:27:42 2011 +0100 @@ -168,6 +168,7 @@ bool prompt "Enable support for plugins" depends on BINUTILS_HAS_PLUGINS + depends on ! STATIC_TOOLCHAIN help binutils can be extended through the use of plugins. Especially, gold can use the lto-plugin, as installed diff -r dc4c695cdcd9 -r 578509ec492d config/cc/gcc.in --- a/config/cc/gcc.in Mon Feb 21 14:39:24 2011 +0100 +++ b/config/cc/gcc.in Tue Feb 22 23:27:42 2011 +0100 @@ -182,6 +182,7 @@ config CC_GCC_ENABLE_PLUGINS bool depends on BINUTILS_PLUGINS + depends on ! STATIC_TOOLCHAIN default y # If binutils installs gold, enable support for gold in gcc