Announcement

Collapse
No announcement yet.

tiobench install failed

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • misc11
    replied
    wow... the bug you found looks totally like its the issue when i try to compile. could an issue with eglibc-2.17 / eglibc-2.13 also cause a problem with the install? the thing is, over 1 year ago i installed tiobench on an older version of linux mint. and everything worked. the benchmark version hasnt changed since then (but OS, kernel, pts version etc). if you tell me how to check which version of eglibc i have installed, then i will check with the version i have now and then i will install the old version of mint and check again. just grasping at straws here.....

    Leave a comment:


  • schotty
    replied
    Sorry I nearly killed my cpu due to failing cooler, so I was stuck to phone for browsing and the sort until today, when I got my goodies from Amazon.

    ldd didnt tell me much:
    [code]
    ldd ./tiotest
    linux-vdso.so.1 => (0x00007fffc7fef000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5712118000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f5711d57000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f5712374000)
    [/code

    But while digging around your output I discovered this:
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701420

    I am not sure the proper resolution here. Perhpas Michael has some input on this one. I am thinking that I have a missing library installed that you (well now both of you) don't, since I can compile the PTS version I would wager a guess that the patch is already in there as opposed to the source tarball on the projects site.

    Leave a comment:


  • mvrk
    replied
    Hi,

    I have the same problem on Fedora 25 (x86_64)

    Leave a comment:


  • misc11
    replied
    hey, thanks for the hints! so thats what i did:

    Perhaps installing the zlib and zlib-devel packages would be a fix.
    ok, both zlib1g and zlib1g-dev are already installed in the latest verion (at least thats the apt-get answer)
    this is what i found about zlib:

    Code:
    misc11@M52 ~ $ apt-cache search ^zlib
    zlib1g - compression library - runtime
    zlib1g-dbg - compression library - development
    zlib1g-dev - compression library - development
    gauche-zlib - zlib binding for Gauche
    libghc-pipes-zlib-dev - Zlib compression and decompression for Pipes streams
    libghc-pipes-zlib-doc - Zlib compression and decompression for Pipes streams; documentation
    libghc-pipes-zlib-prof - Zlib compression and decompression for Pipes streams; profiling libraries
    libzlcore-data - ZLibrary cross-platform development library (support files)
    libzlcore-dev - ZLibrary cross-platform development library (development files)
    libzlcore0.13 - ZLibrary cross-platform development library (shared library)
    libzltext-data - ZLibrary text model/viewer part (support files)
    libzltext-dev - ZLibrary text model/viewer part (development files)
    libzltext0.13 - ZLibrary text model/viewer part (shared library)
    lua-zlib - zlib library for the Lua language
    lua-zlib-dev - zlib development files for the Lua language
    node-zlib - zlib bindings for node.js
    yorick-z - zlib, jpeg and png support for the Yorick language
    zlib-gst - Zlib bindings for GNU Smalltalk
    zlibc - An on-fly auto-uncompressing C library
    zopfli - zlib (gzip, deflate) compatible compressor
    System update?
    it is up to date

    what about forcing a reinstall of the test?
    updated to newset pts version, deleted the files (cache folder was empty). thats the terminal output:

    Code:
    misc11@M52 ~ $ phoronix-test-suite install pts/tiobench
    
    Phoronix Test Suite v7.0.0
    
        To Install: pts/tiobench-1.2.0
    
        Determining File Requirements ...............................................................................
        Searching Download Caches ...................................................................................
    
        1 Test To Install
            1 File To Download [0.03MB]
            1MB Of Disk Space Is Needed
    
        pts/tiobench-1.2.0:
            Test Installation 1 of 1
            1 File Needed [0.03 MB / 1 Minute]
            Downloading: tiobench-0.3.3.tar.gz                                                               [0.03MB]
                Download Failed: http://softlayer.dl.sourceforge.net/sourceforge/tiobench/tiobench-0.3.3.tar.gz
                Attempting to download from alternate mirror.
            Downloading: tiobench-0.3.3.tar.gz                                                               [0.03MB]
            Estimated Download Time: 1m .............................................................................
            Installation Size: 0.2 MB
            Installing Test @ 20:18:11
                The installer exited with a non-zero exit status.
                ERROR: collect2: error: ld returned 1 exit status
                LOG: ~/.phoronix-test-suite/installed-tests/pts/tiobench-1.2.0/install-failed.log
    and thats the log (dont know if its different from before):

    Code:
    tiobench-0.3.3/crc32.c
    tiobench-0.3.3/tiotest.c
    tiobench-0.3.3/crc32.h
    tiobench-0.3.3/tiotest.h
    tiobench-0.3.3/Makefile
    tiobench-0.3.3/COPYING
    tiobench-0.3.3/README
    tiobench-0.3.3/TODO
    tiobench-0.3.3/ChangeLog
    tiobench-0.3.3/BUGS
    tiobench-0.3.3/tiobench.pl
    tiobench-0.3.3/tiosum.pl
    tiobench-0.3.3/scripts/
    tiobench-0.3.3/scripts/CVS/
    tiobench-0.3.3/scripts/CVS/Root
    tiobench-0.3.3/scripts/CVS/Repository
    tiobench-0.3.3/scripts/CVS/Entries
    tiobench-0.3.3/scripts/bigbench.sh
    tiobench-0.3.3/scripts/README
    tiobench-0.3.3/scripts/makeimages.pl
    patching file tiotest.c
    Hunk #3 succeeded at 281 with fuzz 1.
    gcc -c -O2 -Wall  tiotest.c -o tiotest.o
    gcc -c -O2 -Wall  crc32.c -o crc32.o
    crc32.c:83:28: warning: 'crctab' is static but used in inline function 'crc32' which is not static
             crc = (crc << 8) ^ crctab[((crc >> 24) ^ *(cp++)) & 0xFF];
                                ^
    tiotest.c: In function 'checkIntZero':
    tiotest.c:94:3: warning: format not a string literal and no format arguments [-Wformat-security]
       printf(mess);
       ^
    tiotest.c: In function 'checkLong':
    tiotest.c:104:3: warning: format not a string literal and no format arguments [-Wformat-security]
       printf(mess);
       ^
    tiotest.c: In function 'cleanup_test':
    tiotest.c:386:18: warning: pointer targets in passing argument 1 of 'faligned_free' differ in signedness [-Wpointer-sign]
       faligned_free( d->threads[i].buffer, d->threads[i].blockSize );
                      ^
    tiotest.c:44:12: note: expected 'caddr_t {aka char *}' but argument is of type 'unsigned char *'
     static int faligned_free(caddr_t a, ssize_t size)
                ^
    tiotest.c: In function 'do_test':
    tiotest.c:555:4: warning: format not a string literal and no format arguments [-Wformat-security]
        fprintf(stderr, debugMessage);
        ^
    tiotest.c: In function 'report_random_write_error':
    tiotest.c:888:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t {aka long int}' [-Wformat=]
       "Error in randomwrite, off=%ld, read=%d, seeks=%ld : ",
       ^
    tiotest.c: In function 'report_read_error':
    tiotest.c:902:3: warning: format '%d' expects argument of type 'int', but argument 4 has type 'ssize_t {aka long int}' [-Wformat=]
       "Error in seek/read, off=%ld, read=%d, seeks=%ld : ",
       ^
    tiotest.c: In function 'do_write_test':
    tiotest.c:912:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
      char    *buf = d->buffer;
                     ^
    tiotest.c: In function 'do_random_write_test':
    tiotest.c:1018:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
      char     *buf = d->buffer;
                      ^
    tiotest.c: In function 'do_read_test':
    tiotest.c:1111:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
      char    *buf = d->buffer;
                     ^
    tiotest.c: In function 'do_random_read_test':
    tiotest.c:1218:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
      char     *buf = d->buffer;
                      ^
    In file included from tiotest.c:24:0:
    tiotest.c: At top level:
    crc32.h:22:15: warning: inline function 'crc32' declared but never defined
     unsigned long crc32( const void* const buffer,
                   ^
    gcc -o tiotest tiotest.o crc32.o -lpthread
    tiotest.o: In function `initialize_test':
    tiotest.c:(.text+0x27e): undefined reference to `crc32'
    tiotest.o: In function `do_read_test':
    tiotest.c:(.text+0x2fae): undefined reference to `crc32'
    tiotest.o: In function `do_random_read_test':
    tiotest.c:(.text+0x3345): undefined reference to `crc32'
    collect2: error: ld returned 1 exit status
    Makefile:37: recipe for target 'tiotest' failed
    make: *** [tiotest] Error 1
    have you tried compiling this OUTSIDE of PTS?
    i tried now, i couldnt compile it... (im a noob though, so that could be the problem):

    Code:
    misc11@M52 ~/Downloads/tiobench-0.3.3 $ make
    gcc -c -O2 -Wall  tiotest.c -o tiotest.o
    tiotest.c:34:15: error: conflicting types for ‘aligned_alloc’
     static void * aligned_alloc(ssize_t size)
                   ^
    In file included from tiotest.h:36:0,
                     from tiotest.c:23:
    /usr/include/stdlib.h:509:14: note: previous declaration of ‘aligned_alloc’ was here
     extern void *aligned_alloc (size_t __alignment, size_t __size)
                  ^
    tiotest.c: In function ‘checkIntZero’:
    tiotest.c:94:3: warning: format not a string literal and no format arguments [-Wformat-security]
       printf(mess);
       ^
    tiotest.c: In function ‘checkLong’:
    tiotest.c:104:3: warning: format not a string literal and no format arguments [-Wformat-security]
       printf(mess);
       ^
    tiotest.c: In function ‘cleanup_test’:
    tiotest.c:386:17: warning: pointer targets in passing argument 1 of ‘aligned_free’ differ in signedness [-Wpointer-sign]
       aligned_free( d->threads[i].buffer, d->threads[i].blockSize );
                     ^
    tiotest.c:44:12: note: expected ‘caddr_t {aka char *}’ but argument is of type ‘unsigned char *’
     static int aligned_free(caddr_t a, ssize_t size)
                ^
    tiotest.c: In function ‘do_test’:
    tiotest.c:555:4: warning: format not a string literal and no format arguments [-Wformat-security]
        fprintf(stderr, debugMessage);
        ^
    tiotest.c: In function ‘report_random_write_error’:
    tiotest.c:888:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ssize_t {aka long int}’ [-Wformat=]
       "Error in randomwrite, off=%ld, read=%d, seeks=%ld : ",
       ^
    tiotest.c: In function ‘report_read_error’:
    tiotest.c:902:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ssize_t {aka long int}’ [-Wformat=]
       "Error in seek/read, off=%ld, read=%d, seeks=%ld : ",
       ^
    tiotest.c: In function ‘do_write_test’:
    tiotest.c:912:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
      char    *buf = d->buffer;
                     ^
    tiotest.c: In function ‘do_random_write_test’:
    tiotest.c:1018:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
      char     *buf = d->buffer;
                      ^
    tiotest.c: In function ‘do_read_test’:
    tiotest.c:1111:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
      char    *buf = d->buffer;
                     ^
    tiotest.c: In function ‘do_random_read_test’:
    tiotest.c:1218:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
      char     *buf = d->buffer;
                      ^
    In file included from tiotest.c:24:0:
    tiotest.c: At top level:
    crc32.h:22:15: warning: inline function ‘crc32’ declared but never defined
     unsigned long crc32( const void* const buffer,
                   ^
    Makefile:34: recipe for target 'tiotest.o' failed
    make: *** [tiotest.o] Error 1

    Leave a comment:


  • schotty
    replied
    Originally posted by misc11 View Post
    the log is what i posted before.... in my first and third post
    Sorry, didn't realize that. Been a few days

    From reviewing what you have there, I am starting to see why you are so lost.

    OK, from my Google-fu I am seeing that the crc32() function is from zlib. Perhaps installing the zlib and zlib-devel packages would be a fix.
    I am generating a crc32 value by using crc32(initial_crc_value,data,data_length); . if I am not using -lz in linker options, I am getting linker error as "undefined reference to crc32". I did...


    I also noticed a Red Hat bugzilla for Fedora, where there was some goofiness that cropped up with package rebuilds, and it turned out to be a borked coreutils package that once fixed fixed all the littany of package build faults. System update?


    On a slight tangential note, have you tried compiling this OUTSIDE of PTS? I don't believe that there should be a difference, but you never know.


    Alternatively, what about forcing a reinstall of the test? You can remove the test located in '~/.phoronix-test-suite/installed-tests/pts' and '~/.phoronix-test-suite/download-cache'. Curious if all of this is over a botched download.

    Leave a comment:


  • misc11
    replied
    the log is what i posted before.... in my first and third post

    Leave a comment:


  • schotty
    replied
    Originally posted by misc11 View Post

    hmm, unfortunately the output doesnt give any hints....

    Code:
    misc11@M52 ~ $ phoronix-test-suite install pts/tiobench
    
    Phoronix Test Suite v7.0.0m4
    
    To Install: pts/tiobench-1.2.0
    
    Determining File Requirements ..........................................
    Searching Download Caches ..............................................
    
    1 Test To Install
    1MB Of Disk Space Is Needed
    
    pts/tiobench-1.2.0:
    Test Installation 1 of 1
    1 File Needed [0.03 MB / 1 Minute]
    File Found: tiobench-0.3.3.tar.gz [0.03MB]
    Installation Size: 0.2 MB
    Installing Test @ 23:15:26
    [COLOR=#FF0000][B]The installer exited with a non-zero exit status.
    ERROR: collect2: error: ld returned 1 exit status
    LOG: ~/.phoronix-test-suite/installed-tests/pts/tiobench-1.2.0/install-failed.log[/B][/COLOR]
    What does the log say?

    Leave a comment:


  • misc11
    replied
    Posting that terminal output would help alot.
    hmm, unfortunately the output doesnt give any hints....

    Code:
    misc11@M52 ~ $ phoronix-test-suite install pts/tiobench
    
    Phoronix Test Suite v7.0.0m4
    
        To Install: pts/tiobench-1.2.0
    
        Determining File Requirements ..........................................
        Searching Download Caches ..............................................
    
        1 Test To Install
            1MB Of Disk Space Is Needed
    
        pts/tiobench-1.2.0:
            Test Installation 1 of 1
            1 File Needed [0.03 MB / 1 Minute]
            File Found: tiobench-0.3.3.tar.gz                           [0.03MB]
            Installation Size: 0.2 MB
            Installing Test @ 23:15:26
                The installer exited with a non-zero exit status.
                ERROR: collect2: error: ld returned 1 exit status
                LOG: ~/.phoronix-test-suite/installed-tests/pts/tiobench-1.2.0/install-failed.log

    Leave a comment:


  • schotty
    replied
    Originally posted by misc11 View Post
    schotty
    you have an ssd then
    My OS is, but the test ran on my WD black /home partition. I would like to have run it on all my disks, but I didn't dive in deep enough to figure that much out. I actually gave up trying PTS out a few years back (shortly after RHEL7 dropped) due to the php bug that I had no idea was easy to fix (one line in the offending php file must be added to allow infinite memory consumtion). Just came back a week or so ago (account creation date).

    If its simple to modify the drive(s) being scanned I would love to know how. When I get more spare time, I will dig into that. I have an m2 ssd for my /boot, /root ; a WD Black with swap and /home, and a few spare WD Black drives thats hooked up for if I need to take alot of data with me somewhere that are in an lvm group.

    also: do you think old hardware could be a problem at installation? its ~10yo hw and the hdd uses SATA2. i would think that this should only be a problem when running the test, but what do i know.
    No it shouldnt. If you would like, I have an ancient netbook (ASUS EeePC1000H) that I could run it on with RHEL 6 Desktop 32bit, or a Gen1 Intel Macbook also running RHEL 6 Desktop 32 bit. But I doubt thats the issue. I would love to see what the hell is the actual issue here. Posting that terminal output would help alot. These are both 10+ years old. Think they are both from 2007. The only device I have with non RHEL is my Pi's. I actually have a Pi running Ubuntu Mate RPI Edition, not sure if I can get PTS working on that, although it would be interesting ... Dammit now I have to find out lol!

    Leave a comment:


  • misc11
    replied
    schotty

    Lol, actually took about 8hrs to do the whole thing.
    you have an ssd then

    its a standard mint linux 64bit xfce install. i updated the kernel und use a ppa for the latest mesa. the tarball is from the pts homepage. the .deb on the homepage gives me an error. the version in the mint repos is horribly old. i also tries different versions of pts. it is a clean install only for testing with pts... i have run tens of other benchmarks most without problems. only 1 or 2 other tests fail to install. and yes i have seen the python-numpy and also libtiff being the problem in some cases, but they are installed... for some reason pts tries to install them but fails. not the issue with tiobench though.

    ill post the complete terminal output of the failed installation. maybe there more info in there....

    also: do you think old hardware could be a problem at installation? its ~10yo hw and the hdd uses SATA2. i would think that this should only be a problem when running the test, but what do i know.

    Leave a comment:

Working...
X