public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/47852] New: crash with g++ -lpthread on irix
@ 2011-02-22 22:47 bugzilla-gcc at thewrittenword dot com
  2011-02-25 18:50 ` [Bug target/47852] " ro at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2011-02-22 22:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47852

           Summary: crash with g++ -lpthread on irix
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bugzilla-gcc@thewrittenword.com
                CC: ro@CeBiTec.Uni-Bielefeld.DE
              Host: mips-sgi-irix6.5
            Target: mips-sgi-irix6.5
             Build: mips-sgi-irix6.5


gcc-4.4.5 on IRIX 6.5 produces an executable that crashes at runtime if
-lpthread appears before -lstdc++ on the link line.


% echo 'int main() {}' >a.cpp
% g++ a.cpp -lpthread -pthread; ./a.out; echo $?
zsh: segmentation fault (core dumped)  ./a.out
139


See also the discussion here:

http://gcc.gnu.org/ml/gcc-help/2011-02/msg00335.html

http://gcc.gnu.org/ml/gcc-help/2011-02/msg00368.html


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

end of thread, other threads:[~2012-01-17 15:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-22 22:47 [Bug driver/47852] New: crash with g++ -lpthread on irix bugzilla-gcc at thewrittenword dot com
2011-02-25 18:50 ` [Bug target/47852] " ro at gcc dot gnu.org
2011-03-25 20:00 ` jakub at gcc dot gnu.org
2011-04-28 16:31 ` rguenth at gcc dot gnu.org
2012-01-12 10:23 ` ro at gcc dot gnu.org
2012-01-17 15:46 ` ro at gcc dot gnu.org
2012-01-17 16:05 ` ro 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).