- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using TBB under Linux and I just ran into the issue that libtbb.so.2 is not compiled using the -fPIC option -- or in otherwords, the libtbb.so.2 contains text relocations.
Text relocations are explained here:
http://people.redhat.com/drepper/textrelocs.html
You can verify that libtbb.so.2 contains text relocations via running this command line:
[root@mtl-siqa23]# eu-findtextrel libtbb.so.2
Text relocations can result in SELinux policy warnings or errors. It is best these days to use the -fPIC option to avoid having text relocations.
I am somewhat new to Linux development, so maybe someone has a workaround or is there something I am not understanding?
If I am understanding correctly, it would be great if libtbb.so.2 was recompiled such that there were no text relocations.
I am using the commercial version of TBB and thus I understand that I can't just take the source to the open source TBB version and recompile it myself using the -fPIC option for my commercial use. (Although if that was allowed, it would be really nice.)
Best regards,
Ben Houston
http://www.exocortex.com
I am using TBB under Linux and I just ran into the issue that libtbb.so.2 is not compiled using the -fPIC option -- or in otherwords, the libtbb.so.2 contains text relocations.
Text relocations are explained here:
http://people.redhat.com/drepper/textrelocs.html
You can verify that libtbb.so.2 contains text relocations via running this command line:
[root@mtl-siqa23]# eu-findtextrel libtbb.so.2
Text relocations can result in SELinux policy warnings or errors. It is best these days to use the -fPIC option to avoid having text relocations.
I am somewhat new to Linux development, so maybe someone has a workaround or is there something I am not understanding?
If I am understanding correctly, it would be great if libtbb.so.2 was recompiled such that there were no text relocations.
I am using the commercial version of TBB and thus I understand that I can't just take the source to the open source TBB version and recompile it myself using the -fPIC option for my commercial use. (Although if that was allowed, it would be really nice.)
Best regards,
Ben Houston
http://www.exocortex.com
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This issue was fixed in TBB 2.2 update 1 by compiler upgrade.
--Vladimir
This issue was fixed in TBB 2.2 update 1 by compiler upgrade.
--Vladimir

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page