Project

General

Profile

Actions

Bug #3861

closed

Endian bugs in fiddle/dl on sparc64

Added by jeremyevans0 (Jeremy Evans) almost 12 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
-
Backport:
[ruby-core:32504]

Description

=begin
Running the test suite for 1.9.2 on sparc64 on OpenBSD, the following errors on received:

  1. Failure:
    test_callback(DL::TestDL)
    [/usr/ports/pobj/ruby-1.9.2-p0/ruby-1.9.2-p0/test/dl/test_dl2.rb:144]:
    <"aabbfoorz"> expected but was
    <"zabrfbooa">.

  2. Failure:
    test_isdigit(DL::TestFunc)
    [/usr/ports/pobj/ruby-1.9.2-p0/ruby-1.9.2-p0/test/dl/test_func.rb:67]:
    Expected 0 to be > 0.

  3. Failure:
    test_qsort1(DL::TestFunc)
    [/usr/ports/pobj/ruby-1.9.2-p0/ruby-1.9.2-p0/test/dl/test_func.rb:95]:
    <"1349"> expected but was
    <"9341">.

  4. Failure:
    test_qsort2(DL::TestFunc)
    [/usr/ports/pobj/ruby-1.9.2-p0/ruby-1.9.2-p0/test/dl/test_func.rb:105]:
    <"1349"> expected but was
    <"9341">.

  5. Failure:
    test_isdigit(DL::TestImport)
    [/usr/ports/pobj/ruby-1.9.2-p0/ruby-1.9.2-p0/test/dl/test_import.rb:126]:
    Expected 0 to be > 0.

It's possible this is an upstream issue with libffi. If so, please let me know and I'll report it to the libffi developers.
=end


Files

fiddle-sparcv9.patch (2.13 KB) fiddle-sparcv9.patch ngoto (Naohisa Goto), 08/08/2011 10:37 PM
noname (500 Bytes) noname tenderlovemaking (Aaron Patterson), 08/09/2011 06:23 AM
noname (500 Bytes) noname tenderlovemaking (Aaron Patterson), 08/21/2011 04:23 AM
Actions

Also available in: Atom PDF