public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/100269] New: [12 Regression] i686 biarch compiler fails for Darwin after r12-36.
@ 2021-04-26 14:51 iains at gcc dot gnu.org
2021-04-26 14:53 ` [Bug bootstrap/100269] " iains at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2021-04-26 14:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100269
Bug ID: 100269
Summary: [12 Regression] i686 biarch compiler fails for Darwin
after r12-36.
Product: gcc
Version: 10.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: iains at gcc dot gnu.org
Target Milestone: ---
With the fix at r12-50-ga44895ce7ffbc26b4d765c40b5b346f8c9a9b762 applied,
bootstrap still fails for a 32b host with a 64b multilib.
$ ./gcc/xgcc -Bgcc -E -dM -m64 -xc /dev/null
cc1: sorry, unimplemented: 64-bit mode not compiled in
this is coming from i386-options.c:2050+
if ((TARGET_64BIT_P (opts->x_ix86_isa_flags) != 0)
!= ((opts->x_ix86_isa_flags & OPTION_MASK_ISA_64BIT) != 0))
sorry ("%i-bit mode not compiled in",
(opts->x_ix86_isa_flags & OPTION_MASK_ISA_64BIT) ? 64 : 32);
unfortunately, it is not obvious to me what fix I need to make here.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/100269] [12 Regression] i686 biarch compiler fails for Darwin after r12-36.
2021-04-26 14:51 [Bug bootstrap/100269] New: [12 Regression] i686 biarch compiler fails for Darwin after r12-36 iains at gcc dot gnu.org
@ 2021-04-26 14:53 ` iains at gcc dot gnu.org
2021-04-27 7:09 ` [Bug target/100269] " rguenth at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2021-04-26 14:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100269
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-04-26
Status|UNCONFIRMED |NEW
Target| |i686-darwin
Version|10.2.1 |12.0
Keywords| |build
CC| |marxin at gcc dot gnu.org
Target Milestone|--- |12.0
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/100269] [12 Regression] i686 biarch compiler fails for Darwin after r12-36.
2021-04-26 14:51 [Bug bootstrap/100269] New: [12 Regression] i686 biarch compiler fails for Darwin after r12-36 iains at gcc dot gnu.org
2021-04-26 14:53 ` [Bug bootstrap/100269] " iains at gcc dot gnu.org
@ 2021-04-27 7:09 ` rguenth at gcc dot gnu.org
2021-04-28 20:28 ` iains at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-27 7:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100269
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
Component|bootstrap |target
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/100269] [12 Regression] i686 biarch compiler fails for Darwin after r12-36.
2021-04-26 14:51 [Bug bootstrap/100269] New: [12 Regression] i686 biarch compiler fails for Darwin after r12-36 iains at gcc dot gnu.org
2021-04-26 14:53 ` [Bug bootstrap/100269] " iains at gcc dot gnu.org
2021-04-27 7:09 ` [Bug target/100269] " rguenth at gcc dot gnu.org
@ 2021-04-28 20:28 ` iains at gcc dot gnu.org
2021-07-04 19:39 ` cvs-commit at gcc dot gnu.org
2021-07-06 13:05 ` iains at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2021-04-28 20:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100269
--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> ---
Created attachment 50705
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50705&action=edit
patch under test
It doesn't seem that the rationale for the changes in r12-35/36 is captured
anywhere I could find - and the commit messages don't contain anything helpful.
This is my current guess at a more complete fix .. I tried it on i686-darwin9
(with an m64 multilib) and x86_64-darwin17 (with an m32 multilib) - but I
haven't tried it on a system with no multilib (e.g. x86_64-darwin20).
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/100269] [12 Regression] i686 biarch compiler fails for Darwin after r12-36.
2021-04-26 14:51 [Bug bootstrap/100269] New: [12 Regression] i686 biarch compiler fails for Darwin after r12-36 iains at gcc dot gnu.org
` (2 preceding siblings ...)
2021-04-28 20:28 ` iains at gcc dot gnu.org
@ 2021-07-04 19:39 ` cvs-commit at gcc dot gnu.org
2021-07-06 13:05 ` iains at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-07-04 19:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100269
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Iain D Sandoe <iains@gcc.gnu.org>:
https://gcc.gnu.org/g:d07092a61d5a6907b2d92563e810bf5bb8e61c01
commit r12-1999-gd07092a61d5a6907b2d92563e810bf5bb8e61c01
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Fri Apr 30 16:20:42 2021 +0100
Darwin, config : Adjust X86 biarch definitions ordering [PR100269].
This reorganises the biarch definitions to cater for the
macro changes and removals at r12-36.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
PR target/100269 - [12 Regression] i686 biarch compiler fails for Darwin
after r12-36.
PR target/100269
gcc/ChangeLog:
PR target/100269
* config.gcc: Ensure that Darwin biarch definitions are
added before i386.h.
* config/i386/darwin.h (TARGET_64BIT): Remove.
(PR80556_WORKAROUND): New.
(REAL_LIBGCC_SPEC): Amend to use PR80556_WORKAROUND.
(DARWIN_SUBARCH_SPEC): New.
* config/i386/darwin32-biarch.h (TARGET_64BIT_DEFAULT,
TARGET_BI_ARCH, PR80556_WORKAROUND): New.
(REAL_LIBGCC_SPEC): Remove.
* config/i386/darwin64-biarch.h (TARGET_64BIT_DEFAULT,
TARGET_BI_ARCH, PR80556_WORKAROUND): New.
(REAL_LIBGCC_SPEC): Remove.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/100269] [12 Regression] i686 biarch compiler fails for Darwin after r12-36.
2021-04-26 14:51 [Bug bootstrap/100269] New: [12 Regression] i686 biarch compiler fails for Darwin after r12-36 iains at gcc dot gnu.org
` (3 preceding siblings ...)
2021-07-04 19:39 ` cvs-commit at gcc dot gnu.org
@ 2021-07-06 13:05 ` iains at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2021-07-06 13:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100269
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> ---
fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-07-06 13:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26 14:51 [Bug bootstrap/100269] New: [12 Regression] i686 biarch compiler fails for Darwin after r12-36 iains at gcc dot gnu.org
2021-04-26 14:53 ` [Bug bootstrap/100269] " iains at gcc dot gnu.org
2021-04-27 7:09 ` [Bug target/100269] " rguenth at gcc dot gnu.org
2021-04-28 20:28 ` iains at gcc dot gnu.org
2021-07-04 19:39 ` cvs-commit at gcc dot gnu.org
2021-07-06 13:05 ` iains at gcc dot gnu.org
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).