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

           Summary: Mesa doesn't compile under NetBSD
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=41692)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=41692)
Fixes for NetBSD support

Mesa's build system doesn't support NetBSD.

Under NetBSD-current :
./configure && gmake fails.

1) configure disable dri and asm optimizations by default
2) configure add "-ansi -pedantic" to CXXFLAGS, and thus break a lot of
compilations. (-ansi -pedantic is only added for *BSDs CXXFLAGS, why ?)
3) mklib builds libfoo_pic.a, while Makefiles expect libfoo.a
4) in src/mesa/drivers/dri/mach64/mach64_context.h, machine/endian.h is
included for OpenBSD, but not for NetBSD

The following trivial patch should fix these issues.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to