error: no matching function
AN
andy at neu.net
Sat Oct 13 19:52:41 UTC 2012
FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #24 r241450: Thu Oct 11
15:16:27 EDT 2012 root at FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64
clang++ -o String.o -c -I./../../dist/system_wrappers_js -include
../../../js/src/config/gcc_hidden.h -DENABLE_YARR_JIT=1
-DMOZ_GLUE_IN_PROGRAM -DEXPORT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\"
-DDLL_SUFFIX=\".so\" -DNO_NSPR_10_SUPPORT -DUSE_ZLIB
-I/usr/local/lib/libffi-3.0.9/include -I.
-I../../../js/src/../../mfbt/double-conversion -I../../../js/src -I.
-I./../../dist/include -I/usr/local/include/nspr -I../../../js/src
-I../../../js/src/assembler -I../../../js/src/yarr -fPIC
-Qunused-arguments -isystem/usr/local/include -I/usr/local/include
-Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual
-Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null
-Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof
-Wno-variadic-macros -Wno-c++0x-extensions -Wno-extended-offsetof
-Wno-unknown-warning-option -Wno-return-type-c-linkage
-Wno-mismatched-tags -O2 -pipe -fno-strict-aliasing -fno-rtti
-ffunction-sections -fdata-sections -fno-exceptions -pipe -DNDEBUG
-DTRIMMED -O2 -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1
-DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -Qunused-arguments
-isystem/usr/local/include -I/usr/local/include -DMOZILLA_CLIENT -include
./js-confdefs.h -MD -MF .deps/String.o.pp
/home/root/ff_nightly/work/mozilla-central-847807ab2646/js/src/vm/String.cpp
BytecodeCompiler.cpp
/home/root/ff_nightly/work/mozilla-central-847807ab2646/js/src/vm/Stack.cpp:839:18:
error: no matching function
for call to 'mincore'
int result = mincore(base_, numBytes, vec);
^~~~~~~
/usr/include/sys/mman.h:226:5: note: candidate function not viable: no
known conversion from 'MincoreArgType *'
(aka 'unsigned char *') to 'char *' for 3rd argument
int mincore(const void *, size_t, char *);
^
1 error generated.
gmake[3]: *** [Stack.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory
`/home/root/ff_nightly/work/mozilla-central-847807ab2646/obj-x86_64-portbld-freebsd10.0/js/src'
gmake[2]: *** [libs_tier_js] Error 2
gmake[2]: Leaving directory
`/home/root/ff_nightly/work/mozilla-central-847807ab2646/obj-x86_64-portbld-freebsd10.0'
gmake[1]: *** [tier_js] Error 2
gmake[1]: Leaving directory
`/home/root/ff_nightly/work/mozilla-central-847807ab2646/obj-x86_64-portbld-freebsd10.0'
gmake: *** [default] Error 2
More information about the freebsd-gecko
mailing list