Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

TBB with ARM cross compiler on X86

garypipi
Beginner
309 Views
i have to port tbb on the ARM architecture which means first all i have to compile the program with TBB on x86 ensure that can compiled.

but i got a problem with TBB, i was install intel C++ compiler the tgz file is l_cproc_p_11.1.046
and i compile the program within TBB used normal GNU compiler (g++), it work on x86.
the cross compier was using GNU cross compiler, the bz2 file is arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2, i just uncompress the file and add bin to my PATH th use. but i got the error like
[cpp]/home/gr/tmp/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /home/gr/tmp/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/libtbb.so.2 when searching for libtbb.so.2 
/home/gr/tmp/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /home/gr/tmp/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/lib/libtbb.so.2 when searching for libtbb.so.2 
/home/gr/tmp/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /home/gr/tmp/arm-2009q1/bin/../arm-none-linux-gnueabi/libc/lib/libtbb.so.2 when searching for libtbb.so.2 
/home/gr/tmp/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot find libtbb.so.2 
collect2: ld returned 1 exit status[/cpp]


and i find this discuss http://software.intel.com/en-us/forums/showthread.php?t=67133
but i didn't understand what it talk, i don't know how to use the PATCH of atomic.Raf_Schietekat.20080714

My cross compilation environment is as follows:
Host: Fedora 10 i686
Target: first try compile on x86 then try ARM
Cross Compiler:Sourcery G++ Lite 2009q1-203 for ARM GNU/Linux(http://www.codesourcery.com/sgpp/lite/arm/portal/release858)
TBB version: Intel C++ Compiler Professional Edition for Linux*
TBB patch version: atomic.Raf_Schietekat.20080714

can some one give me some help.
0 Kudos
2 Replies
RafSchietekat
Black Belt
309 Views
Why did you create a new thread for this? That's so not TBB...

But if you don't use the TBB and patch versions and corrections mentioned in that thread, it won't work anyhow, and you should probably confer with "sammmas", who seemed to be getting somewhere, because I only wrote the code from specifications and have never tried it out myself yet.
garypipi
Beginner
309 Views
Quoting - Raf Schietekat
Why did you create a new thread for this? That's so not TBB...

But if you don't use the TBB and patch versions and corrections mentioned in that thread, it won't work anyhow, and you should probably confer with "sammmas", who seemed to be getting somewhere, because I only wrote the code from specifications and have never tried it out myself yet.
OK, i will confer with "sammmas", thanks anyway.
Reply