gcc Heisenbug

In my last post, when I endeavored to enter a gcc bug regarding the internal compiler error when compiling FFmpeg on PPC, I could not reproduce the problem when I separated the compiler from ccache. I finally got, umm, lucky when the FFmpeg tree got into a state when the compiler threw the error without ccache’s involvement.

So I followed the steps outlined for a proper, useful bug reporting page, as listed on gcc’s bug reporting page. I added the -save-temps option to the command line…

…and the compiler no longer crashes.

The term here is Heisenbug.

Anyway, I have finally entered a bug in order to start tracking this issue.

6 thoughts on “gcc Heisenbug

  1. Multimedia Mike Post author

    To do so would be to challenge the infallibility of Apple hardware. Heresy.

  2. Multimedia Mike Post author

    No, though I did try running it under gdb, which is something that is not allowed, apparently.

Comments are closed.