From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24163 invoked by alias); 11 Jun 2006 22:39:32 -0000 Received: (qmail 24141 invoked by uid 48); 11 Jun 2006 22:39:26 -0000 Date: Sun, 11 Jun 2006 23:10:00 -0000 Subject: [Bug c/27992] New: random segfaults X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "thomas at koeller dot dyndns dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg01147.txt.bz2 List-Id: I am encountering random segfaults when compiling sources. If I restart the compilation after such a segfault, everything goes well. I found two older bug reports that describe this phenomenon, namely http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9592 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10227. Remarkably, like the authors of these bug reports, I am using an AMD Athlon K7 Processor. Having used various gcc versions through the years, I have always encountered this problem, cannot remember when it started. Trying to use the -save-temps option to get preprocessed source code I found that this made the problem disappear, and it turned out that it seems to be the -pipe option, which I used all the time, was what caused the problem. I ran some tests on my system to make sure that pipes are working, and found no problems. Also, my system runs just fine and does not show any signs of instability. I am positive that memory is o.k. When compiling sources; I am normally using these settings: CC="/usr/gcc/bin/gcc -march=athlon -mmmx -m3dnow" CXX="/usr/gcc/bin/g++ -march=athlon -mmmx -m3dnow" CFLAGS="-pipe -O3 -fomit-frame-pointer" CXXFLAGS="-pipe -O3 -fomit-frame-pointer" -- Summary: random segfaults Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: thomas at koeller dot dyndns dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27992