Skip to content
New issue

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

cc1plus: error: unrecognised debug output level ‘line-tables-only’ #3656

Closed
junebug12851 opened this issue Nov 4, 2015 · 2 comments · Fixed by #3680
Closed

cc1plus: error: unrecognised debug output level ‘line-tables-only’ #3656

junebug12851 opened this issue Nov 4, 2015 · 2 comments · Fixed by #3680
Labels
build Issues and PRs related to build files or the CI.

Comments

@junebug12851
Copy link

Can't compile NodeJS 5.0.0 on CentOS 6.7 64-bit Linux with GCC/G++ 5.2.0, configures fine but throws error

cc1plus: error: unrecognised debug output level ‘line-tables-only’

Using the following with ./configure in case this helps
./configure --gdb --with-dtrace --with-lttng --with-intl=full-icu --download=all --enable-asan

@jbergstroem jbergstroem added buffer Issues and PRs related to the buffer subsystem. build Issues and PRs related to build files or the CI. and removed buffer Issues and PRs related to the buffer subsystem. labels Nov 4, 2015
@bnoordhuis
Copy link
Member

--enable-asan currently assumes clang (which knows about -gline-tables-only) but I think we can ease that restriction. Can you try #3680?

bnoordhuis added a commit to bnoordhuis/io.js that referenced this issue Nov 5, 2015
`-gline-tables-only` is a clang-only flag.  Drop it, it's not needed for
address sanitizer-enabled builds and it makes it impossible to build
with gcc.

Fixes: nodejs#3656
PR-URL: nodejs#3680
Reviewed-By: Fedor Indutny <fedor@indutny.com>
@bnoordhuis
Copy link
Member

Should be fixed by d461a07.

bnoordhuis added a commit that referenced this issue Nov 7, 2015
`-gline-tables-only` is a clang-only flag.  Drop it, it's not needed for
address sanitizer-enabled builds and it makes it impossible to build
with gcc.

Fixes: #3656
PR-URL: #3680
Reviewed-By: Fedor Indutny <fedor@indutny.com>
bnoordhuis added a commit that referenced this issue Dec 29, 2015
`-gline-tables-only` is a clang-only flag.  Drop it, it's not needed for
address sanitizer-enabled builds and it makes it impossible to build
with gcc.

Fixes: #3656
PR-URL: #3680
Reviewed-By: Fedor Indutny <fedor@indutny.com>
MylesBorins pushed a commit that referenced this issue Jan 19, 2016
`-gline-tables-only` is a clang-only flag.  Drop it, it's not needed for
address sanitizer-enabled builds and it makes it impossible to build
with gcc.

Fixes: #3656
PR-URL: #3680
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants