[GHC] #8935: Obscure linker bug leads to crash in GHCi

GHC ghc-devs at haskell.org
Fri May 2 20:57:54 UTC 2014


#8935: Obscure linker bug leads to crash in GHCi
-------------------------------------+------------------------------------
        Reporter:  simonmar          |            Owner:  simonmar
            Type:  bug               |           Status:  infoneeded
        Priority:  high              |        Milestone:  7.8.3
       Component:  Runtime System    |          Version:  7.8.1-rc2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  GHCi crash        |       Difficulty:  Rocket Science
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by dagit):

 I hope this helps! This is from the Fedora 19 system I mentioned earlier.

 {{{
 $ LD_DEBUG=symbols ./check-environ /usr/lib64/libgmp.so
 /usr/lib64/libpthread.so
       5823:     symbol=_res;  lookup in file=./check-environ [0]
       5823:     symbol=_res;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=_res;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=stderr;  lookup in file=./check-environ [0]
       5823:     symbol=stderr;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=stderr;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=error_one_per_line;  lookup in file=./check-environ
 [0]
       5823:     symbol=error_one_per_line;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=error_one_per_line;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__malloc_initialize_hook;  lookup in file=./check-
 environ [0]
       5823:     symbol=__malloc_initialize_hook;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__malloc_initialize_hook;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_dl_starting_up;  lookup in file=./check-environ
 [0]
       5823:     symbol=_dl_starting_up;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=_dl_starting_up;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=_dl_starting_up;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__morecore;  lookup in file=./check-environ [0]
       5823:     symbol=__morecore;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__morecore;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__key_encryptsession_pk_LOCAL;  lookup in file
 =./check-environ [0]
       5823:     symbol=__key_encryptsession_pk_LOCAL;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__key_encryptsession_pk_LOCAL;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__progname_full;  lookup in file=./check-environ
 [0]
       5823:     symbol=__progname_full;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__progname_full;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__ctype32_tolower;  lookup in file=./check-environ
 [0]
       5823:     symbol=__ctype32_tolower;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__ctype32_tolower;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=_environ;  lookup in file=./check-environ [0]
       5823:     symbol=_rtld_global;  lookup in file=./check-environ [0]
       5823:     symbol=_rtld_global;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=_rtld_global;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=_rtld_global;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__progname;  lookup in file=./check-environ [0]
       5823:     symbol=__progname;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__progname;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=argp_err_exit_status;  lookup in file=./check-
 environ [0]
       5823:     symbol=argp_err_exit_status;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=argp_err_exit_status;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=mallwatch;  lookup in file=./check-environ [0]
       5823:     symbol=mallwatch;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=mallwatch;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__rcmd_errstr;  lookup in file=./check-environ [0]
       5823:     symbol=__rcmd_errstr;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__rcmd_errstr;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__vdso_clock_gettime;  lookup in file=./check-
 environ [0]
       5823:     symbol=__vdso_clock_gettime;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__vdso_clock_gettime;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=svcauthdes_stats;  lookup in file=./check-environ
 [0]
       5823:     symbol=svcauthdes_stats;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=svcauthdes_stats;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__libc_enable_secure;  lookup in file=./check-
 environ [0]
       5823:     symbol=__libc_enable_secure;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__libc_enable_secure;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__libc_enable_secure;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=_res_hconf;  lookup in file=./check-environ [0]
       5823:     symbol=_res_hconf;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=_res_hconf;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=malloc;  lookup in file=./check-environ [0]
       5823:     symbol=malloc;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=malloc;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=getdate_err;  lookup in file=./check-environ [0]
       5823:     symbol=getdate_err;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=getdate_err;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__tzname;  lookup in file=./check-environ [0]
       5823:     symbol=__tzname;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__tzname;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__timezone;  lookup in file=./check-environ [0]
       5823:     symbol=__timezone;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__timezone;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=_rtld_global_ro;  lookup in file=./check-environ
 [0]
       5823:     symbol=_rtld_global_ro;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=_rtld_global_ro;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=_rtld_global_ro;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=optarg;  lookup in file=./check-environ [0]
       5823:     symbol=optarg;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=optarg;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__ctype_tolower;  lookup in file=./check-environ
 [0]
       5823:     symbol=__ctype_tolower;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__ctype_tolower;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__ctype_toupper;  lookup in file=./check-environ
 [0]
       5823:     symbol=__ctype_toupper;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__ctype_toupper;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=svc_max_pollfd;  lookup in file=./check-environ [0]
       5823:     symbol=svc_max_pollfd;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=svc_max_pollfd;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__ctype_b;  lookup in file=./check-environ [0]
       5823:     symbol=__ctype_b;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__ctype_b;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=argp_program_version_hook;  lookup in file=./check-
 environ [0]
       5823:     symbol=argp_program_version_hook;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=argp_program_version_hook;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__after_morecore_hook;  lookup in file=./check-
 environ [0]
       5823:     symbol=__after_morecore_hook;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__after_morecore_hook;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__environ;  lookup in file=./check-environ [0]
       5823:     symbol=__ctype32_b;  lookup in file=./check-environ [0]
       5823:     symbol=__ctype32_b;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__ctype32_b;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__curbrk;  lookup in file=./check-environ [0]
       5823:     symbol=__curbrk;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__curbrk;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=argp_program_version;  lookup in file=./check-
 environ [0]
       5823:     symbol=argp_program_version;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=argp_program_version;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__daylight;  lookup in file=./check-environ [0]
       5823:     symbol=__daylight;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__daylight;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__memalign_hook;  lookup in file=./check-environ
 [0]
       5823:     symbol=__memalign_hook;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__memalign_hook;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__malloc_hook;  lookup in file=./check-environ [0]
       5823:     symbol=__malloc_hook;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__malloc_hook;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__free_hook;  lookup in file=./check-environ [0]
       5823:     symbol=__free_hook;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__free_hook;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=svc_pollfd;  lookup in file=./check-environ [0]
       5823:     symbol=svc_pollfd;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=svc_pollfd;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=_nl_domain_bindings;  lookup in file=./check-
 environ [0]
       5823:     symbol=_nl_domain_bindings;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=_nl_domain_bindings;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_nl_msg_cat_cntr;  lookup in file=./check-environ
 [0]
       5823:     symbol=_nl_msg_cat_cntr;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=_nl_msg_cat_cntr;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=argp_program_bug_address;  lookup in file=./check-
 environ [0]
       5823:     symbol=argp_program_bug_address;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=argp_program_bug_address;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__key_decryptsession_pk_LOCAL;  lookup in file
 =./check-environ [0]
       5823:     symbol=__key_decryptsession_pk_LOCAL;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__key_decryptsession_pk_LOCAL;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=h_errlist;  lookup in file=./check-environ [0]
       5823:     symbol=h_errlist;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=h_errlist;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=program_invocation_short_name;  lookup in file
 =./check-environ [0]
       5823:     symbol=program_invocation_short_name;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=program_invocation_short_name;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=optind;  lookup in file=./check-environ [0]
       5823:     symbol=optind;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=optind;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=stdout;  lookup in file=./check-environ [0]
       5823:     symbol=stdout;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=stdout;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=obstack_alloc_failed_handler;  lookup in file
 =./check-environ [0]
       5823:     symbol=obstack_alloc_failed_handler;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=obstack_alloc_failed_handler;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=error_print_progname;  lookup in file=./check-
 environ [0]
       5823:     symbol=error_print_progname;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=error_print_progname;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=optopt;  lookup in file=./check-environ [0]
       5823:     symbol=optopt;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=optopt;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=_IO_funlockfile;  lookup in file=./check-environ
 [0]
       5823:     symbol=_IO_funlockfile;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=_IO_funlockfile;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=obstack_exit_failure;  lookup in file=./check-
 environ [0]
       5823:     symbol=obstack_exit_failure;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=obstack_exit_failure;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=error_message_count;  lookup in file=./check-
 environ [0]
       5823:     symbol=error_message_count;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=error_message_count;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=svc_fdset;  lookup in file=./check-environ [0]
       5823:     symbol=svc_fdset;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=svc_fdset;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=program_invocation_name;  lookup in file=./check-
 environ [0]
       5823:     symbol=program_invocation_name;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=program_invocation_name;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=loc1;  lookup in file=./check-environ [0]
       5823:     symbol=loc1;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=loc1;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=free;  lookup in file=./check-environ [0]
       5823:     symbol=free;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=free;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=loc2;  lookup in file=./check-environ [0]
       5823:     symbol=loc2;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=loc2;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__fpu_control;  lookup in file=./check-environ [0]
       5823:     symbol=__fpu_control;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__fpu_control;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=re_syntax_options;  lookup in file=./check-environ
 [0]
       5823:     symbol=re_syntax_options;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=re_syntax_options;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=stdin;  lookup in file=./check-environ [0]
       5823:     symbol=stdin;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=stdin;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__check_rhosts_file;  lookup in file=./check-
 environ [0]
       5823:     symbol=__check_rhosts_file;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__check_rhosts_file;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=opterr;  lookup in file=./check-environ [0]
       5823:     symbol=opterr;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=opterr;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__ctype32_toupper;  lookup in file=./check-environ
 [0]
       5823:     symbol=__ctype32_toupper;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__ctype32_toupper;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__realloc_hook;  lookup in file=./check-environ [0]
       5823:     symbol=__realloc_hook;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__realloc_hook;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=_dl_argv;  lookup in file=./check-environ [0]
       5823:     symbol=_dl_argv;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=_dl_argv;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=_dl_argv;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=rpc_createerr;  lookup in file=./check-environ [0]
       5823:     symbol=rpc_createerr;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=rpc_createerr;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=_IO_2_1_stderr_;  lookup in file=./check-environ
 [0]
       5823:     symbol=_IO_2_1_stderr_;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=_IO_2_1_stderr_;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=_IO_2_1_stdout_;  lookup in file=./check-environ
 [0]
       5823:     symbol=_IO_2_1_stdout_;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=_IO_2_1_stdout_;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=_IO_2_1_stdin_;  lookup in file=./check-environ [0]
       5823:     symbol=_IO_2_1_stdin_;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=_IO_2_1_stdin_;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=realloc;  lookup in file=./check-environ [0]
       5823:     symbol=realloc;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=realloc;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=memset;  lookup in file=./check-environ [0]
       5823:     symbol=memset;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=memset;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=malloc;  lookup in file=./check-environ [0]
       5823:     symbol=malloc;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=malloc;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__tls_get_addr;  lookup in file=./check-environ [0]
       5823:     symbol=__tls_get_addr;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__tls_get_addr;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__tls_get_addr;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=memmove;  lookup in file=./check-environ [0]
       5823:     symbol=memmove;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=memmove;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=memalign;  lookup in file=./check-environ [0]
       5823:     symbol=memalign;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=memalign;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=calloc;  lookup in file=./check-environ [0]
       5823:     symbol=calloc;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=calloc;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=free;  lookup in file=./check-environ [0]
       5823:     symbol=free;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=free;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__vdso_time;  lookup in file=linux-vdso.so.1 [0]
       5823:     symbol=__vdso_gettimeofday;  lookup in file=linux-
 vdso.so.1 [0]
       5823:     symbol=__pthread_key_create;  lookup in file=./check-
 environ [0]
       5823:     symbol=__pthread_key_create;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__pthread_key_create;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__pthread_key_create;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=_ITM_deregisterTMCloneTable;  lookup in file
 =./check-environ [0]
       5823:     symbol=_ITM_deregisterTMCloneTable;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=_ITM_deregisterTMCloneTable;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_ITM_deregisterTMCloneTable;  lookup in file=/lib64
 /ld-linux-x86-64.so.2 [0]
       5823:     symbol=__pthread_getspecific;  lookup in file=./check-
 environ [0]
       5823:     symbol=__pthread_getspecific;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__pthread_getspecific;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__pthread_getspecific;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmon_start__;  lookup in file=./check-environ [0]
       5823:     symbol=__gmon_start__;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__gmon_start__;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__gmon_start__;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=_rtld_global_ro;  lookup in file=./check-environ
 [0]
       5823:     symbol=_rtld_global_ro;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=_rtld_global_ro;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=_rtld_global_ro;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__pthread_once;  lookup in file=./check-environ [0]
       5823:     symbol=__pthread_once;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__pthread_once;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__pthread_once;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=_libc_intl_domainname;  lookup in file=./check-
 environ [0]
       5823:     symbol=_libc_intl_domainname;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=_libc_intl_domainname;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_Jv_RegisterClasses;  lookup in file=./check-
 environ [0]
       5823:     symbol=_Jv_RegisterClasses;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=_Jv_RegisterClasses;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_Jv_RegisterClasses;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__environ;  lookup in file=./check-environ [0]
       5823:     symbol=_ITM_registerTMCloneTable;  lookup in file=./check-
 environ [0]
       5823:     symbol=_ITM_registerTMCloneTable;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=_ITM_registerTMCloneTable;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_ITM_registerTMCloneTable;  lookup in file=/lib64
 /ld-linux-x86-64.so.2 [0]
       5823:     symbol=__pthread_setspecific;  lookup in file=./check-
 environ [0]
       5823:     symbol=__pthread_setspecific;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__pthread_setspecific;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__pthread_setspecific;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=_rtld_global;  lookup in file=./check-environ [0]
       5823:     symbol=_rtld_global;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=_rtld_global;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=_rtld_global;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__cxa_finalize;  lookup in file=./check-environ [0]
       5823:     symbol=__cxa_finalize;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__cxa_finalize;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__gmon_start__;  lookup in file=./check-environ [0]
       5823:     symbol=__gmon_start__;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__gmon_start__;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__gmon_start__;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__environ;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__environ;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=_r_debug;  lookup in file=./check-environ [0]
       5823:     symbol=_r_debug;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=_r_debug;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=_r_debug;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=free;  lookup in file=./check-environ [0]
       5823:     symbol=free;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=free;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__libc_memalign;  lookup in file=./check-environ
 [0]
       5823:     symbol=__libc_memalign;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__libc_memalign;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=malloc;  lookup in file=./check-environ [0]
       5823:     symbol=malloc;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=malloc;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__tls_get_addr;  lookup in file=./check-environ [0]
       5823:     symbol=__tls_get_addr;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__tls_get_addr;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__tls_get_addr;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=calloc;  lookup in file=./check-environ [0]
       5823:     symbol=calloc;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=calloc;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=realloc;  lookup in file=./check-environ [0]
       5823:     symbol=realloc;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=realloc;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=free;  lookup in file=./check-environ [0]
       5823:     symbol=free;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=free;  lookup in file=/lib64/libc.so.6 [0]
       5823:
       5823:     calling init: /lib64/ld-linux-x86-64.so.2
       5823:
       5823:
       5823:     calling init: /lib64/libc.so.6
       5823:
       5823:     symbol=__vdso_clock_gettime;  lookup in file=linux-
 vdso.so.1 [0]
       5823:     symbol=__vdso_getcpu;  lookup in file=linux-vdso.so.1 [0]
       5823:
       5823:     calling init: /lib64/libdl.so.2
       5823:
       5823:     symbol=__libc_start_main;  lookup in file=./check-environ
 [0]
       5823:     symbol=__libc_start_main;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__libc_start_main;  lookup in file=/lib64/libc.so.6
 [0]
       5823:
       5823:     initialize program: ./check-environ
       5823:
       5823:
       5823:     transferring control: ./check-environ
       5823:
       5823:     symbol=dlopen;  lookup in file=./check-environ [0]
       5823:     symbol=dlopen;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=printf;  lookup in file=./check-environ [0]
       5823:     symbol=printf;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=printf;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=dlsym;  lookup in file=./check-environ [0]
       5823:     symbol=dlsym;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=_dl_sym;  lookup in file=./check-environ [0]
       5823:     symbol=_dl_sym;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=_dl_sym;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=environ;  lookup in file=./check-environ [0]
       5823:     symbol=obstack_vprintf;  lookup in file=./check-environ
 [0]
       5823:     symbol=obstack_vprintf;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=obstack_vprintf;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=vfprintf;  lookup in file=./check-environ [0]
       5823:     symbol=vfprintf;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=vfprintf;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_asprintf_memory;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_asprintf_memory;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_asprintf_memory;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_asprintf_memory;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_asprintf_memory;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_asprintf_reps;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_asprintf_reps;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_asprintf_reps;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_asprintf_reps;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_asprintf_reps;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_asprintf_final;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_asprintf_final;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_asprintf_final;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_asprintf_final;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_asprintf_final;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__isoc99_fscanf;  lookup in file=./check-environ
 [0]
       5823:     symbol=__isoc99_fscanf;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__isoc99_fscanf;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=fgetc;  lookup in file=./check-environ [0]
       5823:     symbol=fgetc;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=fgetc;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=ungetc;  lookup in file=./check-environ [0]
       5823:     symbol=ungetc;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=ungetc;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_randget_mt;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_randget_mt;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__gmp_randget_mt;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__gmp_randget_mt;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_randget_mt;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_randclear_mt;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_randclear_mt;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_randclear_mt;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_randclear_mt;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_randclear_mt;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_randiset_mt;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_randiset_mt;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_randiset_mt;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__gmp_randiset_mt;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_randiset_mt;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=_ITM_deregisterTMCloneTable;  lookup in file
 =./check-environ [0]
       5823:     symbol=_ITM_deregisterTMCloneTable;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=_ITM_deregisterTMCloneTable;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_ITM_deregisterTMCloneTable;  lookup in file=/lib64
 /ld-linux-x86-64.so.2 [0]
       5823:     symbol=_ITM_deregisterTMCloneTable;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=_ITM_deregisterTMCloneTable;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_ITM_deregisterTMCloneTable;  lookup in file=/lib64
 /ld-linux-x86-64.so.2 [0]
       5823:     symbol=stdout;  lookup in file=./check-environ [0]
       5823:     symbol=stdout;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=stdout;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_reallocate_func;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_reallocate_func;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_reallocate_func;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_reallocate_func;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_reallocate_func;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=stdin;  lookup in file=./check-environ [0]
       5823:     symbol=stdin;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=stdin;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_fib_table;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_fib_table;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__gmp_fib_table;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__gmp_fib_table;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_fib_table;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_fprintf_funs;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_fprintf_funs;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_fprintf_funs;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_fprintf_funs;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_fprintf_funs;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmpz_sub;  lookup in file=./check-environ [0]
       5823:     symbol=__gmpz_sub;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmpz_sub;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmpz_sub;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmpz_sub;  lookup in file=/usr/lib64/libgmp.so
 [0]
       5823:     symbol=__gmp_allocate_func;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_allocate_func;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_allocate_func;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_allocate_func;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_allocate_func;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_oddfac_table;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_oddfac_table;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_oddfac_table;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_oddfac_table;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_oddfac_table;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_junk;  lookup in file=./check-environ [0]
       5823:     symbol=__gmp_junk;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_junk;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_junk;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_junk;  lookup in file=/usr/lib64/libgmp.so
 [0]
       5823:     symbol=__gmp_0;  lookup in file=./check-environ [0]
       5823:     symbol=__gmp_0;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_0;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_0;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_0;  lookup in file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_asprintf_funs;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_asprintf_funs;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_asprintf_funs;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_asprintf_funs;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_asprintf_funs;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_jacobi_table;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_jacobi_table;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_jacobi_table;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_jacobi_table;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_jacobi_table;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_limbroots_table;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_limbroots_table;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_limbroots_table;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_limbroots_table;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_limbroots_table;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_errno;  lookup in file=./check-environ [0]
       5823:     symbol=__gmp_errno;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_errno;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_errno;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_errno;  lookup in file=/usr/lib64/libgmp.so
 [0]
       5823:     symbol=__gmon_start__;  lookup in file=./check-environ [0]
       5823:     symbol=__gmon_start__;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__gmon_start__;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__gmon_start__;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmon_start__;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmon_start__;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__gmon_start__;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_default_reallocate;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_default_reallocate;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_default_reallocate;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_default_reallocate;  lookup in file=/lib64
 /ld-linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_default_reallocate;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_digit_value_tab;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_digit_value_tab;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_digit_value_tab;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_digit_value_tab;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_digit_value_tab;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_odd2fac_table;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_odd2fac_table;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_odd2fac_table;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_odd2fac_table;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_odd2fac_table;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmpn_bases;  lookup in file=./check-environ [0]
       5823:     symbol=__gmpn_bases;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmpn_bases;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmpn_bases;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmpn_bases;  lookup in file=/usr/lib64/libgmp.so
 [0]
       5823:     symbol=__gmp_sprintf_funs;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_sprintf_funs;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_sprintf_funs;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_sprintf_funs;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_sprintf_funs;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_binvert_limb_table;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_binvert_limb_table;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_binvert_limb_table;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_binvert_limb_table;  lookup in file=/lib64
 /ld-linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_binvert_limb_table;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_default_fp_limb_precision;  lookup in file
 =./check-environ [0]
       5823:     symbol=__gmp_default_fp_limb_precision;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_default_fp_limb_precision;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_default_fp_limb_precision;  lookup in
 file=/lib64/ld-linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_default_fp_limb_precision;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmpn_gcdext_hook;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmpn_gcdext_hook;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmpn_gcdext_hook;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmpn_gcdext_hook;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmpn_gcdext_hook;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_rands;  lookup in file=./check-environ [0]
       5823:     symbol=__gmp_rands;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_rands;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_rands;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_rands;  lookup in file=/usr/lib64/libgmp.so
 [0]
       5823:     symbol=__gmp_sscanf_funs;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_sscanf_funs;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_sscanf_funs;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__gmp_sscanf_funs;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_sscanf_funs;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_fac2cnt_table;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_fac2cnt_table;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_fac2cnt_table;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_fac2cnt_table;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_fac2cnt_table;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmpz_add;  lookup in file=./check-environ [0]
       5823:     symbol=__gmpz_add;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmpz_add;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmpz_add;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmpz_add;  lookup in file=/usr/lib64/libgmp.so
 [0]
       5823:     symbol=__gmp_default_allocate;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_default_allocate;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_default_allocate;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_default_allocate;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_default_allocate;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=_Jv_RegisterClasses;  lookup in file=./check-
 environ [0]
       5823:     symbol=_Jv_RegisterClasses;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=_Jv_RegisterClasses;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_Jv_RegisterClasses;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=_Jv_RegisterClasses;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=_Jv_RegisterClasses;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_Jv_RegisterClasses;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_free_func;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_free_func;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__gmp_free_func;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__gmp_free_func;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_free_func;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_snprintf_funs;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_snprintf_funs;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_snprintf_funs;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_snprintf_funs;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_snprintf_funs;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_default_free;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_default_free;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_default_free;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_default_free;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_default_free;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_rands_initialized;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_rands_initialized;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_rands_initialized;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_rands_initialized;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_rands_initialized;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=__gmp_obstack_printf_funs;  lookup in file=./check-
 environ [0]
       5823:     symbol=__gmp_obstack_printf_funs;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_obstack_printf_funs;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_obstack_printf_funs;  lookup in file=/lib64
 /ld-linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_obstack_printf_funs;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=_ITM_registerTMCloneTable;  lookup in file=./check-
 environ [0]
       5823:     symbol=_ITM_registerTMCloneTable;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=_ITM_registerTMCloneTable;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_ITM_registerTMCloneTable;  lookup in file=/lib64
 /ld-linux-x86-64.so.2 [0]
       5823:     symbol=_ITM_registerTMCloneTable;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:     symbol=_ITM_registerTMCloneTable;  lookup in
 file=/lib64/libc.so.6 [0]
       5823:     symbol=_ITM_registerTMCloneTable;  lookup in file=/lib64
 /ld-linux-x86-64.so.2 [0]
       5823:     symbol=__cxa_finalize;  lookup in file=./check-environ [0]
       5823:     symbol=__cxa_finalize;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__cxa_finalize;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=stderr;  lookup in file=./check-environ [0]
       5823:     symbol=stderr;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=stderr;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=__gmp_fscanf_funs;  lookup in file=./check-environ
 [0]
       5823:     symbol=__gmp_fscanf_funs;  lookup in
 file=/lib64/libdl.so.2 [0]
       5823:     symbol=__gmp_fscanf_funs;  lookup in file=/lib64/libc.so.6
 [0]
       5823:     symbol=__gmp_fscanf_funs;  lookup in file=/lib64/ld-
 linux-x86-64.so.2 [0]
       5823:     symbol=__gmp_fscanf_funs;  lookup in
 file=/usr/lib64/libgmp.so [0]
       5823:
       5823:     calling init: /usr/lib64/libgmp.so
       5823:
       5823:     symbol=environ;  lookup in file=/usr/lib64/libgmp.so [0]
       5823:     symbol=environ;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=free;  lookup in file=./check-environ [0]
       5823:     symbol=free;  lookup in file=/lib64/libdl.so.2 [0]
       5823:     symbol=free;  lookup in file=/lib64/libc.so.6 [0]
       5823:     symbol=environ;  lookup in file=./check-environ [0]
       5823:
       5823:     calling fini: ./check-environ [0]
       5823:
       5823:
       5823:     calling fini: /lib64/libdl.so.2 [0]
       5823:
       5823:     symbol=__cxa_finalize;  lookup in file=./check-environ [0]
       5823:     symbol=__cxa_finalize;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__cxa_finalize;  lookup in file=/lib64/libc.so.6
 [0]
       5823:
       5823:     calling fini: /usr/lib64/libgmp.so [0]
       5823:
       5823:     symbol=__cxa_finalize;  lookup in file=./check-environ [0]
       5823:     symbol=__cxa_finalize;  lookup in file=/lib64/libdl.so.2
 [0]
       5823:     symbol=__cxa_finalize;  lookup in file=/lib64/libc.so.6
 [0]
 environ = 0x601058
 dlsym(deflt, "environ") = 0x601058
 dlsym("libgmp", "environ") = 0x31e45bd508
 dlsym("libpthread", "environ") = 0x601058
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8935#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list