2) liblto_plugin.* is missing in generated gcc-4.6 binary package Please add "kfreebsd-i386 kfreebsd-amd64" into "gold_archs" in debian/rules.defs or test against DEB_TARGET_ARCH_CPU instead of DEB_TARGET_ARCH for "with_gold".
Oh, ld.gold is not available on kfreebsd-*. But without liblto_plugin.* gcc-4.6 ends with $ gcc-4.6 a.c gcc-4.6: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found compilation terminated. The liblto_plugin.* have to be installed on kfreebsd-* somehow. or -fno-use-linker-plugin have to be default. Petr