Open Bug 1041353 Opened 5 years ago

../../build/unix/gold/ld: error: js/src/objdir/js/src/jsobj.o: multiple definition of '__dtrace_javascript___object-create'

Categories

(Core :: JavaScript Engine, defect)

All
FreeBSD
defect
Not set

Tracking

()

UNCONFIRMED

People

(Reporter: jbeich, Unassigned)

Details

ld.gold has an issue merging dtrace probes. The following error doesn't happen with --disable-gold.

$ ../configure --enable-dtrace
$ gmake
[...]
../../build/unix/gold/ld: error: js/src/objdir/js/src/IonFrames.o: multiple definition of '__dtraceenabled_javascript___function-return'
../../build/unix/gold/ld: js/src/objdir/js/src/Bailouts.o: previous definition here
../../build/unix/gold/ld: error: js/src/objdir/js/src/jsobj.o: multiple definition of '__dtrace_javascript___object-create'
../../build/unix/gold/ld: js/src/objdir/js/src/jsarray.o: previous definition here
../../build/unix/gold/ld: error: js/src/objdir/js/src/jsobj.o: multiple definition of '__dtraceenabled_javascript___object-create'
../../build/unix/gold/ld: js/src/objdir/js/src/jsarray.o: previous definition here
../../build/unix/gold/ld: error: js/src/objdir/js/src/Interpreter.o: multiple definition of '__dtraceenabled_javascript___function-return'
../../build/unix/gold/ld: js/src/objdir/js/src/Bailouts.o: previous definition here
../../build/unix/gold/ld: error: js/src/objdir/js/src/Stack.o: multiple definition of '__dtraceenabled_javascript___function-entry'
../../build/unix/gold/ld: js/src/objdir/js/src/Interpreter.o: previous definition here
../../build/unix/gold/ld: error: js/src/objdir/js/src/Stack.o: multiple definition of '__dtraceenabled_javascript___function-return'
../../build/unix/gold/ld: js/src/objdir/js/src/Bailouts.o: previous definition here
c++: error: linker command failed with exit code 1 (use -v to see invocation)
config/rules.mk:872: recipe for target 'libmozjs-33a1.so' failed
gmake[3]: *** [libmozjs-33a1.so] Error 1
You need to log in before you can comment on or make changes to this bug.