Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544424 - media-libs/x265-1.5 - ld: CMakeFiles/TestBench.dir/checkasm-a.asm.o: relocation R_X86_64_PC32 against undefined symbol `puts@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
Summary: media-libs/x265-1.5 - ld: CMakeFiles/TestBench.dir/checkasm-a.asm.o: relocati...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-25 07:33 UTC by Nikoli
Modified: 2015-10-15 14:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (x265-1.5_build.log,105.55 KB, text/plain)
2015-03-25 07:33 UTC, Nikoli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2015-03-25 07:33:33 UTC
Created attachment 399710 [details]
build.log

Linking CXX executable TestBench
cd /var/tmp/portage/media-libs/x265-1.5/work/multicoreware-x265-9f0324125f53/source-abi_x86_64.amd64/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/TestBench.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++   -march=corei7-avx -O2 -pipe -fPIC    -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed CMakeFiles/TestBench.dir/checkasm-a.asm.o CMakeFiles/TestBench.dir/testbench.cpp.o CMakeFiles/TestBench.dir/pixelharness.cpp.o CMakeFiles/TestBench.dir/mbdstharness.cpp.o CMakeFiles/TestBench.dir/ipfilterharness.cpp.o CMakeFiles/TestBench.dir/intrapredharness.cpp.o  -o TestBench -rdynamic ../libx265.a -lpthread -lrt 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/TestBench.dir/checkasm-a.asm.o: warning: relocation against `puts@@GLIBC_2.2.5' in readonly section `.text'.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/TestBench.dir/checkasm-a.asm.o: relocation R_X86_64_PC32 against undefined symbol `puts@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
test/CMakeFiles/TestBench.dir/build.make:206: recipe for target 'test/TestBench' failed
make[2]: *** [test/TestBench] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/x265-1.5/work/multicoreware-x265-9f0324125f53/source-abi_x86_64.amd64'
CMakeFiles/Makefile2:347: recipe for target 'test/CMakeFiles/TestBench.dir/all' failed
make[1]: *** [test/CMakeFiles/TestBench.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/x265-1.5/work/multicoreware-x265-9f0324125f53/source-abi_x86_64.amd64'
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-libs/x265-1.5::gentoo failed (compile phase):
 *   emake failed
Comment 1 Alexis Ballier gentoo-dev 2015-10-15 14:16:14 UTC
I *think* this is fixed in recent versions, please reopen if i'm wrong