Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

starnge link error in fltk on mac 10.5.8

af123_af007
Beginner
362 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
362 Views
Hello,

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

Thanks

0 Kudos
Quoc-An_L_Intel
Moderator
362 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.

0 Kudos
Reply