Sorry, forgot to say: Yes, you are supposed to use the gcc- wrappers and it works when you do. (I had the same problem.)
Bug#731393: Acknowledgement (gcc-snapshot: "undefined reference" link error when compiling with LTO)
- Bug#731393: Acknowledgement (gcc-snapshot: "undefined... Miles Bader
- Bug#731393: Acknowledgement (gcc-snapshot: "unde... Tillmann Karras