[9fans] vx32 compilation under Linux - Plan9

This is a discussion on [9fans] vx32 compilation under Linux - Plan9 ; System: Linux tigaon 2.6.25-4.slh.3-sidux-686 #1 SMP PREEMPT Fri May 23 21:58:49 UTC 2008 i686 GNU/Linux $ cd src; make produces the error: (seems to be missing gcclib.a?): ... ld -o vxa/zlib/ezlib -Llibvxc -L -g -L. libvxc/vx32/crt0.o vxa/zlib/ezlib.vo vxa/zlib/compress.vo vxa/zlib/deflate.vo vxa/zlib/trees.vo ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: [9fans] vx32 compilation under Linux

  1. [9fans] vx32 compilation under Linux


    System:
    Linux tigaon 2.6.25-4.slh.3-sidux-686 #1 SMP PREEMPT Fri May 23 21:58:49 UTC
    2008 i686 GNU/Linux

    $ cd src; make

    produces the error: (seems to be missing gcclib.a?):
    ...
    ld -o vxa/zlib/ezlib -Llibvxc -L -g -L. libvxc/vx32/crt0.o vxa/zlib/ezlib.vo
    vxa/zlib/compress.vo vxa/zlib/deflate.vo vxa/zlib/trees.vo vxa/zlib/adler32.vo
    vxa/zlib/crc32.vo vxa/zlib/zutil.vo -lc -lgcc
    ld: cannot find -lgcc
    make: *** [vxa/zlib/ezlib] Error 1
    $

    Any pointers?
    -ishwar




  2. Re: [9fans] vx32 compilation under Linux

    change the definition of VX32_LDFLAGS in src/Makefrag to:

    VX32_LDFLAGS := -Llibvxc -L$(dir $(shell gcc -m32 -print-libgcc-file-name)) \


    On Fri, Jul 11, 2008 at 2:32 PM, ISHWAR RATTAN wrote:
    >
    > System:
    > Linux tigaon 2.6.25-4.slh.3-sidux-686 #1 SMP PREEMPT Fri May 23 21:58:49 UTC
    > 2008 i686 GNU/Linux
    >
    > $ cd src; make
    >
    > produces the error: (seems to be missing gcclib.a?):
    > ..
    > ld -o vxa/zlib/ezlib -Llibvxc -L -g -L. libvxc/vx32/crt0.o
    > vxa/zlib/ezlib.vo vxa/zlib/compress.vo vxa/zlib/deflate.vo vxa/zlib/trees.vo
    > vxa/zlib/adler32.vo vxa/zlib/crc32.vo vxa/zlib/zutil.vo -lc -lgcc
    > ld: cannot find -lgcc
    > make: *** [vxa/zlib/ezlib] Error 1
    > $
    >
    > Any pointers?
    > -ishwar
    >
    >
    >
    >



  3. Re: [9fans] vx32 compilation under Linux



    On Fri, 11 Jul 2008, andrey mirtchovski wrote:

    > change the definition of VX32_LDFLAGS in src/Makefrag to:
    >
    > VX32_LDFLAGS := -Llibvxc -L$(dir $(shell gcc -m32 -print-libgcc-file-name)) \


    With this change I get the error:
    ...
    $ ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in vxa/zlib/ezlib.vo
    /lib/libc.so.6: could not read symbols: Bad value
    make: *** [vxa/zlib/ezlib] Error 1
    $

    -ishwar


  4. Re: [9fans] vx32 compilation under Linux

    > $ ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in vxa/zlib/ezlib.vo
    > /lib/libc.so.6: could not read symbols: Bad value
    > make: *** [vxa/zlib/ezlib] Error 1
    > $


    Install the cross compilers and change the top-level Makefrag
    to use vx32-gcc and vx32-ld. There are directions for
    installing them at

    http://pdos.csail.mit.edu/~baford/vm/

    Russ



+ Reply to Thread