memtest86 has problems compiling with gcc3 (there exist a few other bugs that are resolved) -- but with gcc-2.95.3 it compiles and works fine. as the precompiled binary does not include serial-support it's not a very clean way to install it. the attached diff tries to add some logic to use gcc-2.95.3 if installed -- it may be done more cleanly for sure but it works here. Reproducible: Always Steps to Reproduce:
Created attachment 22129 [details] diff for adding compile-option with gcc-2.95.3
fixing the problems with gcc-3 would be the better solution
agreed -- but till then almost any solution is better than none. if fact the current package is a "-bin" package.
a new version seems to be out: http://www.memtest.org/ according to the above site this version is based on memtest86. bug #38828 contains an ebuild for the new version (also only installing the prebuilt version). maybe it's not needed to handle this one (memtest86 v3) any more and it's better to focus on memtest86+ v1?
Fixed in Portage, it uses the same solution as memtest86+.