Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6711 Discussions

Malformed objects in i386 IPP library for Mac OS X

bjorn_topel
Beginner
384 Views
The new ranlib in the XCode SDK supporting iOS4 reveals the problem.
1. Extractippcachesize.o fromlibippcore_i386.a.
2. $ ar -r outlib.a ippcachesize.o
ranlib: object: outlib.a(ippcachesize.o) malformed object (section contents at offset 0 with a size of 4, overlaps Mach-O headers at offset 0 with a size of 528)
Third section confirms this:
$ otool -l 'libippcore_i386.a(ippcachesize.o)'
...
Section
sectname __bss
segname __DATA
addr 0x00000300
size 0x00000004 <<<<<<<<<<<<<<<
offset 0 <<<<<<<<<<<<<<<<<<<<<<
align 2^2 (4)
reloff 0
nreloc 0
flags 0x10000001
reserved1 0
reserved2 0
...
The complete list of broken objects:
libtool: object: ./ippcachesize.o malformed object (section contents at offset 0 with a size of 4, overlaps Mach-O headers at offset 0 with a size of 528)
libtool: object: ./ippmrgjump.o malformed object (section contents at offset 0 with a size of 8, overlaps Mach-O headers at offset 0 with a size of 460)
libtool: object: ./owncpufeatures.o malformed object (section contents at offset 0 with a size of 16, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvfull_split_p8_ippiConvFull_32f_AC4R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvfull_split_p8_ippiConvFull_32f_C3R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvfull_split_px_ippiConvFull_32f_AC4R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvfull_split_px_ippiConvFull_32f_C3R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvfull_split_t7_ippiConvFull_32f_AC4R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvfull_split_t7_ippiConvFull_32f_C3R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvfull_split_v8_ippiConvFull_32f_AC4R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvfull_split_v8_ippiConvFull_32f_C3R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvfull_split_w7_ippiConvFull_32f_AC4R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvfull_split_w7_ippiConvFull_32f_C3R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvvalid_split_p8_ippiConvValid_32f_AC4R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvvalid_split_px_ippiConvValid_32f_AC4R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvvalid_split_t7_ippiConvValid_32f_AC4R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvvalid_split_v8_ippiConvValid_32f_AC4R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piconvvalid_split_w7_ippiConvValid_32f_AC4R.o malformed object (section contents at offset 0 with a size of 12, overlaps Mach-O headers at offset 0 with a size of 392)
libtool: object: ./piresfltcn_split_p8_ownHorResizeFilter.o malformed object (section contents at offset 0 with a size of 16, overlaps Mach-O headers at offset 0 with a size of 312)
libtool: object: ./piresfltcn_split_p8_ownVerResizeFilter.o malformed object (section contents at offset 0 with a size of 16, overlaps Mach-O headers at offset 0 with a size of 312)
libtool: object: ./piresfltcn_split_t7_ownVerResizeFilter.o malformed object (section contents at offset 0 with a size of 16, overlaps Mach-O headers at offset 0 with a size of 312)
libtool: object: ./piresfltcn_split_v8_ownHorResizeFilter.o malformed object (section contents at offset 0 with a size of 16, overlaps Mach-O headers at offset 0 with a size of 312)
libtool: object: ./piresfltcn_split_v8_ownVerResizeFilter.o malformed object (section contents at offset 0 with a size of 16, overlaps Mach-O headers at offset 0 with a size of 312)
libtool: object: ./piresfltcn_split_w7_ownVerResizeFilter.o malformed object (section contents at offset 0 with a size of 16, overlaps Mach-O headers at offset 0 with a size of 312)
$libtool -V
Apple Computer, Inc. version cctools-782
0 Kudos
5 Replies
Ying_H_Intel
Employee
384 Views
Hi bjorn,

Could youpleaseprovidethe exact IPP version and Mac OS version (or install package name)?

The latest IPP for Mac OS is intergated to Intel Compiler Professional Edition.

Hereare some related information for your reference,
Where to download IPP for Mac OS:
http://software.intel.com/en-us/articles/performance-tools-for-software-developers-how-can-i-download-the-intel-ipp-and-intel-mkl-for-mac-os-x/

Which version of Intel IPP, Intel MKL and Intel TBB is installed by the Intel Compiler Professional Edition?

Regards,
Ying
0 Kudos
bjorn_topel
Beginner
384 Views
Certainly, should have added this in my first post.
IPP: 6.0.1.071.
Apple Mac OS X: 10.6.4
Apple XCode: 3.2.3
0 Kudos
bjorn_topel
Beginner
384 Views
@Ying Do you need any more information?
0 Kudos
Pavel_B_Intel1
Employee
384 Views
Hello Bjorn!

I will look at this problem.

Thanks, Pavel
0 Kudos
Pavel_B_Intel1
Employee
384 Views

Bjorn,

Unfortunately I can't find any workaround forIPP 6.1 gold
In the IPP 7.0 this problem already fixed. You can use IPP 7.0 beta or wait IPP 7.0 gold, it will be soon.


Best regards, Pavel

0 Kudos
Reply