[Bug 28127] New: lldb-server broken when LLVM_LINK_LLVM_DYLIB=ON

Bug ID 28127
Summary lldb-server broken when LLVM_LINK_LLVM_DYLIB=ON
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter pablo@sifflez.org
CC llvm-bugs@lists.llvm.org
Classification Unclassified

Affects snapshot_3.9~svn272283.

Building lldb with LLVM_LINK_LLVM_DYLIB=ON results in a non-working
lldb-server.

llvm-toolchain-snapshot_3.9~svn272283/build-llvm$ bin/lldb-server
: CommandLine Error: Option 'print-summary-global-ids' registered more
than once!
LLVM ERROR: inconsistency in registered CommandLine options

As explained in #22952, this seems to be due to a CommandLine name collision.

Sylvestre Ledru changed bug 28127

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    Resolution | — | DUPLICATE |

Comment # 1 on bug 28127 from Sylvestre Ledru


*** This bug has been marked as a duplicate of bug 27685 ***

Sylvestre Ledru changed bug 28127

What | Removed | Added |

  • | - | - |
    Status | RESOLVED | REOPENED |
    Resolution | DUPLICATE | — |

Comment # 2 on bug 28127 from Sylvestre Ledru

Sorry, not a dup, one is lldb, the other lld

labath@google.com changed bug 28127

What | Removed | Added |

Comment # 6 on bug 28127 from labath@google.com

LLVM_LINK_LLVM_DYLIB=ON should be fixed on master now. Please reopen if you
still experience problems.