Please try to choose dynamic linking when you built the code on SnowLeo with IPP 5.3.
It seems that the issue you encountered causing by incompatibility with SnoLeo binutils ( partically in ld tool ).
--Gennady
Hello!
Could you show the link string for x86_64 MacOSX 10.6? I've tested theIPP 5.3 libraries on MacOSX 10.5 x86_64 - all ok.
Pavel.
#include
int main (int argc, char **argv)
{
const IppLibraryVersion* version = ippiGetLibVersion();
const Ipp8u* pSrc = 0;
IppiSize srcSize = {0, 0};
int srcStep = 0;
IppiRect srcROI = {0,0,0,0};
Ipp8u* pDst = 0;
int dstStep = 0;
IppiSize dstRoiSize = {0,0};
double xFactor = 0;
double yFactor = 0;
int interpolation = 0;
IppStatus status = ippiResize_8u_C3R (pSrc, srcSize, srcStep, srcROI, pDst, dstStep, dstRoiSize, xFactor, yFactor, interpolation);
return 0;
}
...and compiled and linked it using this line:
gcc-4.2 -arch x86_64 main.c -I /Library/Frameworks/Intel_IPP.framework/Versions/Current/include/ -L/Library/Frameworks/Intel_IPP.framework/Versions/Current/lib/ -lippiemerged -lippimerged -lippcore -o ippTest
which led to:
ld: in /Library/Frameworks/Intel_IPP.framework/Versions/Current/lib//libippimerged.a(piresnn_split_y8_ownResize16plN.o), ObjectFileAddressSpace::mappedAddress(0xFFFFFFFFFFFFFFFC) not in any section
collect2: ld returned 1 exit status
#include
int main (int argc, char **argv)
{
const IppLibraryVersion* version = ippiGetLibVersion();
const Ipp8u* pSrc = 0;
IppiSize srcSize = {0, 0};
int srcStep = 0;
IppiRect srcROI = {0,0,0,0};
Ipp8u* pDst = 0;
int dstStep = 0;
IppiSize dstRoiSize = {0,0};
double xFactor = 0;
double yFactor = 0;
int interpolation = 0;
IppStatus status = ippiResize_8u_C3R (pSrc, srcSize, srcStep, srcROI, pDst, dstStep, dstRoiSize, xFactor, yFactor, interpolation);
return 0;
}
...and compiled and linked it using this line:
gcc-4.2 -arch x86_64 main.c -I /Library/Frameworks/Intel_IPP.framework/Versions/Current/include/ -L/Library/Frameworks/Intel_IPP.framework/Versions/Current/lib/ -lippiemerged -lippimerged -lippcore -o ippTest
which led to:
ld: in /Library/Frameworks/Intel_IPP.framework/Versions/Current/lib//libippimerged.a(piresnn_split_y8_ownResize16plN.o), ObjectFileAddressSpace::mappedAddress(0xFFFFFFFFFFFFFFFC) not in any section
collect2: ld returned 1 exit status
ippiSwapChannels_8u_C3R PASSEDSRC255 0 0 255 0 0 255 0 0 255 0 00 255 0 0 255 0 0 255 0 0 255 00 0 255 0 0 255 0 0 255 0 0 255DST0 0 255 0 0 255 0 0 255 0 0 2550 255 0 0 255 0 0 255 0 0 255 0255 0 0 255 0 0 255 0 0 255 0 0
ippiSwapChannels_8u_C3R PASSEDSRC255 0 0 255 0 0 255 0 0 255 0 00 255 0 0 255 0 0 255 0 0 255 00 0 255 0 0 255 0 0 255 0 0 255DST0 0 255 0 0 255 0 0 255 0 0 2550 255 0 0 255 0 0 255 0 0 255 0255 0 0 255 0 0 255 0 0 255 0 0
#include
int main (int argc, char **argv)
{
ippStaticInit();
const IppLibraryVersion* version = ippiGetLibVersion();
const Ipp8u* pSrc = 0;
IppiSize srcSize = {0, 0};
int srcStep = 0;
IppiRect srcROI = {0,0,0,0};
Ipp8u* pDst = 0;
int dstStep = 0;
IppiSize dstRoiSize = {0,0};
double xFactor = 0;
double yFactor = 0;
int interpolation = 0;
IppStatus status = ippiResize_8u_C3R (pSrc, srcSize, srcStep, srcROI, pDst, dstStep, dstRoiSize, xFactor, yFactor, interpolation);
return 0;
}
command line:
gcc-4.2 -arch x86_64 main.c -I /Library/Frameworks/Intel_IPP.framework/Versions/Current/include/ -L/Library/Frameworks/Intel_IPP.framework/Versions/5.3.1.056/em64t/lib -lippiemerged -lippimerged -lippcore -o ippTest
ld: in /Library/Frameworks/Intel_IPP.framework/Versions/5.3.1.056/em64t/lib/libippimerged.a(piresnn_split_y8_ownResize16plN.o), ObjectFileAddressSpace::mappedAddress(0xFFFFFFFFFFFFFFFC) not in any section
collect2: ld returned 1 exit status
gcc-4.0 -arch i386 main.c -I /Library/Frameworks/Intel_IPP.framework/Versions/Current/include/ -L/Library/Frameworks/Intel_IPP.framework/Versions/Current/lib/ -lippiemerged -lippimerged -lippsmerged -lippsemerged -lippcore -o ippTestgcc-4.2 -arch i386 main.c -I /Library/Frameworks/Intel_IPP.framework/Versions/Current/include/ -L/Library/Frameworks/Intel_IPP.framework/Versions/Current/lib/ -lippiemerged -lippimerged -lippsmerged -lippsemerged -lippcore -o ippTestgcc-4.2-arch x86_64 main.c -I /Library/Frameworks/Intel_IPP.framework/Versions/Current/include/ -L/Library/Frameworks/Intel_IPP.framework/Versions/Current/Libraries -lippi -lipps -lippcore -o ippTest
gcc-4.0 -arch x86_64 main.c -I /Library/Frameworks/Intel_IPP.framework/Versions/Current/include/ -L/Library/Frameworks/Intel_IPP.framework/Versions/Current/lib/ -lippiemerged -lippimerged -lippsmerged -lippsemerged -lippcore -o ippTestgcc-4.2 -arch x86_64 main.c -I /Library/Frameworks/Intel_IPP.framework/Versions/Current/include/ -L/Library/Frameworks/Intel_IPP.framework/Versions/Current/lib/ -lippiemerged -lippimerged -lippsmerged -lippsemerged -lippcore -o ippTest
Hi Oliver!
Yes it is the tools conflict, I can reproduce this situation. I'll investigate it and report you about result.
Thank you, Pavel
Hello, the investigaion of this problem shows incompatilbe between compiler and ld from MacOSX 10.6. No such problem on MacOSX 10.5. I don't know yet is it theproblem of compiler or it is theproblem of ld. It is inverstigating right now.
I could suggest only one way rign now: use MacOSX 10.5 for linking your application. It works well.
Pavel.
Hello, the investigaion of this problem shows incompatilbe between compiler and ld from MacOSX 10.6. No such problem on MacOSX 10.5. I don't know yet is it theproblem of compiler or it is theproblem of ld. It is inverstigating right now.
I could suggest only one way rign now: use MacOSX 10.5 for linking your application. It works well.
Pavel.
Hello, the investigaion of this problem shows incompatilbe between compiler and ld from MacOSX 10.6. No such problem on MacOSX 10.5. I don't know yet is it theproblem of compiler or it is theproblem of ld. It is inverstigating right now.
I could suggest only one way rign now: use MacOSX 10.5 for linking your application. It works well.
Pavel.
For more complete information about compiler optimizations, see our Optimization Notice.