From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16510 invoked by alias); 6 Nov 2013 18:01:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15374 invoked by uid 48); 6 Nov 2013 17:59:35 -0000 From: "kcc at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/59018] [4.9 Regression] libsanitizer doesn't build for x32 Date: Wed, 06 Nov 2013 18:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kcc at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-11/txt/msg00526.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59018 --- Comment #5 from Kostya Serebryany --- > Can you try > > register void *r8 __asm__ ("r8") = newtls; > register int *r10 __asm__ ("r10") = child_tidptr; Yep, works! > But you need to enable x32 first on your OS, which requires > > 1. x32 enabled kernel, Linux kernel >= 3.4.0. > 2. x32 glibc. This does not match my system. :( Do you have a VM image (e.g. for VMWare player) with such a system? > > > > > 2. Is there any chance to test x32 off the clang tree, so that we keep the > > upstream tree x32-clean all the time? > > There was x32 port of llvm/clang last year. But only parts > of the x32 patches have been merged with llvm. Do you need help with this? I'll be on the LLVM dev meeting today and tomorrow, may at least ask around.