Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

A question for TBB's compilation

yanling_zhisina_com
109 Views

Is TBB's compilation closely related with the kernel of Linux OS? I'm on 64-bit red-hatEnterpriseLinux. For some reason, I need to compile a 32-bit library for TBB. I did this by force the CPLUS_FLAGS and LIB_LINK_FLAGS all += -m32, and for testing I alsocompiled my program in this way. Now an error came out when linking which said "undefined reference to `tbb::internal::allocate_root_proxy::allocate(unsigned int)' ", etc.
Can someone help me on this? Many thanks.

0 Kudos
2 Replies
Vladimir_P_Intel2
109 Views

As far as I understand the architecture is Intel64 or similar. Try to run following commands:
make clean arch=ia32
make arch=ia32

and use the same argument for the tests. it should generate 32 bit binaries in liniux_ia32... folders.
yanling_zhisina_com
109 Views

As far as I understand the architecture is Intel64 or similar. Try to run following commands:
make clean arch=ia32
make arch=ia32

and use the same argument for the tests. it should generate 32 bit binaries in liniux_ia32... folders.

Thank you, and I'll try it.
Reply