Professional Web Applications Themes

warning: lib/libthread interface mismatch - Sun Solaris

I have compiled some codes using gcc on Solaris 8 (Ultra-10) and runs on it fine. Then I ran the same binary code runs on Ultra-80. It gives this warning: libc: warning: libc/libthread interface mismatch: unknown tag value ignored Using Google, I could not find what problem does it point to and how to get rid of it. Anyone had similar experience on it and please shed some light on it? Thank, Jinsong...

  1. #1

    Default warning: lib/libthread interface mismatch

    I have compiled some codes using gcc on Solaris 8 (Ultra-10) and runs
    on it fine. Then I ran the same binary code runs on Ultra-80.
    It gives this warning:
    libc: warning: libc/libthread interface mismatch: unknown tag value ignored

    Using Google, I could not find what problem does it point to and how
    to get rid of it.

    Anyone had similar experience on it and please shed some light on it? Thank,

    Jinsong
    Jinsong Guest

  2. #2

    Default Re: warning: lib/libthread interface mismatch

    Jinsong Zhao <com> writes:
     
     
     

    Are you perhaps partially statically linking the code?


    You cannot move statically linked executables from one OS
    instance to the next and expect them to continue to work.
    (The best chance of working is when the other system runs the exact same
    OS release at the exact same patchlevel; any alteration will quickly
    diminish the changes of it working; when you partially statically
    link it breaks even sooner)

    Casper
    --
    Expressed in this posting are my opinions. They are in no way related
    to opinions held by my employer, Sun Microsystems.
    Statements on Sun products included here are not gospel and may
    be fiction rather than truth.
    Casper Guest

  3. #3

    Default Re: warning: lib/libthread interface mismatch

    Jinsong Zhao wrote: 

    Did you perform any static linking?

    What OS version is the Ultra-80 running?

    Gavin

    Gavin Guest

  4. #4

    Default Re: warning: lib/libthread interface mismatch

    Hi, for this problem, yes, it was partically statically linked. This
    is because we link FORTRAN codes, but the customer's side may not have
    the necessary dynamic library. So we statically link those libraries,
    leaving the most common (such as libc and libthread) dynamically
    linked.

    The compiling machine is as follows:
    SunOS ... 5.8 Generic sun4u sparc SUNW,Ultra-5_10
    The running machine with the "libc/libthread interface mismatch"
    message is as follows:
    SunOS ... 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-80

    They have the same OS version number.

    Will this warning occur when the compiling machine is 32bit while the
    running machine is in 64bit mode?

    Jinsong


    Jinsong Guest

  5. #5

    Default Re: warning: lib/libthread interface mismatch

    Jinsong Zhao <com> writes:
     

    You are allowed to ship the dynamic fortan libraries with
    your product.

    It seems like you may have statically linked (parts of) "libc";
    that is a no-no.

    What command line did you use?
     
     

    But not the same patch level.
     

    No; when one machine isn't running the *EXACT* same binaries *and*
    you're statically linking part of the OS libraries.

    Casper
    --
    Expressed in this posting are my opinions. They are in no way related
    to opinions held by my employer, Sun Microsystems.
    Statements on Sun products included here are not gospel and may
    be fiction rather than truth.
    Casper Guest

Similar Threads

  1. Replies: 1
    Last Post: November 11th, 12:00 AM
  2. Interface Type Mismatch
    By fbrier in forum Macromedia Flash Actionscript
    Replies: 0
    Last Post: February 25th, 05:25 AM
  3. Type Mismatch
    By Ray in forum ASP
    Replies: 7
    Last Post: July 24th, 09:48 AM
  4. Does Interface Size Matter? Is my interface too complex?
    By Foo Finder in forum Macromedia Flash Sitedesign
    Replies: 0
    Last Post: July 15th, 12:01 AM
  5. Type Mismatch again
    By Miguel Orrego in forum ASP Database
    Replies: 3
    Last Post: July 5th, 06:26 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139