Announcement

Collapse
No announcement yet.

Building and installing 32bit version of mesa libraries on 64bit fedora 24

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

  • Building and installing 32bit version of mesa libraries on 64bit fedora 24

    So, I've built and installed mesa-12.0.0-rc4 .What flags should I add to configure option in order to install 32bit version?

    Configuration of 64 bit:
    ./configure --prefix=/usr --enable-driglx-direct --enable-gles1 --enable-gles2 --enable-glx-tls --with-dri-driverdir=/usr/lib/dri --with-egl-platforms='drm x11' --with-gallium-drivers=radeonsi

    Also, after installing it I've realised that one flag has /usr/lib/dri which is I believe where Debian based distros store 64bit libraries, whereas on Fedora it should be in /usr/lib64/dri. Everything seems to work fine tho, grep is showing mesa 12.0 being used
    Last edited by paupav; 06-28-2016, 10:40 AM.

  • #2
    I should have probably said what I've tried. I've tried adding these flags "--build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu"
    But then make fails with these errors:
    make[5]: Entering directory '/home/paulo/mesa/src/mesa'
    CPPAS x86/common_x86_asm.lo
    x86/common_x86_asm.S: Assembler messages:
    x86/common_x86_asm.S:55: Error: invalid instruction suffix for `pushf'
    x86/common_x86_asm.S:56: Error: invalid instruction suffix for `pop'
    x86/common_x86_asm.S:59: Error: invalid instruction suffix for `push'
    x86/common_x86_asm.S:60: Error: invalid instruction suffix for `popf'
    x86/common_x86_asm.S:61: Error: invalid instruction suffix for `pushf'
    x86/common_x86_asm.S:62: Error: invalid instruction suffix for `pop'
    x86/common_x86_asm.S:78: Error: invalid instruction suffix for `push'
    x86/common_x86_asm.S:79: Error: invalid instruction suffix for `push'
    x86/common_x86_asm.S:92: Error: invalid instruction suffix for `pop'
    x86/common_x86_asm.S:93: Error: invalid instruction suffix for `pop'
    x86/common_x86_asm.S:102: Error: invalid instruction suffix for `push'
    x86/common_x86_asm.S:106: Error: invalid instruction suffix for `pop'
    x86/common_x86_asm.S:115: Error: invalid instruction suffix for `push'
    x86/common_x86_asm.S:120: Error: invalid instruction suffix for `pop'
    x86/common_x86_asm.S:129: Error: invalid instruction suffix for `push'
    x86/common_x86_asm.S:134: Error: invalid instruction suffix for `pop'
    x86/common_x86_asm.S:143: Error: invalid instruction suffix for `push'
    x86/common_x86_asm.S:148: Error: invalid instruction suffix for `pop'
    x86/common_x86_asm.S:183: Error: invalid instruction suffix for `push'
    x86/common_x86_asm.S:199: Error: invalid instruction suffix for `push'
    x86/common_x86_asm.S:200: Error: invalid instruction suffix for `push'
    x86/common_x86_asm.S:201: Error: invalid instruction suffix for `push'
    x86/common_x86_asm.S:202: Error: invalid instruction suffix for `push'
    Makefile:2908: recipe for target 'x86/common_x86_asm.lo' faile

    Comment

    Working...
    X