[Mesa-dev] [Bug 47873] New: Building libxatracker.o is broken when using --enable-32-bit on a 64bit OS

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 25 16:54:56 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=47873

             Bug #: 47873
           Summary: Building libxatracker.o is broken when using
                    --enable-32-bit on a 64bit OS
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: alexandre.f.demers at gmail.com


When building 32bit mesa on 64bit OS using --enable-32-bit, I receive the
following error:
./src/gallium/state_trackers/xa$ gcc -r -nostdlib -o libxatracker.o
xa_tracker.o xa_context.o xa_renderer.o xa_tgsi.o xa_yuv.o xa_composite.o
/usr/bin/ld: Relocatable linking with relocations from format elf32-i386
(xa_tracker.o) to format elf64-x86-64 (libxatracker.o) is not supported
collect2: ld returned 1 exit status

However, adding -m32 fixes it. So, it seems this command doesn't take into
account the -m32 flag.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list