public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tobias Burnus <tburnus@baylibre.com>
To: Evgeny Karpov <Evgeny.Karpov@microsoft.com>,
	"gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Cc: "richard.sandiford@arm.com" <richard.sandiford@arm.com>,
	"Richard Earnshaw (lists)" <Richard.Earnshaw@arm.com>,
	Radek Barton <radek.barton@microsoft.com>,
	Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>,
	"ubizjak@gmail.com" <ubizjak@gmail.com>,
	"10walls@gmail.com" <10walls@gmail.com>
Subject: x86_64-gnu-linux bootstrap fail (was: [PATCH v2 2/6] Extract ix86 dllimport implementation to mingw)
Date: Tue, 25 Jun 2024 12:02:55 +0200	[thread overview]
Message-ID: <fcbe1bbb-5720-4acd-946b-c3cbd8094e00@baylibre.com> (raw)
In-Reply-To: <DBBPR83MB06139B8CDEA1CC95D80F9E65F8FB2@DBBPR83MB0613.EURPRD83.prod.outlook.com>

Hi Evgeny,

I am not sure whether I have chosen the right email in the thread but:
a x86-64 GNU Linux build currently fails as follows.

At a glance, it seems to be sufficient to remove the prototype 
declaration in i386.cc.

Namely:

gcc/config/i386/i386.cc:107:12: error: 'rtx_def* 
legitimize_dllimport_symbol(rtx, bool)' declared 'static' but never 
defined [-Werror=unused-function]
   107 | static rtx legitimize_dllimport_symbol (rtx, bool);
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~

gcc/gcc/config/i386/i386.cc:108:12: error: 'rtx_def* 
legitimize_pe_coff_extern_decl(rtx, bool)' declared 'static' but never 
defined [-Werror=unused-function]
   108 | static rtx legitimize_pe_coff_extern_decl (rtx, bool);
       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^Cmake[3]: *** [Makefile:2556: i386.o] Interrupt

There is:

config/i386/i386.cc:static rtx legitimize_dllimport_symbol (rtx, bool);
config/mingw/winnt-dll.cc:legitimize_dllimport_symbol (rtx symbol, bool 
want_reg)
config/mingw/winnt-dll.cc:      return legitimize_dllimport_symbol 
(addr, inreg);
config/mingw/winnt-dll.cc:        rtx t = legitimize_dllimport_symbol 
(XEXP (XEXP (addr, 0), 0), inreg);


And:

config/i386/i386.cc:static rtx legitimize_pe_coff_extern_decl (rtx, bool);
config/mingw/winnt-dll.cc:legitimize_pe_coff_extern_decl (rtx symbol, 
bool want_reg)
config/mingw/winnt-dll.cc:    return legitimize_pe_coff_extern_decl 
(addr, inreg);
config/mingw/winnt-dll.cc:      rtx t = legitimize_pe_coff_extern_decl 
(XEXP (XEXP (addr, 0), 0), inreg);

Tobias

  parent reply	other threads:[~2024-06-25 10:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-07  9:44 [PATCH v2 0/6] Add DLL import/export implementation to AArch64 Evgeny Karpov
2024-06-07  9:46 ` [PATCH v2 1/6] Move mingw_* declarations to the mingw folder Evgeny Karpov
2024-06-07  9:48 ` [PATCH v2 2/6] Extract ix86 dllimport implementation to mingw Evgeny Karpov
2024-06-07 11:11   ` Uros Bizjak
2024-06-08 12:37   ` Evgeny Karpov
2024-06-25 10:02   ` Tobias Burnus [this message]
2024-06-25 10:49     ` x86_64-gnu-linux bootstrap fail (was: [PATCH v2 2/6] Extract ix86 dllimport implementation to mingw) Evgeny Karpov
2024-06-07  9:49 ` [PATCH v2 3/6] Rename functions for reuse in AArch64 Evgeny Karpov
2024-06-07  9:50 ` [PATCH v2 4/6] aarch64: Add selectany attribute handling Evgeny Karpov
2024-06-07  9:51 ` [PATCH v2 5/6] Adjust DLL import/export implementation for AArch64 Evgeny Karpov
2024-06-07  9:52 ` [PATCH v2 6/6] aarch64: Add DLL import/export to AArch64 target Evgeny Karpov
2024-06-08 13:01 ` [PATCH v2 0/6] Add DLL import/export implementation to AArch64 Evgeny Karpov
2024-06-10  9:22 ` Evgeny Karpov
2024-06-26 15:55 ` Andrew Pinski
2024-06-26 18:41   ` [EXTERNAL] " Evgeny Karpov

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=fcbe1bbb-5720-4acd-946b-c3cbd8094e00@baylibre.com \
    --to=tburnus@baylibre.com \
    --cc=10walls@gmail.com \
    --cc=Evgeny.Karpov@microsoft.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=maxim.kuvyrkov@linaro.org \
    --cc=radek.barton@microsoft.com \
    --cc=richard.sandiford@arm.com \
    --cc=ubizjak@gmail.com \
    /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).