Closed
Bug 866493
Opened 12 years ago
Closed 12 years ago
Fx 21.0beta fails to build on powerpc : undefined reference to `JSContext::updateMallocCounter(unsigned long)'
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 846986
People
(Reporter: gaston, Unassigned)
Details
Firefox 20 builds fine on OpenBSD/ppc, 21.0b1/21.0b4 fails when linking plugin-container with :
Executing: c++ -o plugin-container -I/usr/X11R6/include -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-invalid-offsetof -Wcast-align -O2 -pipe -DCFLAGSWASHERE -DCXXFLAGSWASHERE -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -fno-omit-frame-pointer /usr/ports/pobj/firefox-21.0beta4/build-powerpc/ipc/app/tmpTe7cBl.list -pthread -Wl,--no-keep-memory -Wl,--relax -Wl,-z,noexecstack -Wl,-rpath-link,/usr/ports/pobj/firefox-21.0beta4/build-powerpc/dist/bin -Wl,-rpath-link,/usr/local/lib -Wl,-rpath-link,/usr/X11R6/lib -L../../dist/bin -L../../dist/lib -L/usr/ports/pobj/firefox-21.0beta4/build-powerpc/dist/bin -lxpcom -lmozalloc -lxul -liconv -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -lc -Wl,--whole-archive ../../dist/lib/libmozglue.a -Wl,--no-whole-archive -rdynamic -lkvm
/usr/ports/pobj/firefox-21.0beta4/build-powerpc/ipc/app/tmpTe7cBl.list:
INPUT("MozillaRuntimeMain.o")
../../dist/bin/libxul.so.39.0: undefined reference to `JSContext::updateMallocCounter(unsigned long)'
gmake[4]: *** [plugin-container] Error 1
11437 nm -g /usr/ports/pobj/firefox-21.0beta4/build-powerpc/dist/bin/libxul.so.39.0 | grep updateMallocCoun | c++filt
02574a5c T JS_updateMallocCounter(JSContext*, unsigned long)
U JSContext::updateMallocCounter(unsigned long)
size_t and unsigned long are the same size on powerpc : 4 bytes
The same nm command run on a seamonkey 2.18b2 build on amd64 doesnt show the JSContext::updateMallocCounter(unsigned long) symbol, so this might be a non-JS_METHODJIT(or ionmonkey?) issue ?
Comment 1•12 years ago
|
||
This looks like a duplicate of 846986
Reporter | ||
Comment 2•12 years ago
|
||
Right, it didnt show up in my earlier searches before filing this one. I'll make sure to test next beta with the fix on my ppc.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•