Page MenuHomePhabricator

Fix -DLLVM_BUILD_TESTS=ON lldb build
AbandonedPublic

Authored by jroelofs on May 4 2017, 7:49 AM.

Details

Reviewers
zturner
beanz
Summary

There are two issues here. The first:

liblldbHost.a(Editline.cpp.o):(.debug_addr+0x238): undefined reference to `el_get'

when linking InterpreterTests, is caused by -ledit coming after liblldbHost.a in the link line.

The second:

liblldbCore.a(IOHandler.cpp.o):(.debug_addr+0x2564): undefined reference to `del_panel'

because libpanel.a and liblldbCore.a are out of order in the link line.

Diff Detail

Event Timeline

jroelofs created this revision.May 4 2017, 7:49 AM

NetBSD change looks fine.

jroelofs planned changes to this revision.May 4 2017, 8:31 AM

hmm. I'm getting more libpanel link issues in another build.

FYI, NetBSD has its distinct libpanel in its base system, API compatible with ncurses.

jroelofs updated this revision to Diff 97842.May 4 2017, 10:02 AM
jroelofs abandoned this revision.Jul 29 2020, 1:58 PM