From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 21 06:38:09 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B2416A10 for ; Mon, 21 Oct 2013 06:38:09 +0000 (UTC) (envelope-from adutkowski@gmail.com) Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com [IPv6:2607:f8b0:4003:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7F1592DDA for ; Mon, 21 Oct 2013 06:38:09 +0000 (UTC) Received: by mail-oa0-f47.google.com with SMTP id i18so1436363oag.20 for ; Sun, 20 Oct 2013 23:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=27UkU567cAqwHQY1APm6iQT3vVp8YP35ph0SF7/q74s=; b=gnxuOm4kJQy8ciudjkwvri3rHbQ5+CoBkb43aNO7dqPLkPpIuFG3iX3ddf+0Z4Fnbo 7X1Zih1b9Kwya9SQGCECh8R39CXma8Sgfdd/+fZzjUmmDXfdwTtc8u/dFEo20qXvpWVK KqwtMsAwiEU+DGmGrw5A5sINQ9IcpkgzjeNeXzLhP/reEDwOtx5cjgJbbggO6OJmE1y/ tNTpIbK3Hd/ogH9lJT1tII+iOO79dhRk2sZS56YBYI3GvA0zbpW+OXsv4EDNNq/n8YN+ uEYKXE4eNWOKIMn1gqCz7xPUzrNdsKH43leffklkbVuKPEFLV/nz07kCr0klM21vrajU czYw== MIME-Version: 1.0 X-Received: by 10.182.121.137 with SMTP id lk9mr19385310obb.32.1382337488647; Sun, 20 Oct 2013 23:38:08 -0700 (PDT) Sender: adutkowski@gmail.com Received: by 10.76.132.9 with HTTP; Sun, 20 Oct 2013 23:38:08 -0700 (PDT) Date: Mon, 21 Oct 2013 08:38:08 +0200 X-Google-Sender-Auth: nklCvpQxzlAwatX8-LlZg-SKPsw Message-ID: Subject: modyfing cross toolchain compilation From: Aleksander To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 06:38:09 -0000 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? -- regards aleek