Bug 89259 - Undefined symbols for architecture x86_64: "_aligned_alloc"
Summary: Undefined symbols for architecture x86_64: "_aligned_alloc"
Status: RESOLVED FIXED
Alias: None
Product: piglit
Classification: Unclassified
Component: infrastructure (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Mac OS X (All)
: medium blocker
Assignee: Piglit Mailing List
QA Contact: Piglit Mailing List
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2015-02-21 06:53 UTC by Vinson Lee
Modified: 2015-02-21 12:52 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2015-02-21 06:53:25 UTC
piglit: c07c8fdeef1c8781ed5eb957f5e48773af279836 (master)

Build error on Mac OS X.

$ make
[  0%] Built target piglit_dispatch_gen
Linking C shared library ../../../../lib/libpiglitutil.dylib
Undefined symbols for architecture x86_64:
  "_aligned_alloc", referenced from:
      _piglit_alloc_aligned in piglit-util.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 1 Vinson Lee 2015-02-21 06:58:57 UTC
commit b3bf480298c3c754063bc86438645d6319277ee8
Author: Brian Paul <brianp@vmware.com>
Date:   Fri Feb 20 15:45:14 2015 -0700

    util: add piglit_get_page_size(), piglit_align_alloc/free()
    
    Reviewed-by: José Fonseca <jfonseca@vmware.com>
Comment 2 Jose Fonseca 2015-02-21 12:52:04 UTC
Fixed with 12450a46046a42a3a8d627612e9f0f31ee9c3001.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.