<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Wow, thanks Min. I did a decent amount
of searching on the internet but didn't find this.<br>
<br>
On 06/08/2015 12:52 PM, chen wrote:<br>
</div>
<blockquote
cite="mid:61de231e.10c.14dd4bbabcc.Coremail.chenm003@163.com"
type="cite">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">
<div>no answer in gcc website.</div>
<div> </div>
<div><a moz-do-not-send="true"
href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52544">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52544</a></div>
<div><br>
</div>
At 2015-06-09 03:26:10,dave <a class="moz-txt-link-rfc2396E" href="mailto:dtyx265@gmail.com"><dtyx265@gmail.com></a> wrote:<br>
<blockquote id="isReplyContent" style="margin: 0px 0px 0px
0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204,
204); border-left-width: 1px; border-left-style: solid;">
<div class="moz-cite-prefix">cmake/make already has the build
option -msseX. I don't think it is needed when linking
because it's not used when linking without
-finstrument-functions<br>
On 06/08/2015 11:56 AM, chen wrote:<br>
</div>
<blockquote
cite="mid:61cf3f3e.b1.14dd487bd01.Coremail.chenm003@163.com"
type="cite">
<div style="color: rgb(0, 0, 0); line-height: 1.7;
font-family: arial; font-size: 14px;">
<div>it is Intrinsic functions, you need add '-msse2' or
'-msse4' on your gcc cmdline<br>
</div>
At 2015-06-09 02:24:51,dave <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:dtyx265@gmail.com"><dtyx265@gmail.com></a>
wrote:<br>
<blockquote id="isReplyContent" style="margin: 0px 0px 0px
0.8ex; padding-left: 1ex; border-left-color: rgb(204,
204, 204); border-left-width: 1px; border-left-style:
solid;"> I would like to profile x265 with lttng by
using -finstrument-functions but when I add it to CXX
flags I get the following when linking,<br>
<br>
Linking CXX executable x265<br>
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cli.dir/link.txt --verbose=1<br>
/usr/bin/c++ -finstrument-functions -O3 -DNDEBUG
CMakeFiles/cli.dir/input/input.cpp.o
CMakeFiles/cli.dir/input/yuv.cpp.o
CMakeFiles/cli.dir/input/y4m.cpp.o
CMakeFiles/cli.dir/output/output.cpp.o
CMakeFiles/cli.dir/output/reconplay.cpp.o
CMakeFiles/cli.dir/output/yuv.cpp.o
CMakeFiles/cli.dir/output/y4m.cpp.o
CMakeFiles/cli.dir/output/raw.cpp.o
CMakeFiles/cli.dir/filters/filters.cpp.o
CMakeFiles/cli.dir/x265.cpp.o -o x265 -rdynamic
libx265.so.60 -lpthread -lrt -ldl
-Wl,-rpath,/home/shakezula/Development/x265.hg/build/linux:
<br>
libx265.so.60: undefined reference to
`_mm_hadd_epi32(long long __vector, long long __vector)'<br>
libx265.so.60: undefined reference to
`_mm_unpackhi_epi64(long long __vector, long long
__vector)'<br>
libx265.so.60: undefined reference to
`_mm_storeu_si128(long long __vector*, long long
__vector)'<br>
libx265.so.60: undefined reference to
`_mm_hsub_epi16(long long __vector, long long __vector)'<br>
libx265.so.60: undefined reference to `_mm_storeh_pi(int
__vector*, float __vector)'<br>
libx265.so.60: undefined reference to
`_mm_shuffle_epi8(long long __vector, long long
__vector)'<br>
libx265.so.60: undefined reference to
`_mm_sll_epi32(long long __vector, long long __vector)'<br>
libx265.so.60: undefined reference to
`_mm_hadd_epi16(long long __vector, long long __vector)'<br>
libx265.so.60: undefined reference to
`_mm_srai_epi32(long long __vector, int)'<br>
libx265.so.60: undefined reference to
`_mm_sub_epi16(long long __vector, long long __vector)'<br>
libx265.so.60: undefined reference to
`_mm_srai_epi16(long long __vector, int)'<br>
libx265.so.60: undefined reference to
`_mm_madd_epi16(long long __vector, long long __vector)'<br>
libx265.so.60: undefined reference to
`_mm_cvtsi32_si128(int)'<br>
libx265.so.60: undefined reference to
`_mm_unpackhi_epi16(long long __vector, long long
__vector)'<br>
libx265.so.60: undefined reference to
`_mm_add_epi16(long long __vector, long long __vector)'<br>
libx265.so.60: undefined reference to
`_mm_set1_epi32(int)'<br>
libx265.so.60: undefined reference to
`_mm_loadu_si128(long long __vector const*)'<br>
libx265.so.60: undefined reference to
`_mm_unpacklo_epi32(long long __vector, long long
__vector)'<br>
libx265.so.60: undefined reference to
`_mm_sra_epi32(long long __vector, long long __vector)'<br>
libx265.so.60: undefined reference to
`_mm_packs_epi32(long long __vector, long long
__vector)'<br>
libx265.so.60: undefined reference to
`_mm_add_epi32(long long __vector, long long __vector)'<br>
libx265.so.60: undefined reference to
`_mm_unpacklo_epi64(long long __vector, long long
__vector)'<br>
libx265.so.60: undefined reference to
`_mm_load_si128(long long __vector const*)'<br>
libx265.so.60: undefined reference to
`_mm_sub_epi32(long long __vector, long long __vector)'<br>
libx265.so.60: undefined reference to
`_mm_hsub_epi32(long long __vector, long long __vector)'<br>
libx265.so.60: undefined reference to
`_mm_storel_epi64(long long __vector*, long long
__vector)'<br>
libx265.so.60: undefined reference to
`_mm_set_epi32(int, int, int, int)'<br>
libx265.so.60: undefined reference to
`_mm_unpacklo_epi16(long long __vector, long long
__vector)'<br>
libx265.so.60: undefined reference to
`_mm_store_si128(long long __vector*, long long
__vector)'<br>
libx265.so.60: undefined reference to
`_mm_castsi128_ps(long long __vector)'<br>
libx265.so.60: undefined reference to
`_mm_mullo_epi32(long long __vector, long long
__vector)'<br>
libx265.so.60: undefined reference to
`_mm_unpackhi_epi32(long long __vector, long long
__vector)'<br>
collect2: error: ld returned 1 exit status<br>
make[2]: *** [x265] Error 1<br>
make[2]: Leaving directory
`/home/shakezula/Development/x265.hg/build/linux'<br>
make[1]: *** [CMakeFiles/cli.dir/all] Error 2<br>
make[1]: Leaving directory
`/home/shakezula/Development/x265.hg/build/linux'<br>
make: *** [all] Error 2<br>
<br>
I tried using <code>-finstrument-functions-exclude-file-list=
with the intrinsic headers and everything in
source/common/vec but I get the same results. Any
help would be greatly appreciated.<br>
<br>
thanks,<br>
Dave<br>
</code> </blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
x265-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://mailman.videolan.org/listinfo/x265-devel">https://mailman.videolan.org/listinfo/x265-devel</a>
</pre>
</blockquote>
<br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
x265-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.videolan.org/listinfo/x265-devel">https://mailman.videolan.org/listinfo/x265-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>