pretrace-0.4 fails to compile correctly with LDFLAGS="-Wl,--as-needed" because the library is included before the object file that uses it (so as-needed strips it out). One patch to follow.
Created attachment 83661 [details, diff] pretrace-0.4-as-needed.patch Patch for --as-needed failure in pretrace-0.4
fixed upstream in svn. re-assining to tavis to fix the ebuild. thanks for the report/patch :)
fixed in cvs, thanks!