public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/67116] New: incorrect detection of thread model when cross-compiling the tool chain
@ 2015-08-04 13:50 sliwa at ifpan dot edu.pl
  2015-08-04 16:12 ` [Bug libstdc++/67116] " sliwa at ifpan dot edu.pl
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sliwa at ifpan dot edu.pl @ 2015-08-04 13:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67116
           Summary: incorrect detection of thread model when
                    cross-compiling the tool chain
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sliwa at ifpan dot edu.pl
  Target Milestone: ---

The configure script detects the thread model of the CXX compiler. When
building the tool chain it is the compiler for the host rather than for the
target. These are different when cross-compiling.

For example: I am on Linux; I have built a cross compiler to MinGW64 which uses
Win32 threads; and I want to use it to cross-compile a native MinGW64 compiler
for applications using POSIX threads. I such a situation libstdc++ detects
Win32 thread model and builds without thread support.


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

end of thread, other threads:[~2020-11-23 13:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-04 13:50 [Bug libstdc++/67116] New: incorrect detection of thread model when cross-compiling the tool chain sliwa at ifpan dot edu.pl
2015-08-04 16:12 ` [Bug libstdc++/67116] " sliwa at ifpan dot edu.pl
2015-08-04 20:47 ` sliwa at ifpan dot edu.pl
2015-08-05  8:55 ` redi at gcc dot gnu.org
2015-08-05 10:32 ` sliwa at ifpan dot edu.pl
2020-11-23 13:16 ` 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).