From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30617 invoked by alias); 27 Oct 2010 12:38:03 -0000 Received: (qmail 30608 invoked by uid 22791); 27 Oct 2010 12:38:03 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Oct 2010 12:38:01 +0000 From: "viriketo at gmail dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug libc/12123] SIGBUS on strstr_sse42 due to bad alignment X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: viriketo at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Wed, 27 Oct 2010 12:38:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00173.txt.bz2 Message-ID: <20101027123800.0qCcZ4pgs72n5ikw6-2SFhxzWBq2U_KoqJA70px3O1M@z> http://sourceware.org/bugzilla/show_bug.cgi?id=3D12123 --- Comment #16 from Llu=C3=ADs Batlle 2010-10-= 27 12:37:47 UTC --- (In reply to comment #15) > strstr.os was compiled with -mpreferred-stack-boundary=3D2 which implies > -mincoming-stack-boundary=3D2, so it is a compiler bug if it assumes bigg= er > alignment. So you think that, if the user asked "-mpreferred-stack-boundary=3D2", but = the function body has SSE vectors (that have to be 4w aligned), gcc should deci= de to align them properly to 4w instead of blindly setting a 2w stack alignmen= t, right? --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.