[Mesa-dev] [Bug 106776] vma_random unrecognized command line option "-std=c++11"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 1 23:10:20 UTC 2018


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

            Bug ID: 106776
           Summary: vma_random unrecognized command line option
                    "-std=c++11"
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vlee at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org
                CC: jason at jlekstrand.net, scott.d.phillips at intel.com

Build error with GCC 4.4.

  CXX      vma_random_test-vma_random_test.o
cc1plus: error: unrecognized command line option "-std=c++11"


commit 943fecc5691b55b8ce8740d133dd70614effb72d
Author: Scott D Phillips <scott.d.phillips at intel.com>
Date:   Fri May 4 17:11:13 2018 -0700

    util: Add a randomized test for the virtual memory allocator

    The test pseudo-randomly makes allocations and deallocations with
    the virtual memory allocator and checks that the results are
    consistent. Specifically, we test that:

     * no result from the allocator overlaps an already allocated range
     * allocated memory fulfills the stated alignment requirement
     * a failed result from the allocator could not have been fulfilled
     * memory freed to the allocator can later be allocated again

    v2: - fix if() in test() to actually run fill()
    v3: - add c++11 build flag (Jason)
        - test the full 64-bit range (Jason)

    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180601/1bba6c55/attachment.html>


More information about the mesa-dev mailing list