Aloshi / EmulationStation

A flexible emulator front-end supporting keyboardless navigation and custom system themes.
MIT License
2.08k stars 905 forks source link

ES in odroid U3 #437

Open sergiobenrocha2 opened 9 years ago

sergiobenrocha2 commented 9 years ago

Compile OK, but when you try to run, it complains about exynos_dri.so (why it does not try to use /usr/lib/libMali.so ?):

./emulationstation 
libGL error: MESA-LOADER: malformed or no PCI ID
libGL error: dlopen /usr/lib/arm-linux-gnueabihf/dri/exynos_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen ${ORIGIN}/dri/exynos_dri.so failed (${ORIGIN}/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/dri/exynos_dri.so failed (/usr/lib/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: exynos_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: exynos
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
Aborted
gdb ./emulationstation 
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./emulationstation...done.
(gdb) run
Starting program: /home/odroid/Projects/EmulationStation/EmulationStation/emulationstation 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Cannot access memory at address 0x0

Program received signal SIGILL, Illegal instruction.
0xb6137208 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
(gdb)  
(gdb) bt full
#0  0xb6137208 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
No symbol table info available.
#1  0xb6134eb0 in OPENSSL_cpuid_setup () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
No symbol table info available.
#2  0xb6fea20e in call_init (l=<optimized out>, argc=1, argv=0xbefff074, env=0xbefff07c) at dl-init.c:78
        j = 1
        jm = 2
        addrs = <optimized out>
        init_array = <optimized out>
        env = 0xbefff07c
        argv = 0xbefff074
        argc = 1
        l = <optimized out>
#3  0xb6fea2a0 in _dl_init (main_map=0xb6fff958, argc=1, argv=0xbefff074, env=0xbefff07c) at dl-init.c:126
        preinit_array = <optimized out>
        preinit_array_size = <optimized out>
        i = 37
#4  0xb6fdfbf2 in _dl_start_user () from /lib/ld-linux-armhf.so.3
        audit_list = 0x0
        _dl_rtld_libname = {name = 0x8154 "/lib/ld-linux-armhf.so.3", next = 0xb6fff8a8 <newname>, dont_free = 0}
        preloadlist = 0x0
        any_debug = 0
        _dl_rtld_libname2 = {name = 0x0, next = 0x0, dont_free = 0}
        tls_init_tp_called = true
        library_path = 0x0
        version_info = 0
        _dl_argv = 0xbefff074
        _dl_skip_args = 0
        _rtld_local_ro = {_dl_debug_mask = 0, _dl_osversion = 198669, _dl_platform = 0xbefff247 "v7l", _dl_platformlen = 3, _dl_pagesize = 4096, 
          _dl_inhibit_cache = 0, _dl_initial_searchlist = {r_list = 0xb4265cb0, r_nlist = 99}, _dl_clktck = 100, _dl_verbose = 0, _dl_debug_fd = 2, _dl_lazy = 1, 
          _dl_bind_not = 0, _dl_dynamic_weak = 0, _dl_fpu_control = 0, _dl_correct_cache_id = 3, _dl_hwcap = 571607, _dl_hwcap_mask = 4160, _dl_auxv = 0xbefff19c, 
          _dl_arm_cap_flags = {"swp\000\000\000\000\000\000", "half\000\000\000\000\000", "thumb\000\000\000\000", "26bit\000\000\000\000", "fastmult\000", 
            "fpa\000\000\000\000\000\000", "vfp\000\000\000\000\000\000", "edsp\000\000\000\000\000", "java\000\000\000\000\000", "iwmmxt\000\000\000", 
            "crunch\000\000\000", "thumbee\000\000", "neon\000\000\000\000\000", "vfpv3\000\000\000\000", "vfpv3d16\000", "tls\000\000\000\000\000\000", 
            "vfpv4\000\000\000\000", "idiva\000\000\000\000", "idivt\000\000\000\000"}, _dl_inhibit_rpath = 0x0, _dl_origin_path = 0x0, 
          _dl_use_load_bias = 4294967295, _dl_profile = 0x0, _dl_profile_output = 0xb6ff25f8 "/var/tmp", _dl_trace_prelink = 0x0, _dl_trace_prelink_map = 0x0, 
          _dl_init_all_dirs = 0xb49706e8, _dl_sysinfo_dso = 0x0, _dl_sysinfo_map = 0x0, _dl_hwcap2 = 0, _dl_debug_printf = 0xb6feab8d <_dl_debug_printf>, 
          _dl_catch_error = 0xb6fea101 <_dl_catch_error>, _dl_signal_error = 0xb6fe9f35 <_dl_signal_error>, _dl_mcount = 0xb6feb769 <_dl_mcount>, 
          _dl_lookup_symbol_x = 0xb6fe61f1 <_dl_lookup_symbol_x>, _dl_check_caller = 0xb6fec73d <_dl_check_caller>, _dl_open = 0xb6feca25 <_dl_open>, 
          _dl_close = 0xb6fee105 <_dl_close>, _dl_tls_get_addr_soft = 0xb6fec439 <_dl_tls_get_addr_soft>, 
          _dl_discover_osversion = 0xb6feebad <_dl_discover_osversion>, _dl_audit = 0x0, _dl_naudit = 0, _dl_pointer_guard = 1}
        __stack_chk_guard = 766884096
        __pointer_chk_guard_local = 2246250000
        _rtld_global = {_dl_ns = {{_ns_loaded = 0xb6fff958, _ns_nloaded = 99, _ns_main_searchlist = 0xb6fffab4, _ns_global_scope_alloc = 0, _ns_unique_sym_table = {
                lock = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 1, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, 
                    __size = '\000' <repeats 12 times>, "\001\000\000\000\000\000\000\000\000\000\000", __align = 0}}, entries = 0xb417f000, size = 251, 
                n_elements = 105, free = 0xb6feee61 <free>}, _ns_debug = {r_version = 0, r_map = 0x0, r_brk = 0, r_state = RT_CONSISTENT, r_ldbase = 0}}, {
              _ns_loaded = 0x0, _ns_nloaded = 0, _ns_main_searchlist = 0x0, _ns_global_scope_alloc = 0, _ns_unique_sym_table = {lock = {mutex = {__data = {
                      __lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\000' <repeats 23 times>, 
                    __align = 0}}, entries = 0x0, size = 0, n_elements = 0, free = 0x0}, _ns_debug = {r_version = 0, r_map = 0x0, r_brk = 0, 
                r_state = RT_CONSISTENT, r_ldbase = 0}} <repeats 15 times>}, _dl_nns = 1, _dl_load_lock = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, 
                __kind = 1, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, 
              __size = '\000' <repeats 12 times>, "\001\000\000\000\000\000\000\000\000\000\000", __align = 0}}, _dl_load_write_lock = {mutex = {__data = {
                __lock = 0, __count = 0, __owner = 0, __kind = 1, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, 
              __size = '\000' <repeats 12 times>, "\001\000\000\000\000\000\000\000\000\000\000", __align = 0}}, _dl_load_adds = 99, _dl_initfirst = 0x0, 
          _dl_profile_map = 0x0, _dl_num_relocations = 8436, _dl_num_cache_relocations = 4710, _dl_all_dirs = 0xb49706e8, 
          _dl_error_catch_tsd = 0xb6a47299 <__libc_dl_error_tsd>, _dl_rtld_map = {l_addr = 3070095360, l_name = 0x8154 "/lib/ld-linux-armhf.so.3", 
            l_ld = 0xb6ffef44, l_next = 0xb6ff98d8, l_prev = 0xb6ff9590, l_real = 0xb6fff568 <_rtld_global+1304>, l_ns = 0, 
            l_libname = 0xb6fff890 <_dl_rtld_libname>, l_info = {0x0, 0x0, 0xb6ffef84, 0xb6ffef7c, 0xb6ffef4c, 0xb6ffef5c, 0xb6ffef64, 0x0, 0x0, 0x0, 0xb6ffef6c, 
              0xb6ffef74, 0x0, 0x0, 0xb6ffef44, 0x0, 0x0, 0xb6ffef9c, 0xb6ffefa4, 0xb6ffefac, 0xb6ffef8c, 0x0, 0x0, 0xb6ffef94, 0x0 <repeats 12 times>, 0xb6ffefbc, 
              0xb6ffefb4, 0x0, 0xb6ffefcc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb6ffefc4, 0x0 <repeats 25 times>, 0xb6ffef54}, l_phdr = 0xb6fdf034, 
            l_entry = 0, l_phnum = 7, l_ldnum = 0, l_searchlist = {r_list = 0x0, r_nlist = 0}, l_symbolic_searchlist = {r_list = 0x0, r_nlist = 0}, l_loader = 0x0, 
            l_versions = 0xb4185c20, l_nversions = 4, l_nbuckets = 17, l_gnu_bitmask_idxbits = 7, l_gnu_shift = 8, l_gnu_bitmask = 0xb6fdf208, {
              l_gnu_buckets = 0xb6fdf228, l_chain = 0xb6fdf228}, {l_gnu_chain_zero = 0xb6fdf260, l_buckets = 0xb6fdf260}, l_direct_opencount = 0, 
            l_type = lt_library, l_relocated = 1, l_init_called = 1, l_global = 1, l_reserved = 0, l_phdr_allocated = 0, l_soname_added = 0, l_faked = 0, 
            l_need_tls_init = 0, l_auditing = 0, l_audit_any_plt = 0, l_removed = 0, l_contiguous = 0, l_symbolic_in_local_scope = 0, l_free_initfini = 0, 
            l_rpath_dirs = {dirs = 0x0, malloced = 0}, l_reloc_result = 0x0, l_versyms = 0xb6fdf648, l_origin = 0x0, l_map_start = 3070095360, 
            l_map_end = 3070228824, l_text_end = 3070173728, l_scope_mem = {0x0, 0x0, 0x0, 0x0}, l_scope_max = 0, l_scope = 0x0, l_local_scope = {0x0, 0x0}, 
            l_dev = 0, l_ino = 0, l_runpath_dirs = {dirs = 0x0, malloced = 0}, l_initfini = 0x0, l_reldeps = 0x0, l_reldepsmax = 0, l_used = 1, l_feature_1 = 0, 
            l_flags_1 = 0, l_flags = 0, l_idx = 0, l_mach = {plt = 0, tlsdesc_table = 0x0}, l_lookup_cache = {sym = 0xb6fdf344, type_class = 1, value = 0xb6ff9590, 
              ret = 0xb699b528}, l_tls_initimage = 0x0, l_tls_initimage_size = 0, l_tls_blocksize = 0, l_tls_align = 0, l_tls_firstbyte_offset = 0, 
            l_tls_offset = 0, l_tls_modid = 0, l_tls_dtor_count = 0, l_relro_addr = 130360, l_relro_size = 712, l_serial = 0, 
            l_audit = 0xb6fff7c0 <_rtld_global+1904>}, audit_data = {{cookie = 0, bindflags = 0} <repeats 16 times>}, 
          _dl_rtld_lock_recursive = 0xb6dcf85d <__GI___pthread_mutex_lock>, _dl_rtld_unlock_recursive = 0xb6dd0639 <__GI___pthread_mutex_unlock>, 
          _dl_make_stack_executable_hook = 0xb6dcd62d <__make_stacks_executable>, _dl_stack_flags = 6, _dl_tls_dtv_gaps = false, _dl_tls_max_dtv_idx = 5, 
          _dl_tls_dtv_slotinfo_list = 0xb4182250, _dl_tls_static_nelem = 5, _dl_tls_static_size = 1856, _dl_tls_static_used = 188, _dl_tls_static_align = 16, 
          _dl_initial_dtv = 0xb4181c08, _dl_tls_generation = 1, _dl_init_static_tls = 0xb6dcdaa9 <__pthread_init_static_tls>, 
          _dl_wait_lookup_done = 0xb6dcdbd1 <__wait_lookup_done>, _dl_scope_free_list = 0x0}
        __pointer_chk_guard = 2246250000
        _rtld_local = {_dl_ns = {{_ns_loaded = 0xb6fff958, _ns_nloaded = 99, _ns_main_searchlist = 0xb6fffab4, _ns_global_scope_alloc = 0, _ns_unique_sym_table = {
                lock = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 1, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, 
                    __size = '\000' <repeats 12 times>, "\001\000\000\000\000\000\000\000\000\000\000", __align = 0}}, entries = 0xb417f000, size = 251, 
                n_elements = 105, free = 0xb6feee61 <free>}, _ns_debug = {r_version = 0, r_map = 0x0, r_brk = 0, r_state = RT_CONSISTENT, r_ldbase = 0}}, {
              _ns_loaded = 0x0, _ns_nloaded = 0, _ns_main_searchlist = 0x0, _ns_global_scope_alloc = 0, _ns_unique_sym_table = {lock = {mutex = {__data = {
                      __lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\000' <repeats 23 times>, 
                    __align = 0}}, entries = 0x0, size = 0, n_elements = 0, free = 0x0}, _ns_debug = {r_version = 0, r_map = 0x0, r_brk = 0, 
                r_state = RT_CONSISTENT, r_ldbase = 0}} <repeats 15 times>}, _dl_nns = 1, _dl_load_lock = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, 
                __kind = 1, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, 
              __size = '\000' <repeats 12 times>, "\001\000\000\000\000\000\000\000\000\000\000", __align = 0}}, _dl_load_write_lock = {mutex = {__data = {
                __lock = 0, __count = 0, __owner = 0, __kind = 1, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, 
              __size = '\000' <repeats 12 times>, "\001\000\000\000\000\000\000\000\000\000\000", __align = 0}}, _dl_load_adds = 99, _dl_initfirst = 0x0, 
          _dl_profile_map = 0x0, _dl_num_relocations = 8436, _dl_num_cache_relocations = 4710, _dl_all_dirs = 0xb49706e8, 
          _dl_error_catch_tsd = 0xb6a47299 <__libc_dl_error_tsd>, _dl_rtld_map = {l_addr = 3070095360, l_name = 0x8154 "/lib/ld-linux-armhf.so.3", 
            l_ld = 0xb6ffef44, l_next = 0xb6ff98d8, l_prev = 0xb6ff9590, l_real = 0xb6fff568 <_rtld_global+1304>, l_ns = 0, 
            l_libname = 0xb6fff890 <_dl_rtld_libname>, l_info = {0x0, 0x0, 0xb6ffef84, 0xb6ffef7c, 0xb6ffef4c, 0xb6ffef5c, 0xb6ffef64, 0x0, 0x0, 0x0, 0xb6ffef6c, 
              0xb6ffef74, 0x0, 0x0, 0xb6ffef44, 0x0, 0x0, 0xb6ffef9c, 0xb6ffefa4, 0xb6ffefac, 0xb6ffef8c, 0x0, 0x0, 0xb6ffef94, 0x0 <repeats 12 times>, 0xb6ffefbc, 
              0xb6ffefb4, 0x0, 0xb6ffefcc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb6ffefc4, 0x0 <repeats 25 times>, 0xb6ffef54}, l_phdr = 0xb6fdf034, 
            l_entry = 0, l_phnum = 7, l_ldnum = 0, l_searchlist = {r_list = 0x0, r_nlist = 0}, l_symbolic_searchlist = {r_list = 0x0, r_nlist = 0}, l_loader = 0x0, 
            l_versions = 0xb4185c20, l_nversions = 4, l_nbuckets = 17, l_gnu_bitmask_idxbits = 7, l_gnu_shift = 8, l_gnu_bitmask = 0xb6fdf208, {
              l_gnu_buckets = 0xb6fdf228, l_chain = 0xb6fdf228}, {l_gnu_chain_zero = 0xb6fdf260, l_buckets = 0xb6fdf260}, l_direct_opencount = 0, 
            l_type = lt_library, l_relocated = 1, l_init_called = 1, l_global = 1, l_reserved = 0, l_phdr_allocated = 0, l_soname_added = 0, l_faked = 0, 
            l_need_tls_init = 0, l_auditing = 0, l_audit_any_plt = 0, l_removed = 0, l_contiguous = 0, l_symbolic_in_local_scope = 0, l_free_initfini = 0, 
            l_rpath_dirs = {dirs = 0x0, malloced = 0}, l_reloc_result = 0x0, l_versyms = 0xb6fdf648, l_origin = 0x0, l_map_start = 3070095360, 
            l_map_end = 3070228824, l_text_end = 3070173728, l_scope_mem = {0x0, 0x0, 0x0, 0x0}, l_scope_max = 0, l_scope = 0x0, l_local_scope = {0x0, 0x0}, 
            l_dev = 0, l_ino = 0, l_runpath_dirs = {dirs = 0x0, malloced = 0}, l_initfini = 0x0, l_reldeps = 0x0, l_reldepsmax = 0, l_used = 1, l_feature_1 = 0, 
            l_flags_1 = 0, l_flags = 0, l_idx = 0, l_mach = {plt = 0, tlsdesc_table = 0x0}, l_lookup_cache = {sym = 0xb6fdf344, type_class = 1, value = 0xb6ff9590, 
              ret = 0xb699b528}, l_tls_initimage = 0x0, l_tls_initimage_size = 0, l_tls_blocksize = 0, l_tls_align = 0, l_tls_firstbyte_offset = 0, 
            l_tls_offset = 0, l_tls_modid = 0, l_tls_dtor_count = 0, l_relro_addr = 130360, l_relro_size = 712, l_serial = 0, 
            l_audit = 0xb6fff7c0 <_rtld_global+1904>}, audit_data = {{cookie = 0, bindflags = 0} <repeats 16 times>}, 
          _dl_rtld_lock_recursive = 0xb6dcf85d <__GI___pthread_mutex_lock>, _dl_rtld_unlock_recursive = 0xb6dd0639 <__GI___pthread_mutex_unlock>, 
          _dl_make_stack_executable_hook = 0xb6dcd62d <__make_stacks_executable>, _dl_stack_flags = 6, _dl_tls_dtv_gaps = false, _dl_tls_max_dtv_idx = 5, 
          _dl_tls_dtv_slotinfo_list = 0xb4182250, _dl_tls_static_nelem = 5, _dl_tls_static_size = 1856, _dl_tls_static_used = 188, _dl_tls_static_align = 16, 
          _dl_initial_dtv = 0xb4181c08, _dl_tls_generation = 1, _dl_init_static_tls = 0xb6dcdaa9 <__pthread_init_static_tls>, 
          _dl_wait_lookup_done = 0xb6dcdbd1 <__wait_lookup_done>, _dl_scope_free_list = 0x0}
        _rtld_global_ro = {_dl_debug_mask = 0, _dl_osversion = 198669, _dl_platform = 0xbefff247 "v7l", _dl_platformlen = 3, _dl_pagesize = 4096, 
          _dl_inhibit_cache = 0, _dl_initial_searchlist = {r_list = 0xb4265cb0, r_nlist = 99}, _dl_clktck = 100, _dl_verbose = 0, _dl_debug_fd = 2, _dl_lazy = 1, 
          _dl_bind_not = 0, _dl_dynamic_weak = 0, _dl_fpu_control = 0, _dl_correct_cache_id = 3, _dl_hwcap = 571607, _dl_hwcap_mask = 4160, _dl_auxv = 0xbefff19c, 
          _dl_arm_cap_flags = {"swp\000\000\000\000\000\000", "half\000\000\000\000\000", "thumb\000\000\000\000", "26bit\000\000\000\000", "fastmult\000", 
            "fpa\000\000\000\000\000\000", "vfp\000\000\000\000\000\000", "edsp\000\000\000\000\000", "java\000\000\000\000\000", "iwmmxt\000\000\000", 
            "crunch\000\000\000", "thumbee\000\000", "neon\000\000\000\000\000", "vfpv3\000\000\000\000", "vfpv3d16\000", "tls\000\000\000\000\000\000", 
            "vfpv4\000\000\000\000", "idiva\000\000\000\000", "idivt\000\000\000\000"}, _dl_inhibit_rpath = 0x0, _dl_origin_path = 0x0, 
          _dl_use_load_bias = 4294967295, _dl_profile = 0x0, _dl_profile_output = 0xb6ff25f8 "/var/tmp", _dl_trace_prelink = 0x0, _dl_trace_prelink_map = 0x0, 
          _dl_init_all_dirs = 0xb49706e8, _dl_sysinfo_dso = 0x0, _dl_sysinfo_map = 0x0, _dl_hwcap2 = 0, _dl_debug_printf = 0xb6feab8d <_dl_debug_printf>, 
          _dl_catch_error = 0xb6fea101 <_dl_catch_error>, _dl_signal_error = 0xb6fe9f35 <_dl_signal_error>, _dl_mcount = 0xb6feb769 <_dl_mcount>, 
          _dl_lookup_symbol_x = 0xb6fe61f1 <_dl_lookup_symbol_x>, _dl_check_caller = 0xb6fec73d <_dl_check_caller>, _dl_open = 0xb6feca25 <_dl_open>, 
          _dl_close = 0xb6fee105 <_dl_close>, _dl_tls_get_addr_soft = 0xb6fec439 <_dl_tls_get_addr_soft>, 
          _dl_discover_osversion = 0xb6feebad <_dl_discover_osversion>, _dl_audit = 0x0, _dl_naudit = 0, _dl_pointer_guard = 1}
        _dl_argc = 1
        _dl_argv_internal = 0xbefff074
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Any idea?

Using Lubuntu 14.04 from hardkernel.

sergiobenrocha2 commented 9 years ago

So you have to type continue, with SIGILL in libcrypto. The real debug:

Reading symbols from ./../emulationstation...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/odroid/Projects/EmulationStation/EmulationStation/emulationstation 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
_armv7_tick () at armv4cpuid.S:17
17  armv4cpuid.S: No such file or directory.
(gdb) continue 
Continuing.
libGL error: MESA-LOADER: malformed or no PCI ID
libGL error: dlopen /usr/lib/arm-linux-gnueabihf/dri/exynos_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen ${ORIGIN}/dri/exynos_dri.so failed (${ORIGIN}/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/dri/exynos_dri.so failed (/usr/lib/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: exynos_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: exynos
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid

Program received signal SIGABRT, Aborted.
__libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
44  ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.
(gdb) bt
#0  __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
#1  0xb69b3f0e in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2  0xb69b6766 in __GI_abort () at abort.c:89
#3  0xb6b4c7a8 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#4  0xb6b4b1c8 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) bt full
#0  __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
No locals.
#1  0xb69b3f0e in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        _a1 = 0
        _a3tmp = 6
        _a1tmp = 0
        _a3 = 6
        _nametmp = 268
        _a2tmp = 15639
        _a2 = 15639
        _name = 268
        _sys_result = <optimized out>
        pd = 0xb4180000
        pid = 0
        selftid = 15639
#2  0xb69b6766 in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 3070209312, 3064440924, 11, 3063799645, 1, 3063799645, 
              3021471744, 3064995840, 3021471744, 3064995840, 667796, 3065080816, 0, 3065295689, 78, 0, 3070138831, 3021490448, 1, 1, 0, 3318696, 3063495592, 
              3318696, 1, 4421884, 0, 85, 3070157212, 4431488, 1}}, sa_flags = -1273494324, sa_restorer = 0x0}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0xb6b4c7a8 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
No symbol table info available.
#4  0xb6b4b1c8 in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
sergiobenrocha2 commented 9 years ago

Same backtrace of a desmume bug (???):

http://sourceforge.net/p/desmume/bugs/1438/

sergiobenrocha2 commented 9 years ago

Compiler problem?

http://lists.boost.org/Archives/boost/2014/08/215838.php

sergiobenrocha2 commented 9 years ago

Trying to compile with clang 3.5, I got 20 errors:

export CC=/usr/bin/clang-3.5 
export CXX=/usr/bin/clang++-3.5 

cmake ../
-- The C compiler identification is Clang 3.5.0
-- The CXX compiler identification is Clang 3.5.0
-- Check for working C compiler: /usr/bin/clang-3.5
-- Check for working C compiler: /usr/bin/clang-3.5 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++-3.5
-- Check for working CXX compiler: /usr/bin/clang++-3.5 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Looking for bcm_host.h
bcm_host.h not found
Looking for libMali.so
libMali.so found
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/arm-linux-gnueabihf/libX11.so
-- checking for module 'freetype2'
--   found freetype2, version 17.1.11
-- Found Freetype: /usr/lib/arm-linux-gnueabihf/libfreetype.so (found version "17.1.11") 
-- Looking for FreeImage...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'freeimage'
--   package 'freeimage' not found
-- Found FreeImage: optimized;/usr/lib/libfreeimage.so;debug;/usr/lib/libfreeimage.so
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found SDL2: /usr/lib/arm-linux-gnueabihf/libSDL2main.a;/usr/lib/arm-linux-gnueabihf/libSDL2.so;-lpthread  
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
--   filesystem
--   date_time
--   locale
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0") 
-- Found CURL: /usr/lib/arm-linux-gnueabihf/libcurl.so (found version "7.35.0") 
-- Found ALSA: /usr/lib/arm-linux-gnueabihf/libasound.so (found version "1.0.27.2") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/odroid/Projects/EmulationStation/EmulationStation/obj

make -j5
Scanning dependencies of target nanosvg
Scanning dependencies of target pugixml
[  1%] [  2%] Building CXX object external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o
Building CXX object external/pugixml/CMakeFiles/pugixml.dir/src/pugixml.cpp.o
Linking CXX static library ../../../libnanosvg.a
[  2%] Built target nanosvg
Linking CXX static library ../../../libpugixml.a
[  2%] Built target pugixml
Scanning dependencies of target es-core
[  3%] [  4%] [  5%] [  5%] [  6%] Building CXX object es-core/CMakeFiles/es-core.dir/src/AudioManager.cpp.o
Building CXX object es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o
Building CXX object es-core/CMakeFiles/es-core.dir/src/HelpStyle.cpp.o
Building CXX object es-core/CMakeFiles/es-core.dir/src/HttpReq.cpp.o
Building CXX object es-core/CMakeFiles/es-core.dir/src/ImageIO.cpp.o
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.cpp:1:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:21:14: error: no type named 'shared_ptr' in namespace 'std'
        static std::shared_ptr<Sound> get(const std::string& path);
               ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:21:24: error: expected member name or ';' after declaration specifiers
        static std::shared_ptr<Sound> get(const std::string& path);
        ~~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:22:14: error: no type named 'shared_ptr' in namespace 'std'
        static std::shared_ptr<Sound> getFromTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& elem);
               ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:22:24: error: expected member name or ';' after declaration specifiers
        static std::shared_ptr<Sound> getFromTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& elem);
        ~~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:43:37: error: no member named 'shared_ptr' in namespace 'std'
        static std::map< std::string, std::shared_ptr<Sound> > sMap;
                                      ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:43:48: error: 'Sound' does not refer to a value
        static std::map< std::string, std::shared_ptr<Sound> > sMap;
                                                      ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:11:7: note: declared here
class Sound
      ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:43:55: error: expected member name or ';' after declaration specifiers
        static std::map< std::string, std::shared_ptr<Sound> > sMap;
        ~~~~~~                                               ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.cpp:1:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:15:26: error: no member named 'shared_ptr' in namespace 'std'
        static std::vector<std::shared_ptr<Sound>> sSoundVector;
                           ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:15:37: error: 'Sound' does not refer to a value
        static std::vector<std::shared_ptr<Sound>> sSoundVector;
                                           ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Sound.h:11:7: note: declared here
class Sound
      ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.cpp:1:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:15:45: error: use of undeclared identifier 'sSoundVector'
        static std::vector<std::shared_ptr<Sound>> sSoundVector;
                                                   ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:16:14: error: no type named 'shared_ptr' in namespace 'std'
        static std::shared_ptr<AudioManager> sInstance;
               ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:16:24: error: expected member name or ';' after declaration specifiers
        static std::shared_ptr<AudioManager> sInstance;
        ~~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:23:14: error: no type named 'shared_ptr' in namespace 'std'
        static std::shared_ptr<AudioManager> & getInstance();
               ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:23:24: error: expected member name or ';' after declaration specifiers
        static std::shared_ptr<AudioManager> & getInstance();
        ~~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:28:26: error: no type named 'shared_ptr' in namespace 'std'
        void registerSound(std::shared_ptr<Sound> & sound);
                           ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:28:36: error: expected ')'
        void registerSound(std::shared_ptr<Sound> & sound);
                                          ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:28:20: note: to match this '('
        void registerSound(std::shared_ptr<Sound> & sound);
                          ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:29:28: error: no type named 'shared_ptr' in namespace 'std'
        void unregisterSound(std::shared_ptr<Sound> & sound);
                             ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:29:38: error: expected ')'
        void unregisterSound(std::shared_ptr<Sound> & sound);
                                            ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.h:29:22: note: to match this '('
        void unregisterSound(std::shared_ptr<Sound> & sound);
                            ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ImageIO.cpp:14:18: error: use of undeclared identifier 'nullptr'
        if (fiMemory != nullptr) {
                        ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ImageIO.cpp:21:20: error: use of undeclared identifier 'nullptr'
                        if (fiBitmap != nullptr)
                                        ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ImageIO.cpp:24:30: error: use of undeclared identifier 'nullptr'
                                FIBITMAP * fiConverted = nullptr;
                                                         ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ImageIO.cpp:28:25: error: use of undeclared identifier 'nullptr'
                                        if (fiConverted != nullptr)
                                                           ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ImageIO.cpp:35:21: error: use of undeclared identifier 'nullptr'
                                if (fiBitmap != nullptr)
                                                ^
5 errors generated.
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/ImageIO.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/AudioManager.cpp:6:18: error: no member named 'shared_ptr' in namespace 'std'
std::vector<std::shared_ptr<Sound>> AudioManager::sSoundVector;
            ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/AudioManager.cpp.o] Error 1
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HttpReq.cpp:99:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                        LOG(LogError) << "Error removing curl_easy handle from curl_multi: " << curl_multi_strerror(merr);
                        ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Log.h:5:40: note: expanded from macro 'LOG'
if(level > Log::getReportingLevel()) ; \
                                       ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HttpReq.cpp:120:13: warning: using the result of an assignment as a condition without parentheses
      [-Wparentheses]
                while(msg = curl_multi_info_read(s_multi_handle, &msgs_left))
                      ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HttpReq.cpp:120:13: note: place parentheses around the assignment to silence this warning
                while(msg = curl_multi_info_read(s_multi_handle, &msgs_left))
                          ^
                      (                                                     )
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HttpReq.cpp:120:13: note: use '==' to turn this assignment into an equality comparison
                while(msg = curl_multi_info_read(s_multi_handle, &msgs_left))
                          ^
                          ==
2 warnings generated.
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:1:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:15:7: error: no type named 'shared_ptr' in namespace 'std'
        std::shared_ptr<Font> font;
        ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:15:17: error: expected member name or ';' after declaration specifiers
        std::shared_ptr<Font> font;
        ~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:29: error: no type named 'shared_ptr' in namespace 'std'
        void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
                              ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:39: error: expected ')'
        void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
                                             ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:17: note: to match this '('
        void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
                       ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.cpp:1:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:6:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:15:7: error: no type named 'shared_ptr' in namespace 'std'
        std::shared_ptr<Font> font;
        ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:15:17: error: expected member name or ';' after declaration specifiers
        std::shared_ptr<Font> font;
        ~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:29: error: no type named 'shared_ptr' in namespace 'std'
        void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
                              ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:39: error: expected ')'
        void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
                                             ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.h:18:17: note: to match this '('
        void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view);
                       ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.cpp:1:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:62: error: no type named 'function' in namespace 'std'
        void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
                                                               ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:70: error: expected ')'
        void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
                                                                            ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:19: note: to match this '('
        void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
                         ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:83:37: error: no type named 'shared_ptr' in namespace 'std'
        virtual void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& element, unsigned int properties);
                                      ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:83:47: error: expected ')'
        virtual void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& element, unsigned int properties);
                                                     ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:83:25: note: to match this '('
        virtual void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& element, unsigned int properties);
                               ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.cpp:2:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/Window.h:5:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:14:13: error: no type named 'shared_ptr' in namespace 'std'
        const std::shared_ptr<unsigned char> ptr;
              ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:14:23: error: expected member name or ';' after declaration specifiers
        const std::shared_ptr<unsigned char> ptr;
        ~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:23:27: error: no type named 'shared_ptr' in namespace 'std'
        virtual void unload(std::shared_ptr<ResourceManager>& rm) = 0;
                            ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:23:37: error: expected ')'
        virtual void unload(std::shared_ptr<ResourceManager>& rm) = 0;
                                           ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:23:21: note: to match this '('
        virtual void unload(std::shared_ptr<ResourceManager>& rm) = 0;
                           ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:24:27: error: no type named 'shared_ptr' in namespace 'std'
        virtual void reload(std::shared_ptr<ResourceManager>& rm) = 0;
                            ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:24:37: error: expected ')'
        virtual void reload(std::shared_ptr<ResourceManager>& rm) = 0;
                                           ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:24:21: note: to match this '('
        virtual void reload(std::shared_ptr<ResourceManager>& rm) = 0;
                           ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:30:14: error: no type named 'shared_ptr' in namespace 'std'
        static std::shared_ptr<ResourceManager>& getInstance();
               ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:30:24: error: expected member name or ';' after declaration specifiers
        static std::shared_ptr<ResourceManager>& getInstance();
        ~~~~~~~~~~~~~~~~~~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:32:26: error: no type named 'weak_ptr' in namespace 'std'
        void addReloadable(std::weak_ptr<IReloadable> reloadable);
                           ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:32:34: error: expected ')'
        void addReloadable(std::weak_ptr<IReloadable> reloadable);
                                        ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:32:20: note: to match this '('
        void addReloadable(std::weak_ptr<IReloadable> reloadable);
                          ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:43:14: error: no type named 'shared_ptr' in namespace 'std'
        static std::shared_ptr<ResourceManager> sInstance;
               ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:2:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:13:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:62: error: no type named 'function' in namespace 'std'
        void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
                                                               ~~~~~^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:70: error: expected ')'
        void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
                                                                            ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:62:19: note: to match this '('
        void setAnimation(Animation* animation, int delay = 0, std::function<void()> finishedCallback = nullptr, bool reverse = false, unsigned char slot = 0);
                         ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/GuiComponent.h:83:32: error: no template named 'shared_ptr' in namespace 'std'; did you mean
      'boost::shared_ptr'?
        virtual void applyTheme(const std::shared_ptr<ThemeData>& theme, const std::string& view, const std::string& element, unsigned int properties);
                                      ^~~~~~~~~~~~~~~
                                      boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
    template<class Y> friend class shared_ptr;
                                   ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:2:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:26:7: error: ISO C++ forbids forward references to 'enum' types
        enum PropertyFlags : unsigned int
             ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:26:21: error: expected unqualified-id
        enum PropertyFlags : unsigned int
                           ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:45:7: error: exception specification of overriding function is more lax than base
      version
class ThemeException : public std::exception
      ^
/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.8/../../../../include/c++/4.8/exception:64:13: note: overridden virtual function is here
    virtual ~exception() _GLIBCXX_USE_NOEXCEPT;
            ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:2:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:58:7: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
                for(auto it = deque.begin() + 1; it != deque.end(); it++)
                    ^
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:140:53: error: no template named 'shared_ptr' in namespace 'std'; did you mean
      'boost::shared_ptr'?
        static std::vector<GuiComponent*> makeExtras(const std::shared_ptr<ThemeData>& theme, const std::string& view, Window* window);
                                                           ^~~~~~~~~~~~~~~
                                                           boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
    template<class Y> friend class shared_ptr;
                                   ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:2:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/ThemeData.h:142:15: error: no template named 'shared_ptr' in namespace 'std'; did you mean
      'boost::shared_ptr'?
        static const std::shared_ptr<ThemeData>& getDefault();
                     ^~~~~~~~~~~~~~~
                     boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
    template<class Y> friend class shared_ptr;
                                   ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:14:8: error: no template named 'shared_ptr' in namespace 'std'; did you
      mean 'boost::shared_ptr'?
        const std::shared_ptr<unsigned char> ptr;
              ^~~~~~~~~~~~~~~
              boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
    template<class Y> friend class shared_ptr;
                                   ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:23:22: error: no template named 'shared_ptr' in namespace 'std'; did
      you mean 'boost::shared_ptr'?
        virtual void unload(std::shared_ptr<ResourceManager>& rm) = 0;
                            ^~~~~~~~~~~~~~~
                            boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
    template<class Y> friend class shared_ptr;
                                   ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:24:22: error: no template named 'shared_ptr' in namespace 'std'; did
      you mean 'boost::shared_ptr'?
        virtual void reload(std::shared_ptr<ResourceManager>& rm) = 0;
                            ^~~~~~~~~~~~~~~
                            boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
    template<class Y> friend class shared_ptr;
                                   ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:30:9: error: no template named 'shared_ptr' in namespace 'std'; did you
      mean 'boost::shared_ptr'?
        static std::shared_ptr<ResourceManager>& getInstance();
               ^~~~~~~~~~~~~~~
               boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
    template<class Y> friend class shared_ptr;
                                   ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:32:21: error: no template named 'weak_ptr' in namespace 'std'; did you
      mean 'boost::weak_ptr'?
        void addReloadable(std::weak_ptr<IReloadable> reloadable);
                           ^~~~~~~~~~~~~
                           boost::weak_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:723:36: note: 'boost::weak_ptr' declared here
    template<class Y> friend class weak_ptr;
                                   ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:43:9: error: no template named 'shared_ptr' in namespace 'std'; did you
      mean 'boost::shared_ptr'?
        static std::shared_ptr<ResourceManager> sInstance;
               ^~~~~~~~~~~~~~~
               boost::shared_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:722:36: note: 'boost::shared_ptr' declared here
    template<class Y> friend class shared_ptr;
                                   ^
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/HelpStyle.cpp:4:
In file included from /home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/Font.h:9:
/home/odroid/Projects/EmulationStation/EmulationStation/es-core/src/resources/ResourceManager.h:47:13: error: no template named 'weak_ptr' in namespace 'std'; did you
      mean 'boost::weak_ptr'?
        std::list< std::weak_ptr<IReloadable> > mReloadables;
                   ^~~~~~~~~~~~~
                   boost::weak_ptr
/usr/include/boost/smart_ptr/shared_ptr.hpp:723:36: note: 'boost::weak_ptr' declared here
    template<class Y> friend class weak_ptr;
                                   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/HelpStyle.cpp.o] Error 1
20 errors generated.
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o] Error 1
make[1]: *** [es-core/CMakeFiles/es-core.dir/all] Error 2
make: *** [all] Error 2
sergiobenrocha2 commented 9 years ago

There were some symbols missing

(gdb) run
Starting program: /home/odroid/Projects/EmulationStation/EmulationStation/emulationstation 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'

Program received signal SIGILL, Illegal instruction.
_armv7_tick () at armv4cpuid.S:17
17  armv4cpuid.S: No such file or directory.
(gdb) continue 
Continuing.
libGL error: MESA-LOADER: malformed or no PCI ID
libGL error: dlopen /usr/lib/arm-linux-gnueabihf/dri/exynos_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen ${ORIGIN}/dri/exynos_dri.so failed (${ORIGIN}/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: dlopen /usr/lib/dri/exynos_dri.so failed (/usr/lib/dri/exynos_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: exynos_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: exynos
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid

Program received signal SIGABRT, Aborted.
__libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
44  ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.
(gdb) bt full                     
#0  __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
No locals.
#1  0xb69b3f0e in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        _a1 = 0
        _a3tmp = 6
        _a1tmp = 0
        _a3 = 6
        _nametmp = 268
        _a2tmp = 16345
        _a2 = 16345
        _name = 268
        _sys_result = <optimized out>
        pd = 0xb4181000
        pid = 0
        selftid = 16345
#2  0xb69b6766 in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 3070209296, 3064440924, 11, 3063799645, 1, 3063799645, 
              3021475840, 3064995840, 3021475840, 3064995840, 663700, 3065080832, 0, 3065295429, 78, 0, 3070138831, 3021494544, 1, 1, 0, 3318696, 3063495592, 
              3318696, 1, 4431164, 0, 85, 3070157212, 4424192, 1}}, sa_flags = -1273490228, sa_restorer = 0x0}
        sigs = {__val = {32, 0 <repeats 31 times>}}
#3  0xb6b4c69c in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
        terminating = true
        t = <optimized out>
#4  0xb6b4b0c4 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:38
No locals.
#5  0xb6b4b0e0 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
No locals.
#6  0xb6b4b31c in __cxxabiv1::__cxa_throw (obj=0x438278, tinfo=<optimized out>, dest=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:87
        globals = <optimized out>
#7  0xb6b8284c in std::__throw_logic_error (__s=<optimized out>) at ../../../../../src/libstdc++-v3/src/c++11/functexcept.cc:64
No locals.
#8  0xb6b8a2d4 in std::string::_S_construct<char const*> (__beg=__beg@entry=0x0, __end=<optimized out>, __a=...)
    at /build/buildd/gcc-4.8-4.8.4/build/arm-linux-gnueabihf/libstdc++-v3/include/bits/basic_string.tcc:133
        __dnew = <optimized out>
        __r = <optimized out>
#9  0xb6b8a562 in _S_construct_aux<char const*> (__a=..., __end=<optimized out>, __beg=0x0)
    at /build/buildd/gcc-4.8-4.8.4/build/arm-linux-gnueabihf/libstdc++-v3/include/bits/basic_string.h:1725
No locals.
#10 _S_construct<char const*> (__a=..., __end=<optimized out>, __beg=0x0)
    at /build/buildd/gcc-4.8-4.8.4/build/arm-linux-gnueabihf/libstdc++-v3/include/bits/basic_string.h:1746
No locals.
#11 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string (this=0xbeffede0, __s=0x0, __a=...)
    at /build/buildd/gcc-4.8-4.8.4/build/arm-linux-gnueabihf/libstdc++-v3/include/bits/basic_string.tcc:215
No locals.
#12 0x00059b22 in main (argc=1, argv=<optimized out>) at /home/odroid/Projects/EmulationStation/EmulationStation/es-app/src/main.cpp:225
        glExts = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0xb6ba2f2c <construction vtable for std::ostream-in-std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >+12> "\245\360\266\266\035\361\266\266\324\377\377\377\324\377\377\377P.\272\266\325\360\266\266Q\361\266\266\024\240\062"}}

        window = {mHelp = 0x35c190, mBackgroundOverlay = 0x35afd8, mGuiStack = {<std::_Vector_base<GuiComponent*, std::allocator<GuiComponent*> >> = {
              _M_impl = {<std::allocator<GuiComponent*>> = {<__gnu_cxx::new_allocator<GuiComponent*>> = {<No data fields>}, <No data fields>}, _M_start = 0x35b130, 
                _M_finish = 0x35b134, _M_end_of_storage = 0x35b134}}, <No data fields>}, 
          mDefaultFonts = {<std::_Vector_base<std::shared_ptr<Font>, std::allocator<std::shared_ptr<Font> > >> = {
              _M_impl = {<std::allocator<std::shared_ptr<Font> >> = {<__gnu_cxx::new_allocator<std::shared_ptr<Font> >> = {<No data fields>}, <No data fields>}, 
                _M_start = 0x3b26c8, _M_finish = 0x3b26e0, _M_end_of_storage = 0x3b26e8}}, <No data fields>}, mFrameTimeElapsed = 0, mFrameCountElapsed = 0, 
          mAverageDeltaTime = 10, mFrameDataText = {
            _M_t = {<std::_Tuple_impl<0u, TextCache*, std::default_delete<TextCache> >> = {<std::_Tuple_impl<1u, std::default_delete<TextCache> >> = {<std::_Tuple_impl<2u>> = {<No data fields>}, <std::_Head_base<1u, std::default_delete<TextCache>, true>> = {<std::default_delete<TextCache>> = {<No data fields>}, <No data fields>}, <No data fields>}, <std::_Head_base<0u, TextCache*, false>> = {_M_head_impl = 0x0}, <No data fields>}, <No data fields>}}, mNormalizeNextUpdate = false, 
          mAllowSleep = true, mSleeping = false, mTimeSinceLastInput = 0, mRenderedHelpPrompts = 3}
        running = <optimized out>
        width = 0
        height = 0
        errorMsg = 0x0
        lastTime = <optimized out>
sergiobenrocha2 commented 9 years ago

The backtrace starts at

std::string glExts = (const char*)glGetString(GL_EXTENSIONS);

of es-app/src/main.cpp

Any idea?