Over a year without a fix, not worth bothering with.

** Changed in: tarantool
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1018356

Title:
  'unable to load command 0x2?' warnings under MacOS X

Status in Tarantool - an efficient in-memory data store:
  Won't Fix

Bug description:
  Non-static binaries, compiled with gcc-mp-4.6 (from mac ports) and
  linked with libbfd (also from ports), at initialization point, print
  out warnings like: 'unable to load command 0x24' or 'unable to load
  command 0x26', etc.

  In most cases (observed with tarantool binaries under Mac OS X Lion),
  the command code is >= 0x20.

  The message comes from bfd/mach-o.c (as in
  http://opensource.apple.com/source/gdb/gdb-967/src/bfd/mach-o.c):

    switch (command->type)
      {
      case BFD_MACH_O_LC_SEGMENT:
        if (bfd_mach_o_scan_read_segment_32 (abfd, command) != 0)
        return -1;
        break;
  .....
      default:
        fprintf (stderr, "unable to read unknown load command 0x%lx\n",
               (unsigned long) command->type);
        break;
      }

  The warning says that BFD cannot recognize the Mach-O section load
  command it has encountered.

  Looking at bfd/mach-o.h
  
(http://opensource.apple.com/source/cxxfilt/cxxfilt-9/cxxfilt/bfd/mach-o.h?txt)
  where known load commands are described, we find that commands there
  range from 0x1 to 0x18, yet nothing beyond.

  Mac OS X (Lion) defines load constants in
  /usr/include/mach-o/loader.h (available if you've installed XCode),
  from 0x1 to 0x27. Therefore, the most logical explanation to seeing
  the warnings for load codes > 0x18 appears to be the lack of the said
  codes in BFD's own header.

  This seems to place it as a BFD-specific issue that should eventually
  (when the codes are brought in sync) disappear.

To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1018356/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to