From owner-freebsd-current@FreeBSD.ORG Tue Oct 14 19:02:22 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CC3A106569A for ; Tue, 14 Oct 2008 19:02:22 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 5E13F8FC39 for ; Tue, 14 Oct 2008 19:02:22 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so2289671wfg.7 for ; Tue, 14 Oct 2008 12:02:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=H8JdcWGhFxf4y9UIUvkoIHyfxlDbYmDks8rSqLH1Ieg=; b=smWSWaX2esTRbaOfVDhUWXacBwnQEJK/XH8+/eNIym8E9ReeTjvsJYrzfkDVpcExPV BsgVoV9hCBcP6J5ud69rQvuKtMcuK7ZVew+PlrcMQZqVdhiBwS/iwGKsLRVeSgp0xU1F xe+PjGWqbfutJFcRozjWlC0GLPRS/GMb6nh/Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fDKtDuMn0zxcqldyklKUgvUgU+hkcKHoQ5v/TatH+r+YutafMdhfG9f78NRtFskwBO t4T6/T9i/+Jwzy1/Ik3lTg/JbFvgKhzog8csOBUmQ7Bl2GztXkLeUyRlJKTubRKzKobm B22FNcVA4n/zidUxAMqTa0WLAhD4qQB/Pk7qU= Received: by 10.114.12.9 with SMTP id 9mr61108wal.121.1224010941735; Tue, 14 Oct 2008 12:02:21 -0700 (PDT) Received: by 10.114.103.7 with HTTP; Tue, 14 Oct 2008 12:02:21 -0700 (PDT) Message-ID: <790a9fff0810141202g406d12cftb4f8886d4d8a66e4@mail.gmail.com> Date: Tue, 14 Oct 2008 14:02:21 -0500 From: "Scot Hetzel" To: "Pietro Cerutti" In-Reply-To: <48F4A13D.7080507@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <790a9fff0810130922n7afc10faje3459c09de575be6@mail.gmail.com> <48F4A13D.7080507@FreeBSD.org> Cc: freebsd-current@freebsd.org, Erik Cederstrand Subject: Re: cc1plus: internal compiler error: Segmentation fault: 11 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2008 19:02:22 -0000 On 10/14/08, Pietro Cerutti 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