On Sun, Aug 31, 2014 at 01:09:31AM +0100, Jose M Calhariz wrote:
> 
> I can confirm the Bug.  Following the discussion in
> http://forum.canardpc.com/threads/83443-Memtest86-V5.01-crashes-with-gcc-4.7.2-or-later
> reducing the optimization from -O1 to -O0 and a small patch to the
> file io.h make memtest86 work again.

Thanks for finding this!

http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/4/SRPMS/core/release/memtest86+-5.01-5.mga4.src.rpm
 also have other interesting fixes, BTW.

However I have issues with the patch: -O0 disables quite a lot of
optimisations, and we surely don't want to disable all those that are
not buggy.  I haven't looked in depth, but the additional required
changes are probably a consequence of this.

Additionally, we don't even know what the gcc problem is, ir even if
it has been reported to the gcc team.  Having more detailed
information would allow to link to 2 problems.

If nobody has the detailed info, I'll try to find the time this week
to identify the faulty flag.

Best regards,
-- 
Yann


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to