Results 1 to 3 of 3

Thread: IceTouch build errors on case sensitive file system.

  1. #1
    iCode is offline Registered User
    Name: Laszlo Kiss
    Organization: Delta Prime, Inc.
    Project: Simplified analog of Sun's Grid Engine.
    Join Date
    Jun 2010
    Posts
    5

    IceTouch build errors on case sensitive file system.

    There are a couple of issues with building IceTouch 1.0.0 on a case sensitive file system. For example, there are references to the library "Glacier2Objc" when it was built as "Glacier2ObjC"...

    There are issues with references to .plist files as well. A symbolic link took care of that..., but it would be good if it was correct.

    The following tests have issues when I try to build for Mac OS only. (I'm not working on iPhone stuff.):

    ./objc/test/Ice/slicing/exceptions/
    ./objc/test/Ice/slicing/objects/

    Specifically, it appears that the preprocessor symbol "TARGET_OS_IPHONE" is defined and it results in renaming of "main" to some other symbol, which leads to failure to link.

    I'm wondering whether I set up the "Make.rules" file properly. I set the following:

    COMPILE_FOR_IPHONE = no
    COMPILE_FOR_IPHONE_SIMULATOR = no
    COMPILE_FOR_COCOA = no

    After all of that none of the built-in tests pass... So, I must be looking at some sort of setup issue, right?


    Laszlo
    Last edited by iCode; 07-12-2010 at 05:10 PM.

  2. #2
    iCode is offline Registered User
    Name: Laszlo Kiss
    Organization: Delta Prime, Inc.
    Project: Simplified analog of Sun's Grid Engine.
    Join Date
    Jun 2010
    Posts
    5
    [UPDATE]
    1. I moved my build environment to a local drive instead of an NFS mount.
    2. Extracted a pristine copy of IceTouch
    3. The only thing I modified is the target directory and disabled embedded run-paths.
    4. Did a re-build.

    The above build issues persisted, but the .plist file naming did not seem to come up...

    The built-in tests passed this time, but they were logging errors related to GC and unregistered threads.

    For example:
    client(10570,0x1057db000) malloc: *** auto malloc[10570]: error: GC operation on unregistered thread. Thread registered server(10569,0x106104000) malloc: *** auto malloc[10569]: error: GC operation on unregistered thread. Thread registered implicitly. Break on auto_zone_thread_registration_error() to debug.

  3. #3
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    Which OS and Xcode versions do you use?

    Thanks for pointing out the issues with case sensitive file systems, we'll look into them for the next release.

    For the compilation issue with the slicing tests, I believe this only shows up with recent Xcode SDKs, to workaround the issue you can edit the Server.m and Client.m files of the tests which are failing to compile and replace:

    Code:
    #if defined(TARGET_OS_IPHONE)
    With:

    Code:
    #if TARGET_OS_IPHONE
    The GC errors only show up with Snow Leopard (which wasn't released at the time we released Ice Touch 1.0.0). See here for more information. These errors are harmless as the threads are still implicitly registered so you can ignore them. We already fixed this on our mainline and the fix will be available in the next Ice Touch release.

    Cheers,
    Benoit.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Some more errors with IceTouch
    By tote in forum Help Center
    Replies: 0
    Last Post: 07-22-2010, 07:02 PM
  2. do i build a .ice file by vs2008?
    By chanchanyuan in forum Help Center
    Replies: 3
    Last Post: 06-26-2009, 10:43 AM
  3. Replies: 3
    Last Post: 03-03-2009, 12:15 PM
  4. File System Demo Explanation
    By eric.hill in forum Help Center
    Replies: 4
    Last Post: 07-20-2006, 11:34 AM
  5. CMake build system
    By aka50 in forum Patches
    Replies: 0
    Last Post: 07-12-2005, 04:30 AM

Posting Permissions

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