public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29817] New: --enable-threads=posix not working under AIX
@ 2006-11-13 15:40 brandon at homeisp dot com
2006-11-14 0:55 ` [Bug target/29817] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: brandon at homeisp dot com @ 2006-11-13 15:40 UTC (permalink / raw)
To: gcc-bugs
Hello,
I configured gcc 4.1.1 under AIX 5.3 with the following:
../gcc-4.1.1/configure --enable-threads=posix --enable-tls
--enable-gather-detailed-mem-stats --enable-languages=c,c++
when I do a "gcc -v" it says this:
Thread model: aix
I believe it should say "posix".
I am compiling with a gcc-4.1.1 binary that someone else had built. The reason
I am not using his binary is because I need a posix threading model. Am I
doing something wrong?
--
Summary: --enable-threads=posix not working under AIX
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: brandon at homeisp dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29817
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/29817] --enable-threads=posix not working under AIX
2006-11-13 15:40 [Bug c++/29817] New: --enable-threads=posix not working under AIX brandon at homeisp dot com
@ 2006-11-14 0:55 ` pinskia at gcc dot gnu dot org
2006-11-14 0:57 ` pinskia at gcc dot gnu dot org
2006-11-14 1:00 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-14 0:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-11-14 00:55 -------
(In reply to comment #0)
> I am compiling with a gcc-4.1.1 binary that someone else had built. The reason
> I am not using his binary is because I need a posix threading model. Am I
> doing something wrong?
IIRC AIX threading is really POSIX thread or single threading depending on the
compile time options you give to GCC while compiling your sources.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29817
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/29817] --enable-threads=posix not working under AIX
2006-11-13 15:40 [Bug c++/29817] New: --enable-threads=posix not working under AIX brandon at homeisp dot com
2006-11-14 0:55 ` [Bug target/29817] " pinskia at gcc dot gnu dot org
@ 2006-11-14 0:57 ` pinskia at gcc dot gnu dot org
2006-11-14 1:00 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-14 0:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-11-14 00:57 -------
In fact it is.
#ifdef _THREAD_SAFE
#include "gthr-posix.h"
#else
#include "gthr-single.h"
#endif
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29817
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/29817] --enable-threads=posix not working under AIX
2006-11-13 15:40 [Bug c++/29817] New: --enable-threads=posix not working under AIX brandon at homeisp dot com
2006-11-14 0:55 ` [Bug target/29817] " pinskia at gcc dot gnu dot org
2006-11-14 0:57 ` pinskia at gcc dot gnu dot org
@ 2006-11-14 1:00 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-14 1:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-11-14 01:00 -------
AIX "threading" is always enabled. Note this threading model is only for
libstdc++, exceptions, and libobjc and not your own program.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29817
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-11-14 1:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-13 15:40 [Bug c++/29817] New: --enable-threads=posix not working under AIX brandon at homeisp dot com
2006-11-14 0:55 ` [Bug target/29817] " pinskia at gcc dot gnu dot org
2006-11-14 0:57 ` pinskia at gcc dot gnu dot org
2006-11-14 1:00 ` pinskia at gcc dot gnu dot 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).