Bug 50802 - crash-cubemap-order build failure on Solaris
Summary: crash-cubemap-order build failure on Solaris
Status: RESOLVED FIXED
Alias: None
Product: piglit
Classification: Unclassified
Component: infrastructure (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Solaris
: medium blocker
Assignee: Vinson Lee
QA Contact: Eric Anholt
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 15:47 UTC by Vinson Lee
Modified: 2013-01-14 00:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Vinson Lee 2012-06-06 15:47:59 UTC
piglit: 3df8bff4042d1d13379ad4c53a4155ef12a90add (master)


[  2%] Built target piglitutil
Linking C executable ../../../../bin/crash-cubemap-order
Undefined                       first referenced
 symbol                             in file
__1cG__CrunIex_alloc6FI_pv_         ../../../../lib/libpiglitutil.so
__1cG__CrunIex_throw6Fpvpkn0AQstatic_type_info_pF1_v_v_ ../../../../lib/libpiglitutil.so
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Esize6kM_I_ ../../../../lib/libpiglitutil.so
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2G6Mrk1_r1_ ../../../../lib/libpiglitutil.so
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2t6Mpkc3rkn0C__v_ ../../../../lib/libpiglitutil.so
__1cH__rwstdK__rw_basis4CpcnDstdJallocator4Cc___Edata6kM_1_ ../../../../lib/libpiglitutil.so
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Efind6kMcI_I_ ../../../../lib/libpiglitutil.so
__1cDstdTallocator_interface4n0AJallocator4Cc__Cc_2t6Mrkn0B__v_ ../../../../lib/libpiglitutil.so
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2T6M_v_ ../../../../lib/libpiglitutil.so
__1cDstdZ__RTTI__1nDstdJbad_alloc__ ../../../../lib/libpiglitutil.so
__1cDstdLchar_traits4Cc_Deof6F_i_   ../../../../lib/libpiglitutil.so
__1cH__rwstdL__construct4CcCc_6FpTArkTB_v_ ../../../../lib/libpiglitutil.so
__1cDstdJallocator4Cc_2t6M_v_       ../../../../lib/libpiglitutil.so
__1cDstdTallocator_interface4n0AJallocator4Cc__Cc_Iallocate6MIpc_2_ ../../../../lib/libpiglitutil.so
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2F6kMI_rkc_ ../../../../lib/libpiglitutil.so
__1cDstdJexceptionG__vtbl_          ../../../../lib/libpiglitutil.so
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Gsubstr6kMII_1_ ../../../../lib/libpiglitutil.so
__1cDstdJbad_allocG__vtbl_          ../../../../lib/libpiglitutil.so
__1cDstdTallocator_interface4n0AJallocator4Cc__Cc_Iallocate6MIpc_2_ ../../../../lib/libpiglitutil.so
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2F6kMI_rkc_ ../../../../lib/libpiglitutil.so
__1cDstdJexceptionG__vtbl_          ../../../../lib/libpiglitutil.so
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Gsubstr6kMII_1_ ../../../../lib/libpiglitutil.so
__1cDstdJbad_allocG__vtbl_          ../../../../lib/libpiglitutil.so
__1cDstdTallocator_interface4n0AJallocator4Cc__Cc_Kdeallocate6MpcI_v_ ../../../../lib/libpiglitutil.so
__1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Fc_str6kM_pkc_ ../../../../lib/libpiglitutil.so
__1cH__rwstdK__rw_basis4CpcnDstdJallocator4Cc___2G6Mrk1_3_ ../../../../lib/libpiglitutil.so
__1cG__CrunMex_rethrow_q6F_v_       ../../../../lib/libpiglitutil.so
__1cDstdDmax4CI_6FrkTA3_3_          ../../../../lib/libpiglitutil.so
__1cG__CrunHex_skip6F_b_            ../../../../lib/libpiglitutil.so
__1cG__CrunIex_clean6F_v_           ../../../../lib/libpiglitutil.so
__1cG__CrunKex_rethrow6F_v_         ../../../../lib/libpiglitutil.so
__1cH__rwstdK__rw_basis4CpcnDstdJallocator4Cc___2t6Mirkn0C__v_ ../../../../lib/libpiglitutil.so
__1c2n6FI_pv_                       ../../../../lib/libpiglitutil.so
__1c2k6Fpv_v_                       ../../../../lib/libpiglitutil.so
ld: fatal: symbol referencing errors. No output written to ../../../../bin/crash-cubemap-order
gmake[2]: *** [bin/crash-cubemap-order] Error 2


00144cb77fd3afc05cfb4183b44e16a8bab175c0 is the first bad commit
commit 00144cb77fd3afc05cfb4183b44e16a8bab175c0
Author: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Date:   Sat May 19 01:20:08 2012 +0300

    make: Make util libraries shared in non-windows systems
    
    Incremental builds take long time linking tests if utilities are
    modified. The link time can be eliminate if libraries are made shared.
    
    Shared libraries need to specify symbols that are excepted to be
    declared in executeable as weak to allow linking without symbols that
    aren't used in runtime.
    
    Windows has limitation that shared library can't have programs main
    function that forces windows to use static libraries.
    
    Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
    Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
    Acked-by: Kenneth Graunke <kenneth@whitecape.org>

:040000 040000 b4ede502b8299e739841796313f7a65e7763f81e af6140cf2402ab3762a6c80df4eb90d9b8f0980a M	cmake
:040000 040000 8ef09bd9b297a90d5ab8627b8cef36dc11952966 aed5bca7de39192ec9c55420a21bfbe8c0d026f1 M	tests
Comment 1 Kenneth Graunke 2012-07-09 02:46:53 UTC
Vinson, I think after Chad's changes to remove main() from libpiglitutil, it should be possible to build shared libraries on Windows and whatever version of Solaris you're using.

Reassigning to you, since I think you're the only one that can actually test this.  It should be a simple change to cmake/piglit_util.cmake if it doesn't already just work.
Comment 2 Vinson Lee 2013-01-14 00:35:01 UTC
mesa: 4e2e77a58998fbad95fdb9edb35d8fb69ce0068e (master)

piglit build completes now on Solaris.


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.