From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 87212 invoked by alias); 28 Jun 2019 16:27:39 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 87199 invoked by uid 89); 28 Jun 2019 16:27:39 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*r:sk:crossgc, HTo:U*crossgcc X-HELO: mail-wm1-f53.google.com Received: from mail-wm1-f53.google.com (HELO mail-wm1-f53.google.com) (209.85.128.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 28 Jun 2019 16:27:38 +0000 Received: by mail-wm1-f53.google.com with SMTP id s3so9673136wms.2 for ; Fri, 28 Jun 2019 09:27:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=wz73YIVHg7YSxx65n46oBjPWWCYkNeoB4riFiy6dHYY=; b=VmPxiqTm1oiKCh8osZx9alse5U7hoabOJDoWfuZOtJSkRIogcwBeEkOA5Cdlao/cOk zQheZSvahGj/cN5BXdGfu3B2viaBuFjwNQb/Z5wxAlAhQLaYFBFNAc8FjQ0QwoMCETLP DeQiSY7K3eWbCioCpGU834TYGH6PdTCd5Tliw4J1a7WRm4jHEHj+QgfBsh5zfBMQr9ls ZwHk9IpfhMLNJs740wDuQgWc/OxWgbRGX3IGVGPXZUI4QUZMgBtmohj8B6OvSUIHxI1C 6o9F5p3kz9EfPgBD06DiKUGkii79zxK/BiyOCDDwfRpzMsvabv7i1clX6ViPjhBUN4Q0 3Enw== Return-Path: Received: from kontron.lan (2001-1ae9-0ff1-f191-800e-da3f-d8f0-22b3.ip6.tmcz.cz. [2001:1ae9:ff1:f191:800e:da3f:d8f0:22b3]) by smtp.gmail.com with ESMTPSA id o2sm3402631wrq.56.2019.06.28.09.27.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Jun 2019 09:27:35 -0700 (PDT) To: crossgcc@sourceware.org From: Petr Cvek Subject: MIPS soft/hard float multilib Message-ID: Date: Fri, 28 Jun 2019 16:27:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-06/txt/msg00003.txt.bz2 Hello, I would like to generate a toolchain for an MT7628 setup, which has this configuration: -mdsp -march=24kec -msoft-float but with possibility for -mhard-float Is it possible to configure the crosstool-ng for both floats? I always end up with either gnu/stubs-o32_soft.h or gnu/stubs-o32_hard.h missing (these seems to be part of the glibc). I've tried to set: CT_MULTILIB=y CT_CC_GCC_MULTILIB_LIST="march=24kec/mips32r2 msoft-float/mhard-float mdsp" CT_TARGET_CFLAGS="-mdsp -march=24kec" but it still generates only one stubs-o32 version. Also it seems glibc gets compiled only with a default -mips32r2 flag, so later (in buildroot) linking with -mdsp objects fails as the plain mips32r2 doesn't support mdsp instructions. GCC version 8.3.0, glibc version 2.29 Thanks for help Petr