SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It seems that boost 1.59 in slackware x64 14.2 is compiled with a single ABI (ie, doesn't contains c++11 entries...) which leads to error when compiling programs such GnuRadio.
I don't clearly see the side effects of building it with the _GLIBCXX_USE_CXX11_ABI=1 flag. From my understanding, it would be using dual-ABI.
Any idea ?
Thanks and best regards
Larry
[][4] ~ : readelf -h /usr/lib64/libboost_context.so
ELF Header:
Magic: 7f 45 4c 46 02 01 01 03 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - GNU
ABI Version: 0
Type: DYN (Shared object file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
Entry point address: 0x5d40
Start of program headers: 64 (bytes into file)
Start of section headers: 52088 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
Size of program headers: 56 (bytes)
Number of program headers: 5
Size of section headers: 64 (bytes)
Number of section headers: 27
Section header string table index: 26
It seems that boost 1.59 in slackware x64 14.2 is compiled with a single ABI (ie, doesn't contains c++11 entries...) which leads to error when compiling programs such GnuRadio.
hi cthibal, just for curiosity I tried building gnuradio from SBo and all went fine...
can you please paste here (or on pastebin.com if it's too long) the log with the error you got building that?
Hello Ponce,
Thanks for the test, I forgot to mention that I was able to build up to version 3.7.9.2 with SBo script.
I am trying to build the last released version 3.7.10.1 with same cmake command than SBo script and I got some missing '[abi:cxx11]' functions, has shown below.
Command line in build folder:
cmake -DCMAKE_C_FLAGS:STRING="-O2 -fPIC" -DCMAKE_CXX_FLAGS:STRING="-O2 -fPIC" -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DLIB_SUFFIX=64 -DCMAKE_MODULES_DIR=lib64/cmake/gnuradio -Wno-dev -DCMAKE_BUILD_TYPE=Release ..
IMHO, the issue start with this commit in volk that, if I have understood it correctly, repairs one thing (non-related to your issue) but, in practice, breaks another one.
that's unwanted, I think, because if you look at gnuradio you can see that they are still using gnu99.
if you add this sed (that reverts that commit) after the other one in SBo's gnuradio.SlackBuild you should be able to build 3.7.10.1 on slackware 14.2 just fine
Code:
sed -i "/GLIBCXX_USE_CXX11_ABI/d" volk/CMakeLists.txt
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.