Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Weeks__John
Novice
146 Views

Warnings from libiomp5.a when linking on Macintosh with Xcode 8

We are using MKL and linking with libiomp5.a. Since starting to use Xcode 8.3.3 to build, we have been getting a large number of warnings like this:

:-1: warning: pointer not aligned at address 0x11132A942 (anon + 112 from ...libs/libiomp5.a(iomp.o))

Does anyone know how to silence this?

Thanks, John Weeks

0 Kudos
4 Replies
Gennady_F_Intel
Moderator
146 Views

what version of MKL and compiler do you use? 

Weeks__John
Novice
146 Views

Thankst!

I did include the Xcode version: 8.3.3. I'm building on OS X 10.12.6. I am using libraries from a newly-installed Intel® Parallel Studio XE Composer Edition for Fortran macOS, 2017 Update 4. I've seen the warning from earlier versions as well.

Weeks__John
Novice
146 Views

I forgot to mention that we see this with both 32-bit and 64-bit builds.

Weeks__John
Novice
146 Views

It occurs to me that the Xcode version isn't exactly what you want. Here is better info:

Johns-5k-iMac:IgorSrc7 johnweeks$ /usr/bin/clang --version

Apple LLVM version 8.1.0 (clang-802.0.42)

Target: x86_64-apple-darwin16.7.0

Thread model: posix

Reply