You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cctest target build failed if configured with '--enable-static' #17991
the cctest target build will fail if configured with --enable-static
./configure --enable-static
make
There're some function multiple definition errors such as:
out/Release/obj.target/node/src/node_crypto.o: In function `node::crypto::RandomBytesWork(uv_work_s*)':
node_crypto.cc:(.text+0x60): multiple definition of `node::crypto::RandomBytesWork(uv_work_s*)'
out/Release/obj.target/node/src/node_crypto.o:node_crypto.cc:(.text+0x60): first defined here
It's caused by repetition object files in cctest target 'libraries' and libnode.a.
cctest picks some object files from node target which is libnode.a actually if configured with '--enable-static' and add them to 'libraries'. Both 'libraries' and libnode.a are passed to linker, then errors occurred.
Activity