We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output:
gmake[1]: Entering directory '/usr/home/sgimeno/node/io.js/out' c++ '-DDEBUG' '-D_DEBUG' -I../deps/gtest -I../deps/gtest/include -pthread -Wall -Wextra -Wno-unused-parameter -m64 -Wno-missing-field-initializers -g -Og -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /usr/home/sgimeno/node/io.js/out/Debug/.deps//usr/home/sgimeno/node/io.js/out/Debug/obj.target/gtest/deps/gtest/src/gtest-death-test.o.d.raw -c -o /usr/home/sgimeno/node/io.js/out/Debug/obj.target/gtest/deps/gtest/src/gtest-death-test.o ../deps/gtest/src/gtest-death-test.cc error: invalid integral value 'g' in '-Og' error: invalid integral value 'g' in '-Og'
clang version:
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
It looks like clang does not support debug-safe optimizations with -Og introduced in #1569. See: https://llvm.org/bugs/show_bug.cgi?id=20765. Some workarounds are proposed there.
The text was updated successfully, but these errors were encountered:
This doesn't seem so good.
@bnoordhuis maybe we can make it an option to use -Og?
-Og
Sorry, something went wrong.
build: disable -Og when building with clang
f9ea440
clang does not yet support -Og, fall back to -O0. Fixes: nodejs#1608 See: https://llvm.org/bugs/show_bug.cgi?id=20765
e67542a
clang does not yet support -Og, fall back to -O0. See: https://llvm.org/bugs/show_bug.cgi?id=20765 Fixes: nodejs#1608 PR-URL: nodejs#1609 Reviewed-By: Jeremiah Senkpiel <[email protected]>
Fixed by e67542a.
Still getting the same error. It looks like the clang variable is not set
clang
Successfully merging a pull request may close this issue.
Output:
clang version:
It looks like clang does not support debug-safe optimizations with -Og introduced in #1569. See: https://llvm.org/bugs/show_bug.cgi?id=20765. Some workarounds are proposed there.
The text was updated successfully, but these errors were encountered: