From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MkZW8-0005CI-0h for qemu-devel@nongnu.org; Mon, 07 Sep 2009 04:24:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MkZW7-0005Bi-5I for qemu-devel@nongnu.org; Mon, 07 Sep 2009 04:24:03 -0400 Received: from [199.232.76.173] (port=55654 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MkZW7-0005Bc-09 for qemu-devel@nongnu.org; Mon, 07 Sep 2009 04:24:03 -0400 Received: from lechat.rtp-net.org ([88.191.19.38]:57829) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MkZW6-0005oA-Lj for qemu-devel@nongnu.org; Mon, 07 Sep 2009 04:24:02 -0400 From: Arnaud Patard (Rtp) Subject: Re: [Qemu-devel] [PATCH v4 2/2] Build usermode targets as PIE References: <1252067286-21758-1-git-send-email-kirill@shutemov.name> <1252067286-21758-2-git-send-email-kirill@shutemov.name> <877hwfhvzm.fsf@lechat.rtp-net.org> Date: Mon, 07 Sep 2009 10:29:29 +0200 In-Reply-To: (Kirill A. Shutemov's message of "Fri\, 4 Sep 2009 13\:14\:45 +0300") Message-ID: <87ab17gnti.fsf@lechat.rtp-net.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Kirill A. Shutemov" Cc: Paolo Bonzini , Riku Voipio , qemu-devel@nongnu.org, Paul Brook , Juan Quintela "Kirill A. Shutemov" writes: Hi, >> Unfortunately, the broken mips toolchain pass this test. When you >> compile, you're getting no warning at all. Moreover, the failure is >> triggered at run-time (and this test doesn't trigger it). See >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526961 if you want >> something which segfault with pie. >> I don't know if there are some other non-mips toolchains with broken pie >> and what's their behaviour. I hope it's crashing too... > > Where can I get a mips cross-compiler with this issue to play? No, sorry. I'm building mips stuff only natively. Fortunately, this is a toolchain bug so this should be reproductible if you use qemu to emulate a mips box running debian for mipsel. Arnaud