public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100947] New: gthr-default.h
@ 2021-06-07 17:27 kclifford at tranaptic dot ca
  2021-06-08 12:29 ` [Bug libstdc++/100947] gthr-default.h redi at gcc dot gnu.org
  2021-06-08 14:57 ` kclifford at tranaptic dot ca
  0 siblings, 2 replies; 3+ messages in thread
From: kclifford at tranaptic dot ca @ 2021-06-07 17:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100947

            Bug ID: 100947
           Summary: gthr-default.h
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kclifford at tranaptic dot ca
  Target Milestone: ---

I'm building gcc 11.1.0 with
host=i686-w64-mingw32
build=x86_64-pc-cygwin
for arm-eabi.

When building g++, in gcc-11.1.0/libgcc/configure and
gcc-11.1.0/\libstdc++-v3/configure no default is provided for thread_header. 
As a result the following line is logged:
  cp -pR /home/cross-gcc/11.1.0/gcc-11.1.0/libgcc/ gthr-default.h
and later the build fails.

In each of the configure files mentioned above I added:
  *) thread_header=gthr-single.h ;;
to the "case $target_thread_file in" that sets thread_header.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/100947] gthr-default.h
  2021-06-07 17:27 [Bug c++/100947] New: gthr-default.h kclifford at tranaptic dot ca
@ 2021-06-08 12:29 ` redi at gcc dot gnu.org
  2021-06-08 14:57 ` kclifford at tranaptic dot ca
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2021-06-08 12:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100947

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Please provide your full configure command.

Does using --disable-threads make any difference?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/100947] gthr-default.h
  2021-06-07 17:27 [Bug c++/100947] New: gthr-default.h kclifford at tranaptic dot ca
  2021-06-08 12:29 ` [Bug libstdc++/100947] gthr-default.h redi at gcc dot gnu.org
@ 2021-06-08 14:57 ` kclifford at tranaptic dot ca
  1 sibling, 0 replies; 3+ messages in thread
From: kclifford at tranaptic dot ca @ 2021-06-08 14:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100947

--- Comment #2 from Keith Clifford <kclifford at tranaptic dot ca> ---
The configure command is:

configure --build=i686-w64-mingw32 --host=i686-w64-mingw32 --target=arm-eabi
--enable-__cxa_atexit --with-pkgversion=Tranaptic-2021/06/06-12:09:39
--with-bugurl=none --enable-languages=c,c++ --enable-interwork
--enable-multilib --with-gcc --with-gnu-ld --with-gnu-as --with-stabs
--disable-shared --disable-threads --disable-win32-registry --disable-nls
--with-newlib --with-gmp=/home/cross-gcc/11.1.0/cross-local
--with-mpfr=/home/cross-gcc/11.1.0/cross-local
--with-mpc=/home/cross-gcc/11.1.0/cross-local --with-host-libstdcxx=-lstdc++
-lsupc++ --prefix=/home/cross-gcc/11.1.0/arm-eabi -v

I'm already using --disable-threads so no it doesn't help.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-08 14:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07 17:27 [Bug c++/100947] New: gthr-default.h kclifford at tranaptic dot ca
2021-06-08 12:29 ` [Bug libstdc++/100947] gthr-default.h redi at gcc dot gnu.org
2021-06-08 14:57 ` kclifford at tranaptic dot ca

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).