public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Petr Cvek <petrcvekcz@gmail.com>
To: crossgcc@sourceware.org
Subject: MIPS soft/hard float multilib
Date: Fri, 28 Jun 2019 16:27:00 -0000	[thread overview]
Message-ID: <f9a19c8c-bc5b-9aa5-e18c-0f3990ed424c@gmail.com> (raw)

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

                 reply	other threads:[~2019-06-28 16:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f9a19c8c-bc5b-9aa5-e18c-0f3990ed424c@gmail.com \
    --to=petrcvekcz@gmail.com \
    --cc=crossgcc@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).