Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

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

Weeks__John
Novice
501 Views

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
501 Views

what version of MKL and compiler do you use? 

0 Kudos
Weeks__John
Novice
501 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.

0 Kudos
Weeks__John
Novice
501 Views

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

0 Kudos
Weeks__John
Novice
501 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

0 Kudos
Reply