[llvm-dev] undefined symbols during linking LLDB 4.0 RC1

Hana Dusíková via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 24 11:47:39 PST 2017


I looked and only liblldb.so library is using add_llvm_symbol_exports function from cmake/modules/AddLLVM.cmake.

Maybe there is a problem with calling lld somehow with version script. The problem can be there for long time 4.0RC1 is my first build with LLD previous ones was with GOLD.

H.

> On 24 Jan 2017, at 12:32, Pavel Labath <labath at google.com> wrote:
> 
> This is interesting. I am not sure why LLD should have a problem with
> linking liblldb.so.
> 
> I guess it has something to do with the version script we use to
> restrict the exported API, but I am not sure whether that is an lld
> bug, or a bug in how we are setting it up.
> 
> Adding Ruiu, in case he has any insight.
> 
> cheers,
> pl
> 
> On 23 January 2017 at 20:26, Hana Dusíková <hanicka at hanicka.net> wrote:
>> Hi Pavel,
>> 
>> thank you for you response.
>> 
>> objdump -T showed that there are no symbols defined in liblldb.so.
>> 
>> After few compilations I found that problem is with linking with LLD
>> (-DLLVM_ENABLE_LLD=ON) without the directive everything is ok.
>> 
>> Hana
>> 
>> =============
>> 
>> $ objdump -T lib64/liblldb.so
>> 
>> lib64/liblldb.so:     file format elf64-x86-64
>> 
>> DYNAMIC SYMBOL TABLE:
>> 0000000000000000  w   D  *UND* 0000000000000000              __gmon_start__
>> 0000000000000000  w   D  *UND* 0000000000000000
>> _ITM_deregisterTMCloneTable
>> 0000000000000000  w   D  *UND* 0000000000000000
>> _ITM_registerTMCloneTable
>> 0000000000000000  w   D  *UND* 0000000000000000
>> _Jv_RegisterClasses
>> 0000000000000000      DF *UND* 0000000000000001  Base
>> _ZNSt3__114__shared_countD2Ev
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 sigaltstack
>> 0000000000000000      DF *UND* 0000000000000011  Base
>> _ZTv0_n24_NSt3__114basic_iostreamIcNS_11char_traitsIcEEED1Ev
>> 0000000000000000      DF *UND* 000000000000008b  Base
>> _ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6xsputnEPKcl
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 setrlimit
>> 0000000000000000      DF *UND* 000000000000003b  GLIBC_2.2.5 isupper
>> 0000000000000000      DF *UND* 000000000000000e  Base
>> _ZNSt3__16futureIvED1Ev
>> 0000000000000000      DF *UND* 00000000000001f0  Base        update_panels
>> 0000000000000000      DF *UND* 0000000000000072  Base        el_end
>> 0000000000000000      DF *UND* 000000000000008b  GLIBC_2.2.5 snprintf
>> 0000000000000000      DF *UND* 0000000000000013  GLIBC_2.2.5
>> posix_spawnattr_setflags
>> 0000000000000000      DF *UND* 00000000000000ef  Base        history_init
>> 0000000000000000      DF *UND* 000000000000007e  GLIBC_2.2.5 acos
>> 0000000000000000      DF *UND* 0000000000000090  GLIBC_2.2.5 sscanf
>> 0000000000000000      DF *UND* 000000000000002d  GLIBC_2.2.5 closedir
>> 0000000000000000      DF *UND* 000000000000000e  GLIBC_2.2.5 gmtime
>> 0000000000000000      DF *UND* 0000000000000078  GLIBC_2.2.5 sqrt
>> 0000000000000000      DF *UND* 0000000000000027  Base
>> _ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5uflowEv
>> 0000000000000000      DF *UND* 0000000000000001  Base
>> _ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE5imbueERKNS_6localeE
>> 0000000000000000      DF *UND* 000000000000011a  GLIBC_2.2.5 getenv
>> 0000000000000000      DF *UND* 0000000000000095  Base        werase
>> 0000000000000000      DF *UND* 000000000000000e  Base
>> _ZNSt13exception_ptrC1ERKS_
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5 write
>> 0000000000000000      DF *UND* 000000000000001e  GLIBC_2.2.5 tcsetpgrp
>> 0000000000000000      DF *UND* 0000000000000011  GLIBC_2.2.5
>> __errno_location
>> 0000000000000000      DF *UND* 000000000000004a  Base        endwin
>> 0000000000000000      DF *UND* 00000000000001b6  GLIBC_2.2.5 gethostbyname
>> 0000000000000000      DF *UND* 0000000000000095  Base
>> _ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7compareEmmPKc
>> 0000000000000000      DF *UND* 00000000000000a8  GLIBC_2.2.5 tcgetattr
>> 0000000000000000      DF *UND* 00000000000000fc  GLIBC_2.2.5 rint
>> 0000000000000000      DF *UND* 000000000000003c  GLIBC_2.2.5 remove
>> 0000000000000000      DF *UND* 0000000000000040  GLIBC_2.2.5 opendir
>> 0000000000000000      DF *UND* 00000000000008a5  Base
>> _ZNSt3__112__next_primeEm
>> 0000000000000000      DF *UND* 0000000000000044  GLIBC_2.2.5 __fxstat
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 mprotect
>> 0000000000000000      DF *UND* 000000000000003c  GLIBC_2.2.5 strncasecmp
>> 0000000000000000      DF *UND* 00000000000000af  GLIBC_2.2.5 send
>> 0000000000000000      DF *UND* 00000000000000b8  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_mmRKS4_
>> 0000000000000000      DF *UND* 000000000000026b  Base        start_color
>> 0000000000000000      DF *UND* 0000000000000080  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryD1Ev
>> 0000000000000000      DF *UND* 0000000000000003  GLIBC_2.2.5
>> pthread_rwlock_destroy
>> 0000000000000000      DF *UND* 00000000000000c5  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc
>> 0000000000000000      DF *UND* 0000000000000076  GLIBC_2.2.5 sqrtf
>> 0000000000000000      DF *UND* 0000000000000030  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE6sentryC1ERS3_
>> 0000000000000000      DF *UND* 000000000000012a  Base        newwin
>> 0000000000000000      DF *UND* 0000000000000007  GLIBC_2.2.5 _setjmp
>> 0000000000000000      DF *UND* 0000000000000130  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm
>> 0000000000000000      DF *UND* 000000000000003d  GLIBC_2.2.5
>> pthread_rwlock_init
>> 0000000000000000      DF *UND* 0000000000000037  GLIBC_2.3
>> __ctype_tolower_loc
>> 0000000000000000      DF *UND* 000000000000000d  Base
>> _ZNSt3__16threadD1Ev
>> 0000000000000000      DF *UND* 0000000000000072  Base
>> _ZNSt3__117__assoc_sub_state10__sub_waitERNS_11unique_lockINS_5mutexEEE
>> 0000000000000000      DF *UND* 0000000000000039  GLIBC_2.2.5 usleep
>> 0000000000000000      DF *UND* 000000000000015d  GLIBC_2.2.5 backtrace
>> 0000000000000000      DF *UND* 00000000000000c9  GLIBC_2.2.5 ceil
>> 0000000000000000      DF *UND* 00000000000000da  Base        curs_set
>> 0000000000000000      DF *UND* 000000000000059f  GLIBC_2.2.5
>> pthread_mutex_trylock
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 setpgid
>> 0000000000000000      DF *UND* 0000000000000064  Base        el_deletestr
>> 0000000000000000      DF *UND* 0000000000000171  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6insertENS_11__wrap_iterIPKcEEc
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5 close
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5 fsync
>> 0000000000000000      DO *UND* 0000000000000004  GLIBC_2.2.5 opterr
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 rmdir
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 rename
>> 0000000000000000      DF *UND* 0000000000000146  GLIBC_2.2.5 tanh
>> 0000000000000000      DF *UND* 0000000000000016  Base
>> _ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED0Ev
>> 0000000000000000      DF *UND* 0000000000000084  Base
>> _ZNSt3__115recursive_mutexC1Ev
>> 0000000000000000      DF *UND* 0000000000000104  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6insertEmPKcm
>> 0000000000000000      DF *UND* 0000000000000005  Base        top_panel
>> 0000000000000000      DO *UND* 0000000000000010  Base
>> _ZNSt3__15ctypeIcE2idE
>> 0000000000000000      DF *UND* 0000000000000023  Base
>> _ZNSt3__114__shared_count16__release_sharedEv
>> 0000000000000000      DF *UND* 000000000000000d  Base
>> _ZNSt3__15mutex8try_lockEv
>> 0000000000000000      DF *UND* 000000000000004b  Base
>> _ZNSt3__17promiseIvEC1Ev
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5 setgid
>> 0000000000000000      DF *UND* 0000000000000015  Base
>> _ZNSt3__16thread20hardware_concurrencyEv
>> 0000000000000000      DF *UND* 00000000000000fd  GLIBC_2.2.5 fputc
>> 0000000000000000      DF *UND* 0000000000000077  GLIBC_2.2.5 cosh
>> 0000000000000000      DF *UND* 000000000000001f  Base
>> _ZTv0_n24_NSt3__113basic_ostreamIcNS_11char_traitsIcEEED0Ev
>> 0000000000000000      DF *UND* 0000000000000054  GLIBC_2.2.5 __xmknod
>> 0000000000000000      DF *UND* 00000000000000df  GLIBC_2.2.5 readdir
>> 0000000000000000      DF *UND* 0000000000000058  Base
>> _ZNSt3__115future_categoryEv
>> 0000000000000000      DF *UND* 0000000000000028  GLIBC_2.2.5 tcgetpgrp
>> 0000000000000000      DF *UND* 000000000000001d  Base
>> _ZNSt3__16chrono12system_clock9to_time_tERKNS0_10time_pointIS1_NS0_8durationIxNS_5ratioILl1ELl1000000EEEEEEE
>> 0000000000000000      DF *UND* 0000000000000012  GLIBC_2.2.5 strtoull
>> 0000000000000000      DF *UND* 000000000000009c  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC1ERKS5_
>> 0000000000000000      DF *UND* 0000000000000053  Base
>> _ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4findEcm
>> 0000000000000000      DF *UND* 000000000000006f  Base        set_curterm
>> 0000000000000000      DF *UND* 0000000000000005  Base
>> _ZNKSt11logic_error4whatEv
>> 0000000000000000      DF *UND* 0000000000000006  Base
>> _ZNKSt3__114error_category23default_error_conditionEi
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 chmod
>> 0000000000000000      DF *UND* 0000000000000136  Base        el_init
>> 0000000000000000      DF *UND* 0000000000000012  GLIBC_2.2.5 time
>> 0000000000000000      DF *UND* 0000000000000006  Base
>> _ZNSt3__114__shared_count12__add_sharedEv
>> 0000000000000000      DO *UND* 0000000000000400  Base        acs_map
>> 0000000000000000      DF *UND* 000000000000015b  GLIBC_2.2.5 fputs
>> 0000000000000000      DF *UND* 00000000000000a8  Base
>> _ZNKSt3__16locale9use_facetERNS0_2idE
>> 0000000000000000      DF *UND* 000000000000003c  GLIBC_2.2.5 strncmp
>> 0000000000000000      DF *UND* 00000000000000ff  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9__grow_byEmmmmmm
>> 0000000000000000      DF *UND* 000000000000052e  Base
>> _ZNSt3__16__sortIRNS_6__lessIiiEEPiEEvT0_S5_T_
>> 0000000000000000      DF *UND* 0000000000000098  GLIBC_2.2.5
>> posix_spawn_file_actions_adddup2
>> 0000000000000000      DF *UND* 0000000000000096  GLIBC_2.2.5
>> pthread_rwlock_unlock
>> 0000000000000000      DF *UND* 0000000000000007  Base        setupterm
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5 lseek
>> 0000000000000000      DF *UND* 0000000000000035  GLIBC_2.2.5 dlclose
>> 0000000000000000      DF *UND* 000000000000007f  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcmm
>> 0000000000000000      DF *UND* 000000000000018a  GLIBC_2.2.5 fwrite
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.9   pipe2
>> 0000000000000000      DF *UND* 000000000000001d  GLIBC_2.2.5
>> pthread_mutex_destroy
>> 0000000000000000      DF *UND* 0000000000001033  Base        doupdate
>> 0000000000000000      DF *UND* 00000000000002c3  Base        del_panel
>> 0000000000000000      DF *UND* 000000000000019f  Base
>> _ZNSt3__113basic_istreamIcNS_11char_traitsIcEEE6sentryC1ERS3_b
>> 0000000000000000      DF *UND* 00000000000000b9  GLIBC_2.2.5 strerror
>> 0000000000000000      DF *UND* 0000000000000062  GLIBC_2.2.5 pthread_sigmask
>> 0000000000000000      DF *UND* 0000000000005eee  GLIBC_2.2.5 tan
>> 0000000000000000      DF *UND* 0000000000000045  GLIBC_2.2.5 raise
>> 0000000000000000      DF *UND* 0000000000000037  GLIBC_2.2.5 syscall
>> 0000000000000000      DO *UND* 0000000000000010  GLIBC_2.2.5 in6addr_any
>> 0000000000000000      DF *UND* 000000000000003c  GLIBC_2.2.5 strcmp
>> 0000000000000000      DF *UND* 0000000000000038  GLIBC_2.2.5 getpid
>> 0000000000000000      DF *UND* 000000000000001a  Base
>> _ZNKSt3__114error_category10equivalentEiRKNS_15error_conditionE
>> 0000000000000000      DF *UND* 0000000000000078  GLIBC_2.2.5
>> pthread_getspecific
>> 0000000000000000      DF *UND* 000000000000005e  LIBXML2_2.4.30
>> xmlSetGenericErrorFunc
>> 0000000000000000      DF *UND* 0000000000000086  GLIBC_2.2.5 setenv
>> 0000000000000000      DF *UND* 000000000000007a  Base
>> _ZNSt3__16thread6detachEv
>> 0000000000000000      DF *UND* 0000000000000018  Base
>> _ZNKSt3__16locale4nameEv
>> 0000000000000000      DF *UND* 00000000000000a1  GLIBC_2.2.5 gethostname
>> 0000000000000000      DF *UND* 000000000000007a  Base        el_insertstr
>> 0000000000000000      DF *UND* 0000000000000307  GLIBC_2.2.5 fdopen
>> 0000000000000000      DF *UND* 000000000000058e  Base
>> _ZNSt3__16__sortIRNS_6__lessIllEEPlEEvT0_S5_T_
>> 0000000000000000      DF *UND* 000000000000016d  GLIBC_2.2.5 pthread_join
>> 0000000000000000      DF *UND* 000000000000001b  Base
>> _ZNSt3__15mutex4lockEv
>> 0000000000000000      DF *UND* 000000000000002b  Base
>> _ZNSt3__115recursive_mutex6unlockEv
>> 0000000000000000      DO *UND* 0000000000000008  GLIBC_2.2.5 stdin
>> 0000000000000000      DF *UND* 00000000000000a2  GLIBC_2.2.5 setpwent
>> 0000000000000000      DF *UND* 0000000000000037  GLIBC_2.2.5 strcasestr
>> 0000000000000000      DF *UND* 0000000000000063  LIBXML2_2.6.0 xmlReadMemory
>> 0000000000000000      DF *UND* 0000000000000090  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE5eraseEmm
>> 0000000000000000      DF *UND* 0000000000000234  GLIBC_2.2.5 abort
>> 0000000000000000      DF *UND* 0000000000000008  GLIBC_2.2.5 geteuid
>> 0000000000000000      DF *UND* 0000000000000076  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEmc
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 uname
>> 0000000000000000      DF *UND* 000000000000003b  GLIBC_2.2.5 islower
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 socket
>> 0000000000000000      DF *UND* 0000000000000081  GLIBC_2.2.5 ldexpf
>> 0000000000000000      DF *UND* 0000000000000009  Base
>> _ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED1Ev
>> 0000000000000000      DF *UND* 0000000000000206  GLIBC_2.2.5 fclose
>> 0000000000000000      DF *UND* 0000000000000029  GLIBC_2.2.5 strrchr
>> 0000000000000000      DF *UND* 000000000000002c  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6insertEmPKc
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 dup
>> 0000000000000000      DF *UND* 0000000000000039  GLIBC_2.2.5 isalnum
>> 0000000000000000      DF *UND* 0000000000000025  LIBXML2_2.4.30 xmlGetProp
>> 0000000000000000      DF *UND* 0000000000000020  Base
>> _ZNKSt3__121__basic_string_commonILb1EE20__throw_out_of_rangeEv
>> 0000000000000000      DF *UND* 00000000000000ba  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKcm
>> 0000000000000000      DF *UND* 00000000000003e2  GLIBC_2.2.5 sysconf
>> 0000000000000000      DF *UND* 0000000000000001  Base
>> _ZNSt3__119__shared_weak_countD2Ev
>> 0000000000000000      DF *UND* 000000000000010a  Base
>> _ZNSt3__111__call_onceERVmPvPFvS2_E
>> 0000000000000000      DF *UND* 0000000000000026  GLIBC_2.2.5 mkfifo
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 dup2
>> 0000000000000000      DF *UND* 000000000000006c  Base
>> _ZNSt3__119__thread_local_dataEv
>> 0000000000000000      DF *UND* 0000000000000011  Base
>> _ZTv0_n24_NSt3__113basic_ostreamIcNS_11char_traitsIcEEED1Ev
>> 0000000000000000      DF *UND* 0000000000000008  Base
>> _ZNSt3__16localeD1Ev
>> 0000000000000000      DF *UND* 0000000000000008  GLIBC_2.2.5 getegid
>> 0000000000000000      DF *UND* 0000000000000027  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc
>> 0000000000000000      DF *UND* 0000000000000099  GLIBC_2.2.5 feof
>> 0000000000000000      DF *UND* 000000000000052e  Base
>> _ZNSt3__16__sortIRNS_6__lessIjjEEPjEEvT0_S5_T_
>> 0000000000000000      DF *UND* 000000000000010e  GLIBC_2.2.5 putchar
>> 0000000000000000      DF *UND* 00000000000000ed  Base
>> _ZNSt3__113basic_istreamIcNS_11char_traitsIcEEE5seekgExNS_8ios_base7seekdirE
>> 0000000000000000      DF *UND* 000000000000000f  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev
>> 0000000000000000      DF *UND* 00000000000009d2  GLIBC_2.2.5 pthread_create
>> 0000000000000000      DF *UND* 0000000000000026  Base        keypad
>> 0000000000000000      DF *UND* 0000000000000096  GLIBC_2.2.5 exp2
>> 0000000000000000      DF *UND* 0000000000000103  GLIBC_2.2.5 getcwd
>> 0000000000000000      DF *UND* 0000000000000028  GLIBC_2.2.5 setsockopt
>> 0000000000000000      DF *UND* 000000000000003b  GLIBC_2.2.5 isxdigit
>> 0000000000000000      DF *UND* 000000000000003b  GLIBC_2.2.5 isprint
>> 0000000000000000      DF *UND* 000000000000039b  GLIBC_2.2.5 calloc
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 alarm
>> 0000000000000000      DF *UND* 0000000000000015  GLIBC_2.2.5 posix_spawnp
>> 0000000000000000      DF *UND* 0000000000000107  GLIBC_2.2.5 posix_openpt
>> 0000000000000000      DF *UND* 00000000000000fa  GLIBC_2.12
>> pthread_setname_np
>> 0000000000000000      DF *UND* 000000000000007a  Base
>> _ZNSt11logic_errorC2EPKc
>> 0000000000000000      DF *UND* 0000000000000044  GLIBC_2.2.5 __lxstat64
>> 0000000000000000      DF *UND* 000000000000004c  GLIBC_2.2.5 pthread_detach
>> 0000000000000000      DF *UND* 000000000000000c  LIBXML2_2.4.30 xmlParseFile
>> 0000000000000000      DF *UND* 0000000000000033  LIBXML2_2.4.30
>> xmlDocGetRootElement
>> 0000000000000000      DF *UND* 000000000000014f  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7reserveEm
>> 0000000000000000      DF *UND* 0000000000000034  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_
>> 0000000000000000      DF *UND* 0000000000000024  GLIBC_2.2.5 sigemptyset
>> 0000000000000000      DF *UND* 0000000000000150  GLIBC_2.2.5 fcntl
>> 0000000000000000      DF *UND* 000000000000004a  Base        halfdelay
>> 0000000000000000      DF *UND* 0000000000000014  ZLIB_1.2.0  compressBound
>> 0000000000000000      DO *UND* 0000000000000001  Base        _ZSt7nothrow
>> 0000000000000000      DF *UND* 0000000000000197  GLIBC_2.2.5 memmove
>> 0000000000000000      DF *UND* 000000000000058e  Base
>> _ZNSt3__16__sortIRNS_6__lessImmEEPmEEvT0_S5_T_
>> 0000000000000000      DF *UND* 0000000000000005  Base        _Znam
>> 0000000000000000      DF *UND* 0000000000000125  GLIBC_2.2.5 getgrgid
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 access
>> 0000000000000000      DO *UND* 0000000000000008  Base        stdscr
>> 0000000000000000      DF *UND* 0000000000000005  Base        _ZdaPv
>> 0000000000000000      DF *UND* 0000000000000003  GLIBC_2.2.5
>> pthread_mutexattr_destroy
>> 0000000000000000      DF *UND* 0000000000000026  Base        waddch
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 getrlimit
>> 0000000000000000      DF *UND* 0000000000000008  Base
>> _ZNSt13exception_ptrD1Ev
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 bind
>> 0000000000000000      DF *UND* 0000000000000007  GLIBC_2.2.5 atof
>> 0000000000000000      DO *UND* 0000000000000008  GLIBC_2.2.5 stderr
>> 0000000000000000      DF *UND* 0000000000000015  GLIBC_2.2.5 atoi
>> 0000000000000000      DF *UND* 0000000000000075  GLIBC_2.2.5 memchr
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 munmap
>> 0000000000000000      DF *UND* 0000000000000179  Base        el_getc
>> 0000000000000000      DF *UND* 00000000000000b5  GLIBC_2.2.5 signal
>> 0000000000000000      DO *UND* 0000000000000004  GLIBC_2.2.5 optopt
>> 0000000000000000      DF *UND* 000000000000006a  Base
>> __cxa_guard_release
>> 0000000000000000      DO *UND* 0000000000000004  GLIBC_2.2.5 optind
>> 0000000000000000      DF *UND* 00000000000001ae  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6insertEmmc
>> 0000000000000000      DF *UND* 0000000000000012  GLIBC_2.2.5 strtoll
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 mkdir
>> 0000000000000000      DF *UND* 0000000000000048  GLIBC_2.2.5
>> pthread_rwlock_trywrlock
>> 0000000000000000      DF *UND* 0000000000000001  Base
>> _ZNSt3__113basic_istreamIcNS_11char_traitsIcEEED2Ev
>> 0000000000000000      DF *UND* 0000000000000003  Base
>> _ZNKSt3__119__shared_weak_count13__get_deleterERKSt9type_info
>> 0000000000000000      DF *UND* 0000000000000099  GLIBC_2.2.5 strncat
>> 0000000000000000      DF *UND* 000000000000003c  Base
>> _ZNKSt3__123__match_any_but_newlineIcE6__execERNS_7__stateIcEE
>> 0000000000000000      DF *UND* 000000000000008b  GLIBC_2.2.5 fmod
>> 0000000000000000      DF *UND* 00000000000001d3  GLIBC_2.2.5 dl_iterate_phdr
>> 0000000000000000      DF *UND* 0000000000000060  Base
>> _ZNSt3__111this_thread9sleep_forERKNS_6chrono8durationIxNS_5ratioILl1ELl1000000000EEEEE
>> 0000000000000000      DF *UND* 0000000000000012  Base
>> _ZNKSt3__18ios_base6getlocEv
>> 0000000000000000      DF *UND* 000000000000086c  GLIBC_2.2.5 getaddrinfo
>> 0000000000000000      DF *UND* 0000000000000017  Base        noecho
>> 0000000000000000      DF *UND* 000000000000006b  Base
>> _ZNSt3__112future_errorC1ENS_10error_codeE
>> 0000000000000000      DF *UND* 00000000000004b0  Base        el_gets
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 link
>> 0000000000000000      DF *UND* 00000000000007eb  Base        el_set
>> 0000000000000000      DF *UND* 0000000000000417  Base        wresize
>> 0000000000000000      DF *UND* 0000000000000123  GLIBC_2.2.5
>> pthread_mutex_lock
>> 0000000000000000      DF *UND* 000000000000001c  Base
>> _ZNSt3__115__thread_structD1Ev
>> 0000000000000000      DF *UND* 0000000000000029  GLIBC_2.2.5 memset
>> 0000000000000000      DF *UND* 000000000000001b  Base
>> _ZNSt3__115recursive_mutex4lockEv
>> 0000000000000000      DF *UND* 0000000000000029  GLIBC_2.2.5 strcpy
>> 0000000000000000      DF *UND* 0000000000000074  Base        wtouchln
>> 0000000000000000      DF *UND* 0000000000000033  Base        wattr_off
>> 0000000000000000      DF *UND* 000000000000003e  Base
>> _ZNSt3__115system_categoryEv
>> 0000000000000000      DF *UND* 0000000000000400  Base        newterm
>> 0000000000000000      DF *UND* 0000000000000017  Base
>> _ZNSt3__115basic_streambufIcNS_11char_traitsIcEEED2Ev
>> 0000000000000000      DF *UND* 0000000000000009  GLIBC_2.2.5 longjmp
>> 0000000000000000      DF *UND* 00000000000000b5  Base
>> _ZNSt3__115__get_classnameEPKcb
>> 0000000000000000      DF *UND* 0000000000000030  GLIBC_2.2.5 toupper
>> 0000000000000000      DF *UND* 000000000000000f  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev
>> 0000000000000000      DF *UND* 00000000000000af  GLIBC_2.2.5
>> pthread_rwlock_wrlock
>> 0000000000000000      DF *UND* 000000000000000a  GLIBC_2.2.5 pthread_self
>> 0000000000000000      DF *UND* 000000000000001f  Base
>> _ZTv0_n24_NSt3__113basic_istreamIcNS_11char_traitsIcEEED0Ev
>> 0000000000000000      DF *UND* 00000000000000e5  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5flushEv
>> 0000000000000000      DF *UND* 0000000000000044  GLIBC_2.2.5 regfree
>> 0000000000000000      DF *UND* 0000000000000044  GLIBC_2.2.5 __xstat64
>> 0000000000000000      DF *UND* 0000000000000005  Base
>> _ZNSt3__118condition_variableD1Ev
>> 0000000000000000      DF *UND* 0000000000000323  GLIBC_2.2.5 realloc
>> 0000000000000000      DF *UND* 0000000000000015  GLIBC_2.2.5 posix_spawn
>> 0000000000000000      DF *UND* 0000000000000020  Base
>> _ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv
>> 0000000000000000      DF *UND* 00000000000000ef  GLIBC_2.2.5 free
>> 0000000000000000      DF *UND* 0000000000000125  GLIBC_2.2.5 getpwuid
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 symlink
>> 0000000000000000      DF *UND* 0000000000000017  Base
>> _ZThn16_NSt3__114basic_iostreamIcNS_11char_traitsIcEEED0Ev
>> 0000000000000000      DF *UND* 000000000000009a  GLIBC_2.2.5 fmodf
>> 0000000000000000      DF *UND* 0000000000000037  GLIBC_2.3   __ctype_b_loc
>> 0000000000000000      DF *UND* 00000000000000b7  GCC_3.3
>> _Unwind_Backtrace
>> 0000000000000000      DF *UND* 00000000000001f0  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7replaceEmmmc
>> 0000000000000000      DF *UND* 0000000000000099  GLIBC_2.2.5 inet_ntoa
>> 0000000000000000      DF *UND* 0000000000000024  GLIBC_2.2.5 isnan
>> 0000000000000000      DF *UND* 00000000000000a2  GLIBC_2.2.5 printf
>> 0000000000000000      DF *UND* 0000000000000090  GLIBC_2.2.5 fprintf
>> 0000000000000000      DF *UND* 00000000000001de  LIBXML2_2.4.30 xmlFreeDoc
>> 0000000000000000      DF *UND* 0000000000002393  GLIBC_2.2.5 atan
>> 0000000000000000      DF *UND* 0000000000000008  GCC_3.0     _Unwind_GetIP
>> 0000000000000000      DF *UND* 0000000000000162  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEmc
>> 0000000000000000      DF *UND* 0000000000000082  GLIBC_2.2.5
>> pthread_mutex_unlock
>> 0000000000000000      DF *UND* 0000000000000044  GLIBC_2.2.5 cfsetospeed
>> 0000000000000000      DF *UND* 000000000000001d  GLIBC_2.2.5
>> pthread_attr_init
>> 0000000000000000      DF *UND* 000000000000011a  GLIBC_2.2.5 strerror_r
>> 0000000000000000      DF *UND* 000000000000004b  Base        del_curterm
>> 0000000000000000      DF *UND* 0000000000000025  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSEc
>> 0000000000000000      DF *UND* 0000000000000b33  GLIBC_2.2.5 inet_ntop
>> 0000000000000000      DF *UND* 0000000000000140  GLIBC_2.2.5 gai_strerror
>> 0000000000000000      DF *UND* 000000000000556b  GLIBC_2.2.5 vfprintf
>> 0000000000000000      DF *UND* 000000000000018a  GLIBC_2.2.5 fgets
>> 0000000000000000      DF *UND* 0000000000000018  Base
>> _ZNKSt3__110error_code7messageEv
>> 0000000000000000      DF *UND* 000000000000009d  GLIBC_2.2.5 waitpid
>> 0000000000000000      DF *UND* 0000000000000016  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED0Ev
>> 0000000000000000      DF *UND* 000000000000008c  Base
>> _ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7compareEPKc
>> 0000000000000000      DF *UND* 0000000000000052  GLIBC_2.3   __tls_get_addr
>> 0000000000000000      DF *UND* 00000000000000b8  GLIBC_2.2.5
>> posix_spawn_file_actions_addopen
>> 0000000000000000      DF *UND* 000000000000003d  Base        history_end
>> 0000000000000000      DF *UND* 0000000000000086  GLIBC_2.2.5
>> posix_spawnattr_setsigdefault
>> 0000000000000000      DF *UND* 0000000000000189  GLIBC_2.2.5 mallinfo
>> 0000000000000000      DF *UND* 0000000000000005  Base
>> _ZNSt3__118condition_variable10notify_oneEv
>> 0000000000000000      DO *UND* 0000000000000008  GLIBC_2.2.5 environ
>> 0000000000000000      DO *UND* 0000000000000008  GLIBC_2.2.5 optarg
>> 0000000000000000      DF *UND* 0000000000000045  Base
>> _ZNSt3__16chrono12steady_clock3nowEv
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 chdir
>> 0000000000000000      DF *UND* 000000000000003c  GLIBC_2.2.5 strcasecmp
>> 0000000000000000      DF *UND* 0000000000000028  GLIBC_2.2.5 getsockopt
>> 0000000000000000      DF *UND* 000000000000004c  Base
>> _ZNSt3__119__shared_weak_count16__release_sharedEv
>> 0000000000000000      DF *UND* 0000000000000054  GLIBC_2.2.5 cfsetispeed
>> 0000000000000000      DF *UND* 0000000000000138  GLIBC_2.2.5 ftello
>> 0000000000000000      DF *UND* 0000000000000029  GLIBC_2.2.5 strpbrk
>> 0000000000000000      DF *UND* 0000000000000117  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE9push_backEc
>> 0000000000000000      DF *UND* 00000000000000a0  GLIBC_2.2.5 log10
>> 0000000000000000      DF *UND* 0000000000000222  GLIBC_2.2.5 pow
>> 0000000000000000      DF *UND* 00000000000000f3  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendERKS5_mm
>> 0000000000000000      DF *UND* 00000000000000e1  GLIBC_2.2.5 vsnprintf
>> 0000000000000000      DF *UND* 0000000000000005  Base        el_line
>> 0000000000000000      DF *UND* 000000000000009a  Base
>> _ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6xsgetnEPcl
>> 0000000000000000      DF *UND* 0000000000002017  GLIBC_2.2.5 sin
>> 0000000000000000      DF *UND* 0000000000000088  GLIBC_2.2.5 getpwent
>> 0000000000000000      DF *UND* 0000000000000011  Base
>> _ZTv0_n24_NSt3__113basic_istreamIcNS_11char_traitsIcEEED1Ev
>> 0000000000000000      DF *UND* 000000000000008c  GLIBC_2.2.5
>> posix_spawnattr_setsigmask
>> 0000000000000000      DF *UND* 0000000000000188  GLIBC_2.2.5 floor
>> 0000000000000000      DF *UND* 00000000000000ba  Base
>> _ZNSt3__17promiseIvE10get_futureEv
>> 0000000000000000      DF *UND* 0000000000000009  Base
>> _ZThn16_NSt3__114basic_iostreamIcNS_11char_traitsIcEEED1Ev
>> 0000000000000000      DF *UND* 0000000000000001  Base
>> _ZNSt3__114error_categoryD2Ev
>> 0000000000000000      DF *UND* 000000000000025d  GLIBC_2.2.5 getgrgid_r
>> 0000000000000000      DF *UND* 0000000000000035  GLIBC_2.2.5 isinf
>> 0000000000000000      DF *UND* 0000000000000096  GLIBC_2.2.5 exp
>> 0000000000000000      DF *UND* 000000000000008f  GLIBC_2.2.5 tzset
>> 0000000000000000      DF *UND* 000000000000002a  GLIBC_2.2.5 sigprocmask
>> 0000000000000000      DF *UND* 000000000000009f  GLIBC_2.2.5 ceilf
>> 0000000000000000      DF *UND* 00000000000000ee  GLIBC_2.2.5 fseeko
>> 0000000000000000      DF *UND* 0000000000000034  Base        box
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5 read
>> 0000000000000000      DF *UND* 00000000000000a9  Base
>> _ZNSt3__117__assoc_sub_state4waitEv
>> 0000000000000000      DF *UND* 0000000000000035  Base        wgetch
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5 open
>> 0000000000000000      DF *UND* 0000000000000028  GLIBC_2.2.5 feclearexcept
>> 0000000000000000      DF *UND* 0000000000000093  GLIBC_2.2.5 wait
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 getsid
>> 0000000000000000      DF *UND* 0000000000000428  Base        init_pair
>> 0000000000000000      DF *UND* 000000000000008d  GLIBC_2.2.5 statvfs
>> 0000000000000000      DF *UND* 0000000000000068  GLIBC_2.2.5 sinh
>> 0000000000000000      DF *UND* 0000000000000215  GLIBC_2.2.5 fpathconf
>> 0000000000000000      DF *UND* 000000000000001b  GLIBC_2.2.5 dladdr
>> 0000000000000000      DF *UND* 00000000000000bc  Base
>> _ZNSt3__120__get_collation_nameEPKc
>> 0000000000000000      DF *UND* 00000000000000a9  Base
>> __cxa_guard_acquire
>> 0000000000000000      DF *UND* 0000000000000077  Base
>> _ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7compareEmmPKcm
>> 0000000000000000      DF *UND* 0000000000000040  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6resizeEmc
>> 0000000000000000      DF *UND* 0000000000000021  GCC_3.0
>> __deregister_frame
>> 0000000000000000      DF *UND* 0000000000000005  Base
>> _ZNSt3__118condition_variable10notify_allEv
>> 0000000000000000      DF *UND* 00000000000000fa  Base        new_panel
>> 0000000000000000      DF *UND* 0000000000000873  GLIBC_2.2.5 setlocale
>> 0000000000000000      DF *UND* 0000000000000009  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED1Ev
>> 0000000000000000      DF *UND* 000000000000003e  Base
>> _ZNSt3__116generic_categoryEv
>> 0000000000000000      DF *UND* 0000000000000212  GLIBC_2.2.5 strsignal
>> 0000000000000000      DF *UND* 0000000000000021  GLIBC_2.2.5 ctime_r
>> 0000000000000000      DF *UND* 0000000000000014  GLIBC_2.2.5
>> posix_spawn_file_actions_destroy
>> 0000000000000000      DF *UND* 0000000000000019  GLIBC_2.2.5 isatty
>> 0000000000000000      DF *UND* 0000000000000080  Base
>> _ZNKSt3__16locale9has_facetERNS0_2idE
>> 0000000000000000      DF *UND* 0000000000000062  Base        mvwin
>> 0000000000000000      DF *UND* 00000000000000bd  GLIBC_2.2.5
>> pthread_rwlock_rdlock
>> 0000000000000000      DF *UND* 0000000000000030  Base        wattr_on
>> 0000000000000000      DF *UND* 0000000000000064  GLIBC_2.2.5 select
>> 0000000000000000      DF *UND* 0000000000000133  GLIBC_2.3.4 regexec
>> 0000000000000000      DF *UND* 0000000000000090  GLIBC_2.2.5
>> posix_spawn_file_actions_addclose
>> 0000000000000000      DF *UND* 0000000000000030  GLIBC_2.2.5 tolower
>> 0000000000000000      DF *UND* 0000000000000016  Base
>> _ZNSt3__114basic_iostreamIcNS_11char_traitsIcEEED0Ev
>> 0000000000000000      DF *UND* 000000000000003b  GLIBC_2.2.5 isalpha
>> 0000000000000000      DF *UND* 000000000000001d  Base
>> _ZNSt3__16localeC1Ev
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 kill
>> 0000000000000000      DF *UND* 0000000000000085  GLIBC_2.2.5 pthread_cancel
>> 0000000000000000      DF *UND* 0000000000000062  GLIBC_2.2.5 unlockpt
>> 0000000000000000      DF *UND* 00000000000000a0  GLIBC_2.2.5 log2
>> 0000000000000000      DF *UND* 0000000000000012  GLIBC_2.2.5 strtod
>> 0000000000000000      DF *UND* 000000000000000d  Base
>> _ZNSt3__115recursive_mutex8try_lockEv
>> 0000000000000000      DF *UND* 000000000000012a  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEmc
>> 0000000000000000      DF *UND* 0000000000000188  GLIBC_2.2.5 readdir_r
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 getrusage
>> 0000000000000000      DF *UND* 0000000000000029  GLIBC_2.2.5 memcmp
>> 0000000000000000      DF *UND* 00000000000003f1  GLIBC_2.2.5 inet_pton
>> 0000000000000000      DF *UND* 0000000000000012  GLIBC_2.2.5 strtol
>> 0000000000000000      DO *UND* 0000000000000030  Base
>> _ZTVNSt3__117__assoc_sub_stateE
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 unlink
>> 0000000000000000      DF *UND* 0000000000000017  GLIBC_2.2.5 getpagesize
>> 0000000000000000      DF *UND* 00000000000000cd  Base
>> _ZNSt3__18ios_base5clearEj
>> 0000000000000000      DF *UND* 000000000000004b  Base
>> _ZNSt3__18ios_base4initEPv
>> 0000000000000000      DF *UND* 0000000000000021  GLIBC_2.2.5 execve
>> 0000000000000000      DF *UND* 0000000000000064  GLIBC_2.2.5 pwrite
>> 0000000000000000      DF *UND* 000000000000002b  Base
>> _ZNSt3__115recursive_mutexD1Ev
>> 0000000000000000      DF *UND* 000000000000001b  GLIBC_2.2.5
>> getopt_long_only
>> 0000000000000000      DO *UND* 0000000000000010  Base
>> _ZNSt3__17collateIcE2idE
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5 posix_fallocate
>> 0000000000000000      DF *UND* 00000000000000b0  Base
>> _ZNSt3__17promiseIvE9set_valueEv
>> 0000000000000000      DF *UND* 000000000000000e  Base
>> _ZNSt3__16localeC1ERKS0_
>> 0000000000000000      DF *UND* 0000000000000180  Base
>> _ZNSt3__17promiseIvED1Ev
>> 0000000000000000      DF *UND* 0000000000000040  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignERKS5_mm
>> 0000000000000000      DF *UND* 000000000000000e  Base
>> _ZSt17rethrow_exceptionSt13exception_ptr
>> 0000000000000000      DF *UND* 00000000000000b4  Base
>> _ZNSt3__118condition_variable15__do_timed_waitERNS_11unique_lockINS_5mutexEEENS_6chrono10time_pointINS5_12system_clockENS5_8durationIxNS_5ratioILl1ELl1000000000EEEEEEE
>> 0000000000000000      DF *UND* 000000000000049e  Base        el_get
>> 0000000000000000      DF *UND* 0000000000000028  GLIBC_2.2.5 mmap
>> 0000000000000000      DF *UND* 00000000000001ba  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7replaceEmmPKcm
>> 0000000000000000      DF *UND* 000000000000010a  GLIBC_2.2.5 asctime
>> 0000000000000000      DF *UND* 000000000000142f  GLIBC_2.2.5 cos
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 ioctl
>> 0000000000000000      DF *UND* 0000000000000094  Base        waddnstr
>> 0000000000000000      DF *UND* 000000000000008b  GLIBC_2.2.5 atan2
>> 0000000000000000      DF *UND* 0000000000000020  Base
>> _ZNKSt3__121__basic_string_commonILb1EE20__throw_length_errorEv
>> 0000000000000000      DF *UND* 00000000000000ee  GLIBC_2.2.5 fseek
>> 0000000000000000      DF *UND* 000000000000025d  GLIBC_2.2.5 getpwuid_r
>> 0000000000000000      DF *UND* 0000000000000147  GLIBC_2.2.5 regcomp
>> 0000000000000000      DF *UND* 000000000000000f  GLIBC_2.2.5 execv
>> 0000000000000000      DO *UND* 0000000000000028  Base
>> _ZTVSt12length_error
>> 0000000000000000      DF *UND* 0000000000000034  GLIBC_2.2.5 freeaddrinfo
>> 0000000000000000      DF *UND* 0000000000000059  Base        _Znwm
>> 0000000000000000      DF *UND* 0000000000000005  Base
>> _ZNSt3__15mutexD1Ev
>> 0000000000000000      DF *UND* 0000000000000003  GLIBC_2.2.5 dirfd
>> 0000000000000000      DF *UND* 00000000000000af  GLIBC_2.2.5 recv
>> 0000000000000000      DF *UND* 000000000000000d  GLIBC_2.2.5 localtime_r
>> 0000000000000000      DF *UND* 000000000000005e  Base
>> _ZNSt3__16chrono12system_clock3nowEv
>> 0000000000000000      DF *UND* 00000000000000aa  GLIBC_2.2.5 ptrace
>> 0000000000000000      DF *UND* 0000000000000207  GLIBC_2.2.5 dlerror
>> 0000000000000000      DF *UND* 0000000000000001  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEED2Ev
>> 0000000000000000      DF *UND* 0000000000000450  GLIBC_2.3   realpath
>> 0000000000000000      DF *UND* 0000000000000044  GLIBC_2.2.5 __fxstat64
>> 0000000000000000      DF *UND* 0000000000000005  GLIBC_2.2.5 pclose
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 personality
>> 0000000000000000      DF *UND* 0000000000000006  Base
>> _ZNSt3__119__shared_weak_count10__add_weakEv
>> 0000000000000000      DF *UND* 0000000000000043  Base
>> _ZNSt3__112basic_stringIwNS_11char_traitsIwEENS_9allocatorIwEEE6resizeEmw
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 getpeername
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 getsockname
>> 0000000000000000      DF *UND* 0000000000000026  GCC_3.0
>> __register_frame
>> 0000000000000000      DF *UND* 0000000000000005  Base
>> _ZNSt3__19basic_iosIcNS_11char_traitsIcEEED2Ev
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 setsid
>> 0000000000000000      DF *UND* 0000000000000044  GLIBC_2.2.5 __xstat
>> 0000000000000000      DF *UND* 00000000000002e8  Base        crc32
>> 0000000000000000      DF *UND* 000000000000004b  GLIBC_2.2.5 dlopen
>> 0000000000000000      DF *UND* 0000000000000187  GLIBC_2.2.5 vasprintf
>> 0000000000000000      DF *UND* 0000000000000021  Base
>> _ZNSt3__115__thread_structC1Ev
>> 0000000000000000      DF *UND* 0000000000000009  Base
>> _ZNSt3__114basic_iostreamIcNS_11char_traitsIcEEED1Ev
>> 0000000000000000      DF *UND* 0000000000000019  Base
>> _ZNSt3__119__shared_weak_count14__release_weakEv
>> 0000000000000000      DF *UND* 00000000000000f7  GLIBC_2.2.5 fflush
>> 0000000000000000      DF *UND* 0000000000000145  Base        wbkgd
>> 0000000000000000      DF *UND* 000000000000003b  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE7replaceEmmPKc
>> 0000000000000000      DF *UND* 00000000000000e0  Base        compress2
>> 0000000000000000      DF *UND* 000000000000000b  GLIBC_2.2.5
>> posix_spawnattr_init
>> 0000000000000000      DF *UND* 0000000000000132  Base        el_source
>> 0000000000000000      DF *UND* 000000000000002c  Base
>> _ZNSt3__115basic_streambufIcNS_11char_traitsIcEEEC2Ev
>> 0000000000000000      DF *UND* 0000000000000064  GLIBC_2.2.5 sendto
>> 0000000000000000      DF *UND* 0000000000000090  GLIBC_2.2.5 sprintf
>> 0000000000000000      DF *UND* 0000000000000027  Base
>> _ZnwmRKSt9nothrow_t
>> 0000000000000000      DF *UND* 0000000000000003  GLIBC_2.2.5
>> posix_spawnattr_destroy
>> 0000000000000000      DF *UND* 00000000000001a7  GLIBC_2.2.5 malloc
>> 0000000000000000      DF *UND* 000000000000009c  Base
>> _ZNSt3__117__assoc_sub_state9__executeEv
>> 0000000000000000      DF *UND* 000000000000002b  Base
>> _ZNSt3__15mutex6unlockEv
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5 lseek64
>> 0000000000000000      DF *UND* 000000000000047d  GLIBC_2.2.5 grantpt
>> 0000000000000000      DF *UND* 0000000000000036  GLIBC_2.2.5
>> pthread_key_delete
>> 0000000000000000      DF *UND* 0000000000000069  GLIBC_2.2.5 __cxa_atexit
>> 0000000000000000      DF *UND* 0000000000000014  GLIBC_2.2.5
>> pthread_attr_destroy
>> 0000000000000000      DF *UND* 000000000000002f  Base        vwprintw
>> 0000000000000000      DF *UND* 000000000000007e  GLIBC_2.2.5 asin
>> 0000000000000000      DF *UND* 000000000000009f  GLIBC_2.10  accept4
>> 0000000000000000      DF *UND* 000000000000001f  Base
>> _ZTv0_n24_NSt3__114basic_iostreamIcNS_11char_traitsIcEEED0Ev
>> 0000000000000000      DF *UND* 000000000000001f  GLIBC_2.2.5 sigaction
>> 0000000000000000      DF *UND* 0000000000000057  GLIBC_2.2.5 strdup
>> 0000000000000000      DF *UND* 000000000000007b  GLIBC_2.2.5 bsearch
>> 0000000000000000      DF *UND* 000000000000003c  GLIBC_2.2.5 sigaddset
>> 0000000000000000      DF *UND* 00000000000000ff  GLIBC_2.2.5
>> pthread_mutex_init
>> 0000000000000000      DF *UND* 0000000000000008  Base
>> _ZNSt3__16chrono12system_clock11from_time_tEl
>> 0000000000000000      DF *UND* 0000000000000099  GLIBC_2.2.5 ferror
>> 0000000000000000      DF *UND* 0000000000000016  GLIBC_2.2.5
>> pthread_attr_setstacksize
>> 0000000000000000      DO *UND* 0000000000000010  GLIBC_2.2.5
>> in6addr_loopback
>> 0000000000000000      DF *UND* 0000000000000037  GLIBC_2.3
>> __ctype_toupper_loc
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 statfs
>> 0000000000000000      DF *UND* 0000000000000009  GLIBC_2.2.5
>> pthread_mutexattr_init
>> 0000000000000000      DF *UND* 000000000000014d  GLIBC_2.2.5 fread
>> 0000000000000000      DF *UND* 000000000000000f  Base
>> _ZNKSt3__114error_category10equivalentERKNS_10error_codeEi
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 readlink
>> 0000000000000000      DF *UND* 0000000000000003  Base
>> _ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE9showmanycEv
>> 0000000000000000      DF *UND* 000000000000000a  GLIBC_2.2.5 fopen
>> 0000000000000000      DF *UND* 000000000000000b  Base        _ZdlPv
>> 0000000000000000      DF *UND* 0000000000000029  GLIBC_2.2.5 strchr
>> 0000000000000000      DF *UND* 0000000000000005  GLIBC_2.2.5 fork
>> 0000000000000000      DF *UND* 0000000000000010  GLIBC_2.2.5 strftime
>> 0000000000000000      DF *UND* 000000000000003c  Base
>> _ZNSt3__119__shared_weak_count4lockEv
>> 0000000000000000      DF *UND* 0000000000000037  GLIBC_2.2.5 strstr
>> 0000000000000000      DF *UND* 0000000000000044  GLIBC_2.6   futimens
>> 0000000000000000      DF *UND* 000000000000000e  GLIBC_2.2.5 rand
>> 0000000000000000      DF *UND* 00000000000001ae  GLIBC_2.2.5 puts
>> 0000000000000000      DF *UND* 000000000000006d  GLIBC_2.2.5 strnlen
>> 0000000000000000      DF *UND* 0000000000000008  GLIBC_2.2.5 getuid
>> 0000000000000000      DF *UND* 0000000000000087  Base
>> _ZNSt3__120__throw_system_errorEiPKc
>> 0000000000000000      DF *UND* 0000000000000246  Base        delscreen
>> 0000000000000000      DF *UND* 0000000000000465  GLIBC_2.2.5 memcpy
>> 0000000000000000      DF *UND* 00000000000000a1  Base        delwin
>> 0000000000000000      DF *UND* 0000000000000050  GLIBC_2.2.5 _exit
>> 0000000000000000      DF *UND* 000000000000006a  GLIBC_2.2.5 srand
>> 0000000000000000      DF *UND* 00000000000000cd  Base        tigetnum
>> 0000000000000000      DF *UND* 0000000000000064  GLIBC_2.2.5 pread
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 getpgid
>> 0000000000000000      DF *UND* 00000000000000fc  GLIBC_2.2.5
>> pthread_setspecific
>> 0000000000000000      DF *UND* 0000000000000098  GLIBC_2.2.5 popen
>> 0000000000000000      DF *UND* 0000000000000086  GLIBC_2.2.5 strsep
>> 0000000000000000      DF *UND* 000000000000000f  Base
>> __cxa_pure_virtual
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5 connect
>> 0000000000000000      DF *UND* 0000000000000003  Base
>> _ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE4syncEv
>> 0000000000000000      DF *UND* 000000000000000b  GLIBC_2.2.5
>> posix_spawn_file_actions_init
>> 0000000000000000      DF *UND* 0000000000000004  Base
>> _ZNSt3__115basic_streambufIcNS_11char_traitsIcEEE6setbufEPcl
>> 0000000000000000      DF *UND* 0000000000000f11  Base        history
>> 0000000000000000      DF *UND* 0000000000000165  GLIBC_2.2.5 tcsetattr
>> 0000000000000000      DF *UND* 0000000000000011  GLIBC_2.2.5 localtime
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5 nanosleep
>> 0000000000000000      DF *UND* 000000000000003d  GLIBC_2.2.5 strlen
>> 0000000000000000      DF *UND* 0000000000000198  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEd
>> 0000000000000000      DF *UND* 00000000000001ae  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEe
>> 0000000000000000      DF *UND* 000000000000003b  GLIBC_2.2.5 isspace
>> 0000000000000000      DF *UND* 0000000000000019  GLIBC_2.2.5
>> pthread_mutexattr_settype
>> 0000000000000000      DF *UND* 000000000000019c  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEf
>> 0000000000000000      DF *UND* 0000000000000008  GLIBC_2.2.5 getgid
>> 0000000000000000      DF *UND* 0000000000000008  GLIBC_2.2.5 qsort
>> 0000000000000000      DF *UND* 00000000000000eb  Base        uncompress
>> 0000000000000000      DF *UND* 0000000000000001  Base
>> _ZNSt3__114basic_iostreamIcNS_11char_traitsIcEEED2Ev
>> 0000000000000000      DF *UND* 0000000000000025  GLIBC_2.2.5 listen
>> 0000000000000000      DF *UND* 00000000000001be  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEi
>> 0000000000000000      DF *UND* 0000000000000029  GLIBC_2.2.5 strcspn
>> 0000000000000000      DF *UND* 000000000000001a  GLIBC_2.2.5 timegm
>> 0000000000000000  w   DF *UND* 00000000000001e8  GLIBC_2.2.5 __cxa_finalize
>> 0000000000000000      DF *UND* 0000000000000196  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEj
>> 0000000000000000      DF *UND* 0000000000000079  Base
>> _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm
>> 0000000000000000      DF *UND* 0000000000000056  Base
>> _ZNSt3__118condition_variable4waitERNS_11unique_lockINS_5mutexEEE
>> 0000000000000000      DF *UND* 0000000000000198  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEl
>> 0000000000000000      DO *UND* 0000000000000008  GLIBC_2.2.5 stdout
>> 0000000000000000      DF *UND* 0000000000000198  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEm
>> 0000000000000000      DF *UND* 00000000000000ff  Base
>> _ZNSt3__113basic_istreamIcNS_11char_traitsIcEEE4readEPcl
>> 0000000000000000      DF *UND* 0000000000000057  Base
>> _ZNKSt3__120__vector_base_commonILb1EE20__throw_out_of_rangeEv
>> 0000000000000000      DF *UND* 0000000000000006  Base
>> _ZNSt3__119__shared_weak_count12__add_sharedEv
>> 0000000000000000      DF *UND* 0000000000000012  GLIBC_2.2.5 strtoul
>> 0000000000000000      DF *UND* 0000000000000098  GLIBC_2.2.5 log
>> 0000000000000000      DF *UND* 000000000000012d  GLIBC_2.2.5 getpwnam
>> 0000000000000000      DF *UND* 00000000000000ac  GLIBC_2.2.5 sigfillset
>> 0000000000000000      DF *UND* 000000000000002b  GLIBC_2.2.5 ptsname
>> 0000000000000000      DF *UND* 0000000000000121  GLIBC_2.2.5 exit
>> 0000000000000000      DF *UND* 00000000000000ea  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEE5writeEPKcl
>> 0000000000000000      DF *UND* 00000000000001c0  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEs
>> 0000000000000000      DF *UND* 0000000000000197  Base
>> _ZNSt3__113basic_ostreamIcNS_11char_traitsIcEEElsEt
>> 0000000000000000      DF *UND* 00000000000000a6  GLIBC_2.2.5 regerror
>> 0000000000000000      DF *UND* 0000000000000076  GLIBC_2.2.5 dlsym
>> 0000000000000000      DF *UND* 0000000000000015  GLIBC_2.2.5
>> pthread_attr_getstacksize
>> 0000000000000000      DF *UND* 0000000000000089  Base        el_push
>> 0000000000000000      DO *UND* 0000000000000010  Base
>> _ZNSt3__17codecvtIcc11__mbstate_tE2idE
>> 0000000000000000      DF *UND* 0000000000000024  GLIBC_2.2.5 fileno
>> 0000000000000000      DF *UND* 0000000000000040  Base        wmove
>> 0000000000000000      DF *UND* 0000000000000014  Base        subwin
>> 0000000000000000      DF *UND* 0000000000000019  GLIBC_2.2.5 fetestexcept
>> 0000000000000000      DF *UND* 00000000000000c0  GLIBC_2.2.5 round
>> 0000000000000000      DF *UND* 0000000000000044  Base
>> _ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE5rfindEcm
>> 0000000000000000      DF *UND* 000000000000005e  GLIBC_2.2.5
>> pthread_key_create
>> 0000000000000000      DF *UND* 00000000000000a4  Base        el_resize
>> 0000000000000000      DF *UND* 0000000000000044  GLIBC_2.2.5 __lxstat
>> 
>> 
>> On 20 Jan 2017, at 15:10, Pavel Labath <labath at google.com> wrote:
>> 
>> Hi Hana,
>> 
>> these are all symbols that should be exposed by liblldb (which is
>> present on your link line), so I am not sure what could be the problem
>> here.
>> 
>> Could you inspect the symbols exposed by liblldb (objdump -T
>> lib64/liblldb.so) to see if the symbols are present there?
>> 
>> Also, to help us narrow down the problem could you prune the list of
>> cmake flags you are configuring the build with (i.e. remove everything
>> libc++ and lld related) and try to rebuild that way?
>> 
>> thanks,
>> pavel
>> 
>> 
>> 
>> 
>> On 19 January 2017 at 20:39, Hana Dusíková via llvm-dev
>> <llvm-dev at lists.llvm.org> wrote:
>> 
>> Hello, I update my building scripts to build LLVM 4.0 RC1 (with clang, lldb,
>> libc++, libc++abi, lld) on CentOS 6 and I got a lot of undefined symbols
>> during linking LLDB.
>> 
>> I'm using clang-3.9 and this configuration:
>> 
>> -DLLVM_TARGETS_TO_BUILD="X86"
>> -DCMAKE_BUILD_TYPE=Release
>> -DCMAKE_C_COMPILER=/usr/bin/clang
>> -DCMAKE_CXX_COMPILER=/usr/bin/clang++
>> -DCMAKE_EXE_LINKER_FLAGS="-lc++abi -lc++"
>> -DCMAKE_EXE_LINKER_FLAGS="-lc++abi -lc++"
>> -DCMAKE_SHARED_LINKER_FLAGS="-lc++abi -lc++"
>> -DCMAKE_MODULE_LINKER_FLAGS="-lc++abi -lc++"
>> -DLLVM_ENABLE_LIBCXX=ON
>> -DLLVM_LIBDIR_SUFFIX=64
>> -DCMAKE_INSTALL_PREFIX=/usr
>> -DLLDB_DISABLE_PYTHON=1
>> -DTARGET_TRIPLE="x86_64-pc-linux-gnu"
>> -DLIBCXX_INSTALL_EXPERIMENTAL_LIBRARY=ON
>> -DLLVM_ENABLE_LLD=ON
>> 
>> List of undefined symbols and invocation is next:
>> 
>> [ 89%] Linking CXX executable ../../../../bin/lldb
>> cd
>> /opt/bamboo-agent-01/xml-data/build-dir/CLANG-BFRH-JOB1/build/RELEASE_40_RC1/Linux/x86_64/llvm_build_phase1/tools/lldb/tools/driver
>> && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/lldb.dir/link.txt
>> --verbose=1
>> /usr/bin/clang++    -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Wall
>> -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual
>> -Wmissing-field-initializers -pedantic -Wno-long-long
>> -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
>> -Wstring-conversion -Werror=date-time -std=c++11 -ffunction-sections
>> -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas
>> -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O3
>> -DNDEBUG  -lc++abi -lc++ -stdlib=libc++ -fuse-ld=lld
>> -Wl,-allow-shlib-undefined  -Wl,-O3 -Wl,--gc-sections
>> CMakeFiles/lldb.dir/Driver.cpp.o CMakeFiles/lldb.dir/Platform.cpp.o  -o
>> ../../../../bin/lldb-4.0.0 ../../../../lib64/libLLVMX86CodeGen.a
>> ../../../../lib64/libLLVMX86AsmPrinter.a
>> ../../../../lib64/libLLVMX86AsmParser.a ../../../../lib64/libLLVMX86Desc.a
>> ../../../../lib64/libLLVMX86Info.a
>> ../../../../lib64/libLLVMX86Disassembler.a
>> ../../../../lib64/libLLVMInterpreter.a ../../../../lib64/libLLVMAsmParser.a
>> ../../../../lib64/libLLVMBitReader.a ../../../../lib64/libLLVMBitWriter.a
>> ../../../../lib64/libLLVMCodeGen.a ../../../../lib64/libLLVMDemangle.a
>> ../../../../lib64/libLLVMipo.a ../../../../lib64/libLLVMSelectionDAG.a
>> ../../../../lib64/libLLVMBitReader.a ../../../../lib64/libLLVMMC.a
>> ../../../../lib64/libLLVMMCJIT.a ../../../../lib64/libLLVMCore.a
>> ../../../../lib64/libLLVMMCDisassembler.a
>> ../../../../lib64/libLLVMExecutionEngine.a
>> ../../../../lib64/libLLVMRuntimeDyld.a ../../../../lib64/libLLVMOption.a
>> ../../../../lib64/libLLVMSupport.a ../../../../lib64/libLLVMCoverage.a
>> ../../../../lib64/libLLVMTarget.a -lpthread
>> ../../../../lib64/liblldb.so.4.0.0 ../../../../lib64/libLLVMAsmPrinter.a
>> ../../../../lib64/libLLVMDebugInfoCodeView.a
>> ../../../../lib64/libLLVMDebugInfoMSF.a
>> ../../../../lib64/libLLVMGlobalISel.a
>> ../../../../lib64/libLLVMX86AsmPrinter.a ../../../../lib64/libLLVMX86Utils.a
>> ../../../../lib64/libLLVMX86Info.a ../../../../lib64/libLLVMCodeGen.a
>> ../../../../lib64/libLLVMBitWriter.a ../../../../lib64/libLLVMScalarOpts.a
>> ../../../../lib64/libLLVMIRReader.a ../../../../lib64/libLLVMAsmParser.a
>> ../../../../lib64/libLLVMInstCombine.a
>> ../../../../lib64/libLLVMInstrumentation.a ../../../../lib64/libLLVMLinker.a
>> ../../../../lib64/libLLVMVectorize.a
>> ../../../../lib64/libLLVMTransformUtils.a ../../../../lib64/libLLVMTarget.a
>> ../../../../lib64/libLLVMAnalysis.a ../../../../lib64/libLLVMObject.a
>> ../../../../lib64/libLLVMBitReader.a ../../../../lib64/libLLVMMCParser.a
>> ../../../../lib64/libLLVMMC.a ../../../../lib64/libLLVMProfileData.a
>> ../../../../lib64/libLLVMCore.a ../../../../lib64/libLLVMSupport.a
>> ../../../../lib64/libLLVMDemangle.a -lrt -ldl -ltinfo -lpthread -lz -lm
>> -Wl,-rpath,"\$ORIGIN/../lib64"
>> undefined symbol: _ZN4lldb10SBDebugger10InitializeEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger11SetUseColorEb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger15GetInstanceNameEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger16GetVersionStringEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger16SetTerminalWidthEj in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger16SkipAppInitFilesEb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger17SkipLLDBInitFilesEb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger18GetErrorFileHandleEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger18SetCloseInputOnEOFEb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger18SetErrorFileHandleEP8_IO_FILEb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger18SetInputFileHandleEP8_IO_FILEb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger19GetOutputFileHandleEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger19SetOutputFileHandleEP8_IO_FILEb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger20GetScriptingLanguageEPKc in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger20SetUseExternalEditorEb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger21GetCommandInterpreterEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger21RunCommandInterpreterEbb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol:
>> _ZN4lldb10SBDebugger21RunCommandInterpreterEbbRNS_30SBCommandInterpreterRunOptionsERiRbS4_
>> in CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger22DispatchInputInterruptEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger22GetDefaultArchitectureEPcm in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger22SaveInputTerminalStateEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger22SetDefaultArchitectureEPKc in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger24GetInternalVariableValueEPKcS2_ in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger25RestoreInputTerminalStateEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger6CreateEb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger7DestroyERS0_ in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger7RunREPLENS_12LanguageTypeEPKc in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger8GetAsyncEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger8SetAsyncEb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebugger9TerminateEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBDebuggerD1Ev in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBFileSpec19AppendPathComponentEPKc in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBFileSpec25ResolveExecutableLocationEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBFileSpecC1EPKc in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBFileSpecC1EPKcb in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb10SBFileSpecD1Ev in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb12SBStringList16GetStringAtIndexEm in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb12SBStringListD1Ev in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb13SBBroadcasterC2EPKc in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb13SBBroadcasterD2Ev in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb17SBLanguageRuntime25GetLanguageTypeFromStringEPKc
>> in CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol:
>> _ZN4lldb20SBCommandInterpreter24GetArgumentTypeAsCStringENS_19CommandArgumentTypeE
>> in CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol:
>> _ZN4lldb20SBCommandInterpreter29SourceInitFileInHomeDirectoryERNS_21SBCommandReturnObjectE
>> in CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb20SBCommandInterpreterD1Ev in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb21SBCommandReturnObject8PutErrorEP8_IO_FILE in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb21SBCommandReturnObject9PutOutputEP8_IO_FILE in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb21SBCommandReturnObjectC1Ev in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb21SBCommandReturnObjectD1Ev in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb30SBCommandInterpreterRunOptions14SetStopOnCrashEb
>> in CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb30SBCommandInterpreterRunOptions14SetStopOnErrorEb
>> in CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb30SBCommandInterpreterRunOptionsC1Ev in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb30SBCommandInterpreterRunOptionsD1Ev in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb7SBError24SetErrorStringWithFormatEPKcz in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb7SBErrorC1Ev in CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb7SBErrorD1Ev in CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb8SBHostOS13ThreadCreatedEPKc in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb8SBHostOS17GetLLDBPythonPathEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb8SBHostOS20GetUserHomeDirectoryEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb8SBStream6PrintfEPKcz in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb8SBStream7GetDataEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb8SBStream7GetSizeEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb8SBStreamC1Ev in CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZN4lldb8SBStreamD1Ev in CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZNK4lldb10SBFileSpec12GetDirectoryEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZNK4lldb10SBFileSpec6ExistsEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZNK4lldb10SBFileSpec7GetPathEPcm in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZNK4lldb10SBFileSpec7IsValidEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZNK4lldb12SBStringList7GetSizeEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZNK4lldb7SBError10GetCStringEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZNK4lldb7SBError4FailEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> undefined symbol: _ZNK4lldb7SBError8GetErrorEv in
>> CMakeFiles/lldb.dir/Driver.cpp.o
>> clang-3.9: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>> make[2]: *** [bin/lldb-4.0.0] Error 1
>> make[2]: Leaving directory
>> `/opt/bamboo-agent-01/xml-data/build-dir/CLANG-BFRH-JOB1/build/RELEASE_40_RC1/Linux/x86_64/llvm_build_phase1'
>> make[1]: *** [tools/lldb/tools/driver/CMakeFiles/lldb.dir/all] Error 2
>> make[1]: Leaving directory
>> `/opt/bamboo-agent-01/xml-data/build-dir/CLANG-BFRH-JOB1/build/RELEASE_40_RC1/Linux/x86_64/llvm_build_phase1'
>> make: *** [all] Error 2
>> 
>> 
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>> 
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170124/6decbc9e/attachment-0001.html>


More information about the llvm-dev mailing list