Issue 788 - MIPSpro compiler bug with new SGI STL and -D_PTHREADS
Summary: MIPSpro compiler bug with new SGI STL and -D_PTHREADS
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 625
Hardware: SGI IRIX
: P3 Trivial (vote)
Target Milestone: ---
Assignee: zeroj
QA Contact: issues@tools
URL:
Keywords:
Depends on: 785
Blocks:
  Show dependency tree
 
Reported: 2001-04-26 06:46 UTC by zeroj
Modified: 2003-07-03 09:15 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Workaround that has not been tested very much (1.15 KB, patch)
2001-04-26 23:40 UTC, zeroj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description zeroj 2001-04-26 06:46:04 UTC
The existing solenv/inc/unxirxm3.mk has -D_PTHREADS defined, however when I 
add -LANG:std , and only when using new SGI STL files, the resulting binaries 
(xml2cmp) core dump the moment they use STL.

BugWorks Incident #:  821914 (& 786608)

I removed the -D_PTHREADS option, and the xml2cmp binary then worked, even tho 
the binary seems to use pthreads.  I am still unsure of the ramifications of 
removing this switch.

% ldd solver/625/unxirxm3.pro/bin/xml2cmp 
        libpthread.so  =>        /usr/lib32/libpthread.so
        libc.so.1  =>    /usr/lib32/libc.so.1
        libm.so  =>      /usr/lib32/libm.so
        libCsup.so  =>   /usr/lib32/libCsup.so
        libC.so.2  =>    /usr/lib32/libC.so.2
        libCio.so.1  =>  /usr/lib32/libCio.so.1
Comment 1 Unknown 2001-04-26 12:37:58 UTC
irix issue, sent to porting
Comment 2 sander_traveling 2001-04-26 18:00:44 UTC
John, as this is not strictly speaking an uissue with OOo (or rather, that part
remains to be proved) but IRIX toolchai, I'm assigning the issue back to you
(you are the porter, after all) and just add myself to the CC: list so I'm aware
of any changes.
Comment 3 zeroj 2001-04-26 23:40:04 UTC
Yea, I included this one as I have a workaround ... but the patch doesnt seem 
to be here ... for some reason.  Adding now.
Comment 4 zeroj 2001-04-26 23:40:48 UTC
Created attachment 212 [details]
Workaround that has not been tested very much
Comment 5 issues@www 2001-07-15 22:38:48 UTC
Accepting issue.  Removing questionable dependancy on 1096.
Comment 6 Unknown 2001-11-08 23:07:35 UTC
changing QA contact from bugs@ to issues@
Comment 7 Martin Hollmichel 2003-07-03 09:14:44 UTC
I think this has been addressed in the meantime, closing.
Comment 8 Martin Hollmichel 2003-07-03 09:15:00 UTC
close.