From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 2 00:25:43 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 001394B8; Mon, 2 Dec 2013 00:25:42 +0000 (UTC) Received: from smtpauth4.wiscmail.wisc.edu (wmauth4.doit.wisc.edu [144.92.197.145]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C196B11A8; Mon, 2 Dec 2013 00:25:42 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth4.wiscmail.wisc.edu by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MX500800KOXQI00@smtpauth4.wiscmail.wisc.edu>; Sun, 01 Dec 2013 18:25:40 -0600 (CST) X-Spam-PmxInfo: Server=avs-4, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.12.2.1814, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from comporellon.tachypleus.net (adsl-76-208-69-44.dsl.mdsnwi.sbcglobal.net [76.208.69.44]) by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MX50079ML6RPF00@smtpauth4.wiscmail.wisc.edu>; Sun, 01 Dec 2013 18:25:40 -0600 (CST) Message-id: <529BD383.508@freebsd.org> Date: Sun, 01 Dec 2013 18:25:39 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 To: Aleksander , freebsd-hackers@freebsd.org Subject: Re: modyfing cross toolchain compilation References: In-reply-to: X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Dec 2013 00:25:43 -0000 On 10/21/13 01:38, Aleksander wrote: > hello! > > Few days ago, when playing with linux-ppc, I have identified a bug with > PowerPC toolchain. It turns out that PowerPC e500 core is not compilant > with generic ppc ISA - it lacks of 'lwsync' instruction. This instruction > is used in libstdc++.so library, so I need to modify toolchain build > process by adding -me500v2 option, when building libraries. Can you tell > me how to do it, so I can test this potential soluton? > This is fixed now in the E500 kernel by adding emulation of the lwsync instruction. -Nathan