public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b
@ 2023-10-23 7:34 dimitar at gcc dot gnu.org
2023-10-23 9:34 ` [Bug libquadmath/111928] [14 Regression] " rguenth at gcc dot gnu.org
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: dimitar at gcc dot gnu.org @ 2023-10-23 7:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
Bug ID: 111928
Summary: Build broken for baremetal targets after
r14-4825-g6a6d3817afa02b
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libquadmath
Assignee: unassigned at gcc dot gnu.org
Reporter: dimitar at gcc dot gnu.org
Target Milestone: ---
Following configure error is observed for pru-unknown-elf, arm-none-eabi, and
probably other baremetal targets:
Checking multilib configuration for libquadmath...
mkdir -p -- pru/libquadmath
Configuring in pru/libquadmath
....
checking for cos in -lm... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.
make[1]: *** [Makefile:13877: configure-target-libquadmath] Error 1
Issue probably started with r14-4825-g6a6d3817afa02b
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libquadmath/111928] [14 Regression] Build broken for baremetal targets after r14-4825-g6a6d3817afa02b
2023-10-23 7:34 [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b dimitar at gcc dot gnu.org
@ 2023-10-23 9:34 ` rguenth at gcc dot gnu.org
2023-10-23 10:37 ` iains at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-10-23 9:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Build broken for baremetal |[14 Regression] Build
|targets after |broken for baremetal
|r14-4825-g6a6d3817afa02b |targets after
| |r14-4825-g6a6d3817afa02b
Keywords| |build
Target Milestone|--- |14.0
Priority|P3 |P1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libquadmath/111928] [14 Regression] Build broken for baremetal targets after r14-4825-g6a6d3817afa02b
2023-10-23 7:34 [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b dimitar at gcc dot gnu.org
2023-10-23 9:34 ` [Bug libquadmath/111928] [14 Regression] " rguenth at gcc dot gnu.org
@ 2023-10-23 10:37 ` iains at gcc dot gnu.org
2023-10-23 10:59 ` dimitar at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: iains at gcc dot gnu.org @ 2023-10-23 10:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> ---
I'm trying to reproduce this, (and could be making some mistake) but I seem to
see
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking for shl_load... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.
make[1]: *** [Makefile:13636: configure-target-libstdc++-v3] Error 1
at r14-4820-g11f50716eee812 (which is before the patches I applied at the
weekend)
What was the last revision that you know was working?
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libquadmath/111928] [14 Regression] Build broken for baremetal targets after r14-4825-g6a6d3817afa02b
2023-10-23 7:34 [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b dimitar at gcc dot gnu.org
2023-10-23 9:34 ` [Bug libquadmath/111928] [14 Regression] " rguenth at gcc dot gnu.org
2023-10-23 10:37 ` iains at gcc dot gnu.org
@ 2023-10-23 10:59 ` dimitar at gcc dot gnu.org
2023-10-23 11:01 ` iains at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dimitar at gcc dot gnu.org @ 2023-10-23 10:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
--- Comment #2 from Dimitar Dimitrov <dimitar at gcc dot gnu.org> ---
I confirm that build works fine with r14-4820-g11f50716eee812, no maintainer
mode, for pru and arm targets.
I'm using x86_64-pc-linux-gnu build and host machine.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libquadmath/111928] [14 Regression] Build broken for baremetal targets after r14-4825-g6a6d3817afa02b
2023-10-23 7:34 [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b dimitar at gcc dot gnu.org
` (2 preceding siblings ...)
2023-10-23 10:59 ` dimitar at gcc dot gnu.org
@ 2023-10-23 11:01 ` iains at gcc dot gnu.org
2023-10-23 11:03 ` dimitar at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: iains at gcc dot gnu.org @ 2023-10-23 11:01 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Dimitar Dimitrov from comment #2)
> I confirm that build works fine with r14-4820-g11f50716eee812, no maintainer
> mode, for pru and arm targets.
>
> I'm using x86_64-pc-linux-gnu build and host machine.
thanks, please could you post your configure line?
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libquadmath/111928] [14 Regression] Build broken for baremetal targets after r14-4825-g6a6d3817afa02b
2023-10-23 7:34 [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b dimitar at gcc dot gnu.org
` (3 preceding siblings ...)
2023-10-23 11:01 ` iains at gcc dot gnu.org
@ 2023-10-23 11:03 ` dimitar at gcc dot gnu.org
2023-10-23 11:04 ` dimitar at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dimitar at gcc dot gnu.org @ 2023-10-23 11:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
--- Comment #4 from Dimitar Dimitrov <dimitar at gcc dot gnu.org> ---
If I remove the "AC_CHECK_LIBM" line from libquadmath/configure.ac, and
re-generate autoconf there, then the build passes.
I don't understand why that line was added. Just a few lines below I see checks
for specific functions from libm.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libquadmath/111928] [14 Regression] Build broken for baremetal targets after r14-4825-g6a6d3817afa02b
2023-10-23 7:34 [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b dimitar at gcc dot gnu.org
` (4 preceding siblings ...)
2023-10-23 11:03 ` dimitar at gcc dot gnu.org
@ 2023-10-23 11:04 ` dimitar at gcc dot gnu.org
2023-10-23 11:06 ` iains at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dimitar at gcc dot gnu.org @ 2023-10-23 11:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
--- Comment #5 from Dimitar Dimitrov <dimitar at gcc dot gnu.org> ---
> thanks, please could you post your configure line?
$ /mnt/nvme/dinux/local-workspace/gcc/configure
--prefix=/mnt/nvme/dinux/local-workspace/arm-opt --target=arm-none-eabi
--with-newlib --enable-languages=c,c++ --enable-checking=yes,rtl
--disable-libssp
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libquadmath/111928] [14 Regression] Build broken for baremetal targets after r14-4825-g6a6d3817afa02b
2023-10-23 7:34 [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b dimitar at gcc dot gnu.org
` (5 preceding siblings ...)
2023-10-23 11:04 ` dimitar at gcc dot gnu.org
@ 2023-10-23 11:06 ` iains at gcc dot gnu.org
2023-10-23 13:14 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: iains at gcc dot gnu.org @ 2023-10-23 11:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Dimitar Dimitrov from comment #4)
> If I remove the "AC_CHECK_LIBM" line from libquadmath/configure.ac, and
> re-generate autoconf there, then the build passes.
>
> I don't understand why that line was added. Just a few lines below I see
> checks for specific functions from libm.
That was what I was expecting - that line should not be there (it is a rebase
glitch that did not get picked up in either reviews or testing)
I am just trying to reproduce the problem and that fix..
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libquadmath/111928] [14 Regression] Build broken for baremetal targets after r14-4825-g6a6d3817afa02b
2023-10-23 7:34 [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b dimitar at gcc dot gnu.org
` (6 preceding siblings ...)
2023-10-23 11:06 ` iains at gcc dot gnu.org
@ 2023-10-23 13:14 ` cvs-commit at gcc dot gnu.org
2023-10-23 13:20 ` iains at gcc dot gnu.org
2023-10-24 5:56 ` dimitar at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-10-23 13:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
--- Comment #7 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:538dcde872abba589b3c8a57181bd7f91018c67a
commit r14-4863-g538dcde872abba589b3c8a57181bd7f91018c67a
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Mon Oct 23 13:07:50 2023 +0100
configure, libquadmath: Remove unintended AC_CHECK_LIBM [PR111928]
This was a rebase error, that managed to pass testing on Darwin and
Linux (but fails on bare metal).
PR libquadmath/111928
libquadmath/ChangeLog:
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.ac: Remove AC_CHECK_LIBM.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libquadmath/111928] [14 Regression] Build broken for baremetal targets after r14-4825-g6a6d3817afa02b
2023-10-23 7:34 [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b dimitar at gcc dot gnu.org
` (7 preceding siblings ...)
2023-10-23 13:14 ` cvs-commit at gcc dot gnu.org
@ 2023-10-23 13:20 ` iains at gcc dot gnu.org
2023-10-24 5:56 ` dimitar at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: iains at gcc dot gnu.org @ 2023-10-23 13:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Iain Sandoe <iains at gcc dot gnu.org> ---
so, should be fixed on trunk.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug libquadmath/111928] [14 Regression] Build broken for baremetal targets after r14-4825-g6a6d3817afa02b
2023-10-23 7:34 [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b dimitar at gcc dot gnu.org
` (8 preceding siblings ...)
2023-10-23 13:20 ` iains at gcc dot gnu.org
@ 2023-10-24 5:56 ` dimitar at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: dimitar at gcc dot gnu.org @ 2023-10-24 5:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111928
Dimitar Dimitrov <dimitar at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #9 from Dimitar Dimitrov <dimitar at gcc dot gnu.org> ---
Confirmed it is fixed.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-10-24 5:56 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23 7:34 [Bug libquadmath/111928] New: Build broken for baremetal targets after r14-4825-g6a6d3817afa02b dimitar at gcc dot gnu.org
2023-10-23 9:34 ` [Bug libquadmath/111928] [14 Regression] " rguenth at gcc dot gnu.org
2023-10-23 10:37 ` iains at gcc dot gnu.org
2023-10-23 10:59 ` dimitar at gcc dot gnu.org
2023-10-23 11:01 ` iains at gcc dot gnu.org
2023-10-23 11:03 ` dimitar at gcc dot gnu.org
2023-10-23 11:04 ` dimitar at gcc dot gnu.org
2023-10-23 11:06 ` iains at gcc dot gnu.org
2023-10-23 13:14 ` cvs-commit at gcc dot gnu.org
2023-10-23 13:20 ` iains at gcc dot gnu.org
2023-10-24 5:56 ` dimitar 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).