public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Mahyar Shokraeian <mahyarshokraeian@live.com>
To: "crossgcc@sourceware.org" <crossgcc@sourceware.org>
Subject: Multilibs FDPIC build error
Date: Sat, 28 Aug 2021 16:27:15 +0000	[thread overview]
Message-ID: <AM8PR05MB729942524C99C75A3799F858A2C99@AM8PR05MB7299.eurprd05.prod.outlook.com> (raw)

when multilibs is enabled it says “cc1: sorry, unimplemented: FDPIC mode is not supported in Thumb-1 mode” and when it’s disabled it says “Error: Relocation supported only in FDPIC mode”.
It seems that it’s building libpthread in several configurations, include a thumb-1 one, which is not supported.
And it seems that when multilibs is not enabled, it attempts to build something with FDPIC relocations but without passing FDPIC flag.

I’ve discussed about this issue at the gcc-help mailing list and here’s the link to it:
https://gcc.gnu.org/pipermail/gcc-help/2021-August/140646.html


Mahyar Shokraeian
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows


             reply	other threads:[~2021-08-28 16:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-28 16:27 Mahyar Shokraeian [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-28 13:07 Mahyar Shokraeian

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=AM8PR05MB729942524C99C75A3799F858A2C99@AM8PR05MB7299.eurprd05.prod.outlook.com \
    --to=mahyarshokraeian@live.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).