[Bug 104034] Mesa/Radeonsi does not compile on musl due to endianess check

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 2 11:23:10 UTC 2017


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

            Bug ID: 104034
           Summary: Mesa/Radeonsi does not compile on musl due to
                    endianess check
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: lucas.francesco93 at gmail.com
        QA Contact: dri-devel at lists.freedesktop.org

https://lists.freedesktop.org/archives/mesa-dev/2016-November/134355.html

used to need to apply this patch and everything went fine(mainline still wasnt
compiling patchless anyway)
but recently the source files changed and the patch does not work anymore
the patch fails to apply and if i build it without the patch i get 

In file included from
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/amd/addrlib/gfx9/gfx9addrlib.cpp:36:0:
/var/tmp/portage/media-libs/mesa-9999/work/mesa-9999/src/amd/addrlib/inc/chip/gfx9/gfx9_gb_reg.h:44:2:
error: #error "BIGENDIAN_CPU or LITTLEENDIAN_CPU must be defined"
 #error "BIGENDIAN_CPU or LITTLEENDIAN_CPU must be defined"
  ^~~~~


which is the behavior i was having already w/o the patch since 2016

would you guys mindig fixing endianess dectection on musl libc?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20171202/888734b6/attachment.html>


More information about the dri-devel mailing list