• Bug#267207: lmbench: sparc binaries are 64-bit, will not run on sparc32

    From Lee Cremeans@1:229/2 to All on Sat Aug 21 08:30:13 2004
    From: [email protected]

    Package: lmbench
    Version: 2.0-patch2-4
    Severity: important

    I tried to run lmbench on my SPARCstation 20, and when the configuration
    script runs, the binaries included with the package won't execute:

    =====================================================================

    Hang on, we are calculating your timing granularity.
    ./config-run: line 47: /usr/lib/lmbench/msleep: cannot execute binary
    file
    ./config-run: line 48: /usr/lib/lmbench/enough: cannot execute binary
    file
    OK, it looks like you can time stuff down to usec resolution.

    Hang on, we are calculating your timing overhead.
    ./config-run: line 53: /usr/lib/lmbench/msleep: cannot execute binary
    file
    ./config-run: line 54: /usr/lib/lmbench/timing_o: cannot execute binary
    file
    OK, it looks like your gettimeofday() costs usecs.

    Hang on, we are calculating your loop overhead.
    ./config-run: line 59: /usr/lib/lmbench/msleep: cannot execute binary
    file
    ./config-run: line 60: /usr/lib/lmbench/loop_o: cannot execute binary
    file
    OK, it looks like your benchmark loop costs usecs.

    =====================================================================

    So I investigate further, and find out that the binaries are built for
    sparc64:

    /usr/lib/lmbench/msleep: ELF 64-bit MSB executable, SPARC V9, version 1
    (SYSV), for GNU/Linux 2.4.18, dynamically linked (uses shared libs),
    stripped

    Compiling the package from source seems to work, but runs into the same
    problem with namespace collisions as in bug #260792 when I try to
    install the resulting .deb.

    -lee


    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: sparc
    Kernel: Linux 2.4.26-sparc32
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages lmbench depends on:
    ii gcc [c-compiler] 4:3.3.4-2 The GNU C compiler
    ii gcc-3.3 [c-compiler] 1:3.3.4-7 The GNU C compiler
    ii gcc-3.4 [c-compiler] 3.4.1-5 The GNU C compiler
    ii libc6-sparc64 2.3.2.ds1-15 GNU C Library: 64bit Shared librar ii perl 5.8.4-2 Larry Wall's Practical Extraction

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)