public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113655] New: Cross compiling to mips64-elf fails because "MIPS_EXPLICIT_RELOCS was not declared" after r14-8386-g58af788d1d0825
@ 2024-01-29 14:50 jamborm at gcc dot gnu.org
2024-01-29 16:23 ` [Bug target/113655] " syq at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: jamborm at gcc dot gnu.org @ 2024-01-29 14:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113655
Bug ID: 113655
Summary: Cross compiling to mips64-elf fails because
"MIPS_EXPLICIT_RELOCS was not declared" after
r14-8386-g58af788d1d0825
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: jamborm at gcc dot gnu.org
CC: syq at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux
Target: mips64-elf
Starting with r14-8386-g58af788d1d0825 (MIPS: Accept arguments for
-mexplicit-relocs), when I try to test that cross compilation from
x86_64-linux to target mips64-elf still works by configuring gcc with:
../src/configure --prefix=/home/mjambor/gcc/mine/inst --enable-languages=c,c++
--enable-checking=yes --disable-bootstrap --disable-multilib --enable-obsolete
--target=mips64-elf
and then building just the compiler with make -j64 all-host,
the compilation fails with:
options.cc:3474:3: error: ‘MIPS_EXPLICIT_RELOCS’ was not declared in this
scope; did you mean ‘MIPS_EXPLICIT_RELOCS_NON ’?
3474 | MIPS_EXPLICIT_RELOCS, /* mips_opt_explicit_relocs */
| ^~~~~~~~~~~~~~~~~~~~
| MIPS_EXPLICIT_RELOCS_NONE
Our buildbot reports failures when building a cross-compiler for
mips64el-st-linux-gnu, mips64octeon-linux, mipsisa64r2-linux,
mipsisa32r2-linux-gnu, mipsisa64r2-sde-elf, mipsisa32-elfoabi,
mipsisa64-elfoabi, mipsisa64r2el-elf, mipsisa64sr71k-elf,
mipsisa64sb1-elf, mips64-elf, mipsel-elf, mips64vr-elf,
mips64orion-elf, mips-rtems, mips-wrs-vxworks, mipstx39-elf and I
suspect the problem is the same or similar.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/113655] Cross compiling to mips64-elf fails because "MIPS_EXPLICIT_RELOCS was not declared" after r14-8386-g58af788d1d0825
2024-01-29 14:50 [Bug target/113655] New: Cross compiling to mips64-elf fails because "MIPS_EXPLICIT_RELOCS was not declared" after r14-8386-g58af788d1d0825 jamborm at gcc dot gnu.org
@ 2024-01-29 16:23 ` syq at gcc dot gnu.org
2024-01-29 16:32 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: syq at gcc dot gnu.org @ 2024-01-29 16:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113655
--- Comment #1 from YunQiang Su <syq at gcc dot gnu.org> ---
Thank for your report. It's due to a typo....
I will fix it now.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/113655] Cross compiling to mips64-elf fails because "MIPS_EXPLICIT_RELOCS was not declared" after r14-8386-g58af788d1d0825
2024-01-29 14:50 [Bug target/113655] New: Cross compiling to mips64-elf fails because "MIPS_EXPLICIT_RELOCS was not declared" after r14-8386-g58af788d1d0825 jamborm at gcc dot gnu.org
2024-01-29 16:23 ` [Bug target/113655] " syq at gcc dot gnu.org
@ 2024-01-29 16:32 ` cvs-commit at gcc dot gnu.org
2024-01-29 16:34 ` syq at gcc dot gnu.org
2024-01-30 5:49 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-01-29 16:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113655
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by YunQiang Su <syq@gcc.gnu.org>:
https://gcc.gnu.org/g:8e84b4fad149b9b9544c7b1fc61a45cf6139176e
commit r14-8500-g8e84b4fad149b9b9544c7b1fc61a45cf6139176e
Author: YunQiang Su <syq@gcc.gnu.org>
Date: Tue Jan 30 00:26:28 2024 +0800
MIPS: Fix typo in gcc/configure.ac: gcc_cv_as_mips_explicit
gcc_cv_as_mips_explicit should be gcc_cv_as_mips_explicit_relocs.
This was introduced in commit
58af788d1d0825187def434c95cab35a690a31b0.
gcc
PR target/113655
* configure.ac: Fix typo gcc_cv_as_mips_explicit should be
gcc_cv_as_mips_explicit_relocs.
* configure: Regnerated.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/113655] Cross compiling to mips64-elf fails because "MIPS_EXPLICIT_RELOCS was not declared" after r14-8386-g58af788d1d0825
2024-01-29 14:50 [Bug target/113655] New: Cross compiling to mips64-elf fails because "MIPS_EXPLICIT_RELOCS was not declared" after r14-8386-g58af788d1d0825 jamborm at gcc dot gnu.org
2024-01-29 16:23 ` [Bug target/113655] " syq at gcc dot gnu.org
2024-01-29 16:32 ` cvs-commit at gcc dot gnu.org
@ 2024-01-29 16:34 ` syq at gcc dot gnu.org
2024-01-30 5:49 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: syq at gcc dot gnu.org @ 2024-01-29 16:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113655
YunQiang Su <syq at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from YunQiang Su <syq at gcc dot gnu.org> ---
I think that this problem has been resolved.
If no, you can just reopen this report.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/113655] Cross compiling to mips64-elf fails because "MIPS_EXPLICIT_RELOCS was not declared" after r14-8386-g58af788d1d0825
2024-01-29 14:50 [Bug target/113655] New: Cross compiling to mips64-elf fails because "MIPS_EXPLICIT_RELOCS was not declared" after r14-8386-g58af788d1d0825 jamborm at gcc dot gnu.org
` (2 preceding siblings ...)
2024-01-29 16:34 ` syq at gcc dot gnu.org
@ 2024-01-30 5:49 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-01-30 5:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113655
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.0
Keywords| |build
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-01-30 5:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-29 14:50 [Bug target/113655] New: Cross compiling to mips64-elf fails because "MIPS_EXPLICIT_RELOCS was not declared" after r14-8386-g58af788d1d0825 jamborm at gcc dot gnu.org
2024-01-29 16:23 ` [Bug target/113655] " syq at gcc dot gnu.org
2024-01-29 16:32 ` cvs-commit at gcc dot gnu.org
2024-01-29 16:34 ` syq at gcc dot gnu.org
2024-01-30 5:49 ` pinskia 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).