Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Apple OS X 10.9: ld: warning: can't find atom for N_GSYM stabs

$
0
0

Greetings:

The following warning doesn't appear to cause any problems however I'd like to understand how to fix it. When I link an application on Apple OS X 10.9.5 with up-to-date Intel C++ I receive the following warnings.

ld: warning: can't find atom for N_GSYM stabs __ZN3rml8internal9FreeBlock12minBlockSizeE in /usr/bin/icpc-15.0-base/compiler/lib/libiomp5.a(iomp.o)
ld: warning: can't find atom for N_GSYM stabs __ZN3rml8internal13BackRefMaster6dataSzE in /usr/bin/icpc-15.0-base/compiler/lib/libiomp5.a(iomp.o)
ld: warning: can't find atom for N_GSYM stabs __ZN3rml8internal10MemoryPool18defaultGranularityE in /usr/bin/icpc-15.0-base/compiler/lib/libiomp5.a(iomp.o)
ld: warning: can't find atom for N_GSYM stabs __ZN3rml8internal5Block16emptyEnoughRatioE in /usr/bin/icpc-15.0-base/compiler/lib/libiomp5.a(iomp.o)
ld: warning: can't find atom for N_GSYM stabs __ZN3rml8internal18minLargeObjectSizeE in /usr/bin/icpc-15.0-base/compiler/lib/libiomp5.a(iomp.o)
ld: warning: can't find atom for N_GSYM stabs __ZN3rml8internal28RecursiveMallocCallProtector23mallocRecursionDetectedE in /usr/bin/icpc-15.0-base/compiler/lib/libiomp5.a(iomp.o)
ld: warning: can't find atom for N_GSYM stabs __ZN3rml8internal10MemoryPool15memPoolListLockE in /usr/bin/icpc-15.0-base/compiler/lib/libiomp5.a(iomp.o)
ld: warning: can't find atom for N_GSYM stabs __ZN3rml8internal9hugePagesE in /usr/bin/icpc-15.0-base/compiler/lib/libiomp5.a(iomp.o)
ld: warning: can't find atom for N_GSYM stabs __ZN3rml8internal28RecursiveMallocCallProtector9rmc_mutexE in /usr/bin/icpc-15.0-base/compiler/lib/libiomp5.a(iomp.o)
ld: warning: can't find atom for N_GSYM stabs __ZN3rml8internal28RecursiveMallocCallProtector12owner_threadE in /usr/bin/icpc-15.0-base/compiler/lib/libiomp5.a(iomp.o)
ld: warning: can't find atom for N_GSYM stabs __ZN3rml8internal28RecursiveMallocCallProtector10autoObjPtrE in /usr/bin/icpc-15.0-base/compiler/lib/libiomp5.a(iomp.o)

A typical build line resembles the following excerpt (I inserted line breaks for readability).

/usr/bin/icpc   -DHAVE_LAPACK_CONFIG_H -DLAPACK_COMPLEX_STRUCTURE
-fPIC -axCORE-AVX2,AVX,SSE4.2 -restrict -static-intel -fp-model fast=2 -ip
-O3 -DNDEBUG -I/path/to/hdf5-1.8.6_intel-15.0_osx-10.9/include
-I/path/to/yaml-cpp-0.5.1_intel-15.0_osx-10.9/include
-I/path/to/boost-1.57.0_intel-15.0_osx-10.9/include
-I/path/to/lapack-3.5.0_intel-15.0_osx-10.9/include
-I/opt/intel/composer_xe_2015.1.108/mkl/include/fftw
-I/path/to/Build -I/path/to/Source -I/path/to/Source/Base
-openmp -o /path/to/AppMain.cxx.o -c /path/to/AppMain.cxx

The link line is shown below (with some entries on their own lines for convenience).

/usr/bin/icpc   -fPIC -axCORE-AVX2,AVX,SSE4.2 -restrict -static-intel -fp-model fast=2 -ip -O3 -DNDEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names -static-intel -static-intel -openmp CMakeFiles/Anemone.dir/AnemoneMain.cxx.o  -o Anemone
-L/usr/bin/icc-15.0-base/compiler/lib
-L/usr/bin/ifort-15.0-base/compiler/lib
/path/to/hdf5-1.8.6_intel-15.0_osx-10.9/lib/libhdf5_cpp.a
/path/to/hdf5-1.8.6_intel-15.0_osx-10.9/lib/libhdf5.a
libSomethingLib.a
libSomethingElseLib.a
libSomethingOrOtherLib.a
/path/to/yaml-cpp-0.5.1_intel-15.0_osx-10.9/lib/libyaml-cpp.a
/path/to/lapack-3.5.0_intel-15.0_osx-10.9/lib/libblas.a
/path/to/lapack-3.5.0_intel-15.0_osx-10.9/lib/liblapack.a
/path/to/lapack-3.5.0_intel-15.0_osx-10.9/lib/liblapacke.a
/opt/intel/composer_xe_2015.1.108/mkl/lib/libmkl_intel_lp64.a
/opt/intel/composer_xe_2015.1.108/mkl/lib/libmkl_core.a
/opt/intel/composer_xe_2015.1.108/mkl/lib/libmkl_intel_thread.a
-ldl
/usr/lib/libz.dylib
libSomethingLib.a
/path/to/hdf5-1.8.6_intel-15.0_osx-10.9/lib/libhdf5_cpp.a
/path/to/hdf5-1.8.6_intel-15.0_osx-10.9/lib/libhdf5.a
/path/to/boost-1.57.0_intel-15.0_osx-10.9/lib/libboost_system.a
/path/to/boost-1.57.0_intel-15.0_osx-10.9/lib/libboost_filesystem.a
/path/to/boost-1.57.0_intel-15.0_osx-10.9/lib/libboost_timer.a
/path/to/boost-1.57.0_intel-15.0_osx-10.9/lib/libboost_chrono.a
-ldl
/path/to/lapack-3.5.0_intel-15.0_osx-10.9/lib/libtmglib.a
/path/to/lapack-3.5.0_intel-15.0_osx-10.9/lib/liblapack.a
/path/to/lapack-3.5.0_intel-15.0_osx-10.9/lib/libblas.a
-lm
/usr/bin/icc-15.0-base/compiler/lib/libimf.a
/usr/bin/icc-15.0-base/compiler/lib/libsvml.a
/usr/bin/icc-15.0-base/compiler/lib/libirng.a
/usr/bin/icc-15.0-base/compiler/lib/libipgo.a
/usr/bin/icc-15.0-base/compiler/lib/libdecimal.a
/usr/bin/icc-15.0-base/compiler/lib/libirc.a
/usr/bin/icc-15.0-base/compiler/lib/libsvml.a
/usr/bin/ifort-15.0-base/compiler/lib/libifport.a
/usr/bin/ifort-15.0-base/compiler/lib/libifcore.a
/usr/bin/ifort-15.0-base/compiler/lib/libimf.a
/usr/bin/ifort-15.0-base/compiler/lib/libsvml.a
/usr/bin/ifort-15.0-base/compiler/lib/libipgo.a
/usr/bin/ifort-15.0-base/compiler/lib/libirc.a
-lpthread
/usr/bin/ifort-15.0-base/compiler/lib/libsvml.a

The version of the Intel compiler I am using is shown below.

$ icpc -V
Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.2.132 Build 20150121

I am building this on a MacBookPro11,3 system running Apple OS X 10.9.5.

Thank you for any assistance you can provide with this.

Kind regards,

Anthony


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>