duplicate symbol ___divdi3

duplicate symbol ___divdi3

I get this error trying to compile Mozilla with ICC on Mac OS X, using version 10.1.009 and earlier (.006, .007).

ld: warning symbol __init_0.0 found in unsupported section in pthreads/./ptthread.o
ld: duplicate symbol ___divdi3 in /opt/intel/cc/10.1.009/lib/libirc.a(udiv64_gcc.o) and /usr/lib/gcc/i686-apple-darwin9/4.0.1//libgcc.a(_divdi3.o)

This is early on, in the NSPR build.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

This looks like a bug which ought to have a simple work-around, if it hasn't been fixed by updates of either icc or Mac OS. You might want to submit an issue on premier.intel.com. I don't see in on-line documentation a way to tell your ld to ignore duplicate definitions, although there ought to be one. You could also try to make your own copy of either of the libraries with the offending .o removed.

Leave a Comment

Please sign in to add a comment. Not a member? Join today