Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
7746 Discussions

starnge link error in fltk on mac 10.5.8

af123_af007
Beginner
205 Views
Hey,
I'm building Fltk 1.1.8 and I getting the following linker error:

ld warning: can't add line info to anonymous symbol ___gxx_personality_v0$non_lazy_ptr from ../lib/libfltk.a(Fl_Group.o)

CXX-Flags: icpc -O3 -fpic

The version of the c++ compiler is11.1-080.

Is this the same error as inhttp://software.intel.com/en-us/forums/showthread.php?t=64742 ?

0 Kudos
2 Replies
af123_af007
Beginner
205 Views
Hello,

After using the linker flag -static-intel the linker warning goes away.

Thanks

Quoc-An_L_Intel
Moderator
205 Views
Quoting - af123_af007
Hello,

After using the linker flag -static-intel the linker warning goes away.

Thanks


That's interesting. In the other thread, the user was having a problemusing a combination of -static-intel and -all_load. Are you using -all_load?

I think I have a test case that reproduce the ld warning can't add line info. I'm going to submit a bug on that.

Reply