Results 1 to 2 of 2
  1. #1
    Ar/libtool deadlock in 10.5

    Member Since
    Apr 28, 2008
    Posts
    2
    Specs:
    Mac Pro 2 x 2.8 GHz Quad-Core Intel Xeon running 10.5.2
    Ar/libtool deadlock in 10.5
    Hello,

    I have been developing a C++/C project(both are used in different parts of the project) on OSX. The project is being configured and built using autotools. I began to use an singleton pattern for a configuration class, with static variables and getInstance() for an accessor function. When make clean and make are run repeatedly the system hardlocks during the ar command. The ar command being run is(obviously the names the object files have been changed):

    ar cru .libs/libxxx.a a.o b.o c.o d.o e.o f.o g.o h.o i.o j.o k.o config.o


    I was originally able to remove the behavior by removing some inlined code elsewhere in the project but the error is now occurring with the insertion of some fairly simple code:

    Config * config = (*m_configs)[user];

    Here m_configs is a pointer to a map(specifically map<string, Config *>) of instances of the Config class, this map is indexed by the user and this code is being inserted in the getInstance(user) function.

    I am unable to post much more of my code but would appreciate any help or experience others have with this.

    Thanks

  2. #2
    Ar/libtool deadlock in 10.5

    Member Since
    Apr 28, 2008
    Posts
    2
    Specs:
    Mac Pro 2 x 2.8 GHz Quad-Core Intel Xeon running 10.5.2
    Appears to have been hardware problem
    Thanks to any time in try and solve this problem I appear to have isolated as a hardware issues. Thanks.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. libtool in MacPorts
    By detonator413 in forum OS X - Operating System
    Replies: 0
    Last Post: 10-31-2009, 07:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •