From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16460 invoked by alias); 4 Apr 2002 01:16:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 16446 invoked by uid 71); 4 Apr 2002 01:16:01 -0000 Date: Wed, 03 Apr 2002 17:16:00 -0000 Message-ID: <20020404011601.16445.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Dylan Cuthbert" Subject: Re: c++/6144: segment-faults when using sse extensions and ia32 g++ Reply-To: "Dylan Cuthbert" X-SW-Source: 2002-04/txt/msg00272.txt.bz2 List-Id: The following reply was made to PR c++/6144; it has been noted by GNATS. From: "Dylan Cuthbert" To: Cc: Subject: Re: c++/6144: segment-faults when using sse extensions and ia32 g++ Date: Thu, 4 Apr 2002 10:12:33 +0900 > I find that I must use -mpreferred-stack-boundary=4 along with > -march=pentium3 -mfpmath=sse in order to avoid the alignment fault when > running on linux. I expect this when using my preferred option -Os, but the > same occurs with other options. I am having some difficulty on cygwin with > failure to link the namespace std methods. I am not so proficient in c++, so > please excuse my blunders. > -- > Tim Prince So you are getting the same problem on the linux platform too? I can see why -mpreferred-stack-boundary=4 would work but you get the problem even with this option enabled (and others)? When you compile the C++ code use -L /usr/local/lib to tell g++ v3.1 to get its system libraries from there (for some reason it doesn't default to that which is odd). Regards Dylan Cuthbert