[Mesa-dev] [Bug 32859] New: Mesa doesn't compile under NetBSD

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 5 14:40:46 PST 2011


           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: mesa-dev at lists.freedesktop.org
        ReportedBy: pallegra at gmail.com

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.

More information about the mesa-dev mailing list