ts-7000
[Top] [All Lists]

[ts-7000] gcc-4.0.x TR1 bug(s)

To:
Subject: [ts-7000] gcc-4.0.x TR1 bug(s)
From: "Frank Pagliughi" <>
Date: Fri, 04 May 2007 00:07:02 -0000
Hey All,

I noticed the talk of different compilers the last few days and
thought I'd throw in a comment.

We started using gcc-4.0.2 last summer with the TS-7260 in order to
get some of the C++ TR1 features like shared_ptr's in our application.
Turns out there's a a bug in the 4.0.2 shared_ptr implementation
(uninitialized mutex) that causes the application to deadlock, under
just the right circumstances.

That particular bug was apparently fixed in gcc-4.0.3, but we decided
to start testing gcc-4.1.1 for our app (w/ glibc-2.3.2). So far, so good.

So anyway, gcc-4.0.3 and gcc-4.1.1 both build properly with
glibc-2.3.2 for the ARM9. If you're going with a 4.x compiler, maybe
it's better to use a newer one.

Frank



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] gcc-4.0.x TR1 bug(s), Frank Pagliughi <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU