Created attachment 382518 [details] dev-db:mysql++-3.1.0:20140808-092822.log It looks like 3.2.1 has a patch for this (inexplicably named "*-gold.patch" while it's a somewhat grander underlinking bug. Index: mysql++-3.1.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-3.1.0.ebuild,v retrieving revision 1.7 diff -u -B -r1.7 mysql++-3.1.0.ebuild --- mysql++-3.1.0.ebuild 25 May 2013 07:42:38 -0000 1.7 +++ mysql++-3.1.0.ebuild 8 Aug 2014 09:45:55 -0000 @@ -21,6 +21,7 @@ src_prepare() { epatch "${FILESDIR}"/${PN}-3.0-gcc-as-needed.patch + epatch "${FILESDIR}"/${PN}-3.2.1-gold.patch for i in "${S}"/lib/*.h ; do sed -i \