#103 ✓resolved
Peter Johnson

all objfmt/macho tests fail

Reported by Peter Johnson | June 25th, 2011 @ 07:50 PM

Originally posted on Trac by mikko.tiihonen@hut.fi
Original Trac Ticket

  Description

linux, x86-64, gcc 4.1.2, CFLAGS=-O1

Test macho_test: O +0-1/1 0%

O: gas-macho32 did not match object file!

FAIL: modules/objfmts/macho/tests/gas32/gas_macho32_test.sh

Test macho_test: O +0-1/1 0%

O: gas-macho64 did not match object file!

FAIL: modules/objfmts/macho/tests/gas64/gas_macho64_test.sh

Test macho_test: OO +0-2/2 0%

O: macho-reloc did not match object file! O: machotest did not match object file!

FAIL: modules/objfmts/macho/tests/nasm32/macho32_test.sh

Test macho_test: .O +1-1/2 50%

O: machotest64 did not match object file!

FAIL: modules/objfmts/macho/tests/nasm64/macho64_test.sh

All the failures have exactly the same differenes, just at different location. Would that point to a problem when generating non-code parts, for example section headers?

h3. Trac Attachments
http://www.tortall.net:80//projects/yasm/attachment/ticket/105/mach...
http://www.tortall.net:80//projects/yasm/raw-attachment/ticket/105/...
http://www.tortall.net:80//projects/yasm/timeline?from=2007-04-21T0...
h3. Trac Comments
Changed 4 years ago by mikko.tiihonen@hut.fi



Differences of generated and correct macho object files

                  Changed 4 years ago by mikko.tiihonen@hut.fi

      attachment
        macho-diffs​
          added

Differences of generated and correct macho object files

      attachment
        macho-diffs​
          added

comment:1

              Changed 4 years ago by peter@tortall.net


Known harmless bug, fixed in [1811] and merged to 0.6.x branch in [1818].  The differences are in unused portions of the section and segment names.  The fix will be included in a future 0.6.1 release.

      comment:1

                  Changed 4 years ago by peter@tortall.net

      Status
        changed from new to closed
    
      Resolution
        set to fixed

Known harmless bug, fixed in [1811] and merged to 0.6.x branch in [1818].  The differences are in unused portions of the section and segment names.  The fix will be included in a future 0.6.1 release.

      Status
        changed from new to closed
    
      Resolution
        set to fixed

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Yasm Modular Assembler Project

Shared Ticket Bins

People watching this ticket

Pages