public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/107869] New: garbled output from configure for darwin and bsd
@ 2022-11-25 11:39 redi at gcc dot gnu.org
2022-11-25 11:49 ` [Bug bootstrap/107869] " redi at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2022-11-25 11:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107869
Bug ID: 107869
Summary: garbled output from configure for darwin and bsd
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: redi at gcc dot gnu.org
Target Milestone: ---
Target: *-*-darwin*, *-*-freebsd*, *-*-netbsd*
As pointed out in
https://gcc.gnu.org/pipermail/gcc-help/2022-November/142023.html we have this
in gcc/configure.ac
# Test for stack protector support in target C library.
AC_CACHE_CHECK(__stack_chk_fail in target C library,
...
*-*-darwin* | *-*-freebsd* | *-*-netbsd*)
AC_CHECK_FUNC(__stack_chk_fail,[gcc_cv_libc_provides_ssp=yes],
[echo "no __stack_chk_fail on this target"])
;;
That AC_CHECK_FUNC comes after the earlier message which hasn't
printed its result yet, so the output of AC_CHECK_FUNC gets nested within the
output of AC_CACHE_CHECK. Then the echo makes it even worse, by adding a third
message inside the
other two. The output ends up as:
checking linker --sysroot support... no
checking __stack_chk_fail in target C library... checking for
__stack_chk_fail... no
no __stack_chk_fail on this target
no
checking sys/sdt.h in the target C library... no
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug bootstrap/107869] garbled output from configure for darwin and bsd
2022-11-25 11:39 [Bug bootstrap/107869] New: garbled output from configure for darwin and bsd redi at gcc dot gnu.org
@ 2022-11-25 11:49 ` redi at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2022-11-25 11:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107869
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
There's another similar case in libstdc++-v3/configure:
checking whether to build libbacktrace support... checking for sys/mman.h...
(cached) yes
yes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-25 11:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-25 11:39 [Bug bootstrap/107869] New: garbled output from configure for darwin and bsd redi at gcc dot gnu.org
2022-11-25 11:49 ` [Bug bootstrap/107869] " redi 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).