Issue 788

Summary: MIPSpro compiler bug with new SGI STL and -D_PTHREADS
Product: Build Tools Reporter: zeroj <jayvdb>
Component: codeAssignee: zeroj <jayvdb>
Status: CLOSED FIXED QA Contact: issues@tools <issues>
Severity: Trivial    
Priority: P3 CC: issues, sander_traveling
Version: 625   
Target Milestone: ---   
Hardware: SGI   
OS: IRIX   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on: 785    
Issue Blocks:    
Attachments:
Description Flags
Workaround that has not been tested very much none

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.