See attached build log.
(Please do not complain about the need for looking at the build log until you can provide an easy way to open bugs with the correct data picked out of a tinderbox log. Thanks.)
Created attachment 247393 [details]
This appears to have been fixed in piozone-1.0-r3.
Created attachment 343110 [details, diff]
patch against latest ebuild
The ldflags issue is indeed fixes with latest version. However, there was a warning "please use append-cppflags for preprocessor flags". I've updated the ebuild to use append-cppflags instead of append-flags. The warning is gone now. I also raised eapi to 4 and kill the die. Please review