All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 104034] Mesa/Radeonsi does not compile on musl due to endianess check
@ 2017-12-02 11:23 bugzilla-daemon
  2017-12-02 22:40 ` bugzilla-daemon
  2018-04-05  0:39 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2017-12-02 11:23 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1502 bytes --]

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@lists.freedesktop.org
          Reporter: lucas.francesco93@gmail.com
        QA Contact: dri-devel@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.

[-- Attachment #1.2: Type: text/html, Size: 2975 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 104034] Mesa/Radeonsi does not compile on musl due to endianess check
  2017-12-02 11:23 [Bug 104034] Mesa/Radeonsi does not compile on musl due to endianess check bugzilla-daemon
@ 2017-12-02 22:40 ` bugzilla-daemon
  2018-04-05  0:39 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2017-12-02 22:40 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 538 bytes --]

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

--- Comment #1 from Lucas Francesco <lucas.francesco93@gmail.com> ---
Created attachment 135881
  --> https://bugs.freedesktop.org/attachment.cgi?id=135881&action=edit
the updated hack/fix

well, it seems the inclusion of /addrlib/gfx9/chip on /Makefile.addrlib.am
broke the old patch, so this is the new, updated patch, it would still be nice
to have dectection mainline while using musl anyways

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1574 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug 104034] Mesa/Radeonsi does not compile on musl due to endianess check
  2017-12-02 11:23 [Bug 104034] Mesa/Radeonsi does not compile on musl due to endianess check bugzilla-daemon
  2017-12-02 22:40 ` bugzilla-daemon
@ 2018-04-05  0:39 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2018-04-05  0:39 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1157 bytes --]

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

Timothy Arceri <t_arceri@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Timothy Arceri <t_arceri@yahoo.com.au> ---
Should be fixed by:

commit cbee1bfb34274668a05995b9d4c78ddec9e5ea4c
Author: Eric Engestrom <eric.engestrom@imgtec.com>
Date:   Wed Mar 21 17:04:06 2018 +0000

    meson/configure: detect endian.h instead of trying to guess when it's
available

    Cc: Maxin B. John <maxin.john@gmail.com>
    Cc: Khem Raj <raj.khem@gmail.com>
    Cc: Rob Herring <robh@kernel.org>
    Suggested-by: Jon Turney <jon.turney@dronecode.org.uk>
    Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
    Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
    Cc: <mesa-stable@lists.freedesktop.org>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3233 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-05  0:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-02 11:23 [Bug 104034] Mesa/Radeonsi does not compile on musl due to endianess check bugzilla-daemon
2017-12-02 22:40 ` bugzilla-daemon
2018-04-05  0:39 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.