cc1plus: internal compiler error: Segmentation fault: 11

Scot Hetzel swhetzel at gmail.com
Tue Oct 14 19:02:22 UTC 2008


On 10/14/08, Pietro Cerutti <gahr at freebsd.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Erik Cederstrand wrote:
> |
> | Den 13/10/2008 kl. 18.22 skrev Scot Hetzel:
> |
> |> When I tried rebuilding the audio/pulseaudio port on -CURRENT, it
> |> would fail with:
> |> [...]
> |> cc1: internal compiler error: Segmentation fault: 11
> |>
> |> Is anyone able to reproduce these problems?
> |
> | "Segmentation fault: 11" from GCC is often a sign of bad RAM. Have you
> | tried to switch RAM modules?
>
> I'd try to switch optimizations off before going the hard way :)
>
It's not a problem with optimizations, as cc -I/nonexistent -lstdc++
-Wmissing-include-dirs test.cpp also results in this error.

I swapped the two 1GB RAM sticks with the original two 512M RAM, and
it also reproduced the Segmentation fault when
'-Wmissing-include-dirs' was used.  Without '-Wmissing-include-dirs'
both audio/pulseaudio and the test program compile.

Scot


More information about the freebsd-current mailing list