Skip to content

Instantly share code, notes, and snippets.

@adrianomelo
Created February 14, 2011 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianomelo/825913 to your computer and use it in GitHub Desktop.
Save adrianomelo/825913 to your computer and use it in GitHub Desktop.
glib error
/root/LDC/build/elf/librtld.os(.text+0x9740): In function `_dl_lookup_symbol_x':
/root/gcc-ldc/glibc-2.6/elf/dl-lookup.c:106: undefined reference to `__sync_fetch_and_add_4'
/root/LDC/build/elf/librtld.os(.text+0x97a3):/root/gcc-ldc/glibc-2.6/elf/dl-lookup.c:110: undefined reference to `__sync_val_compare_and_swap_4'
/root/LDC/build/elf/librtld.os(.text+0xcd91): In function `_dl_profile_fixup':
/root/gcc-ldc/glibc-2.6/elf/dl-runtime.c:196: undefined reference to `__sync_val_compare_and_swap_4'
/root/LDC/build/elf/librtld.os(.text+0xcdf8):/root/gcc-ldc/glibc-2.6/elf/dl-runtime.c:205: undefined reference to `__sync_fetch_and_add_4'
/root/LDC/build/elf/librtld.os(.text+0xd03a): In function `_dl_fixup':
/root/gcc-ldc/glibc-2.6/elf/dl-runtime.c:102: undefined reference to `__sync_val_compare_and_swap_4'
/root/LDC/build/elf/librtld.os(.text+0xd09e):/root/gcc-ldc/glibc-2.6/elf/dl-runtime.c:110: undefined reference to `__sync_fetch_and_add_4'
/root/LDC/build/elf/librtld.os(.text+0x1189b): In function `dl_open_worker':
/root/gcc-ldc/glibc-2.6/elf/dl-open.c:425: undefined reference to `__sync_val_compare_and_swap_4'
/root/LDC/build/elf/librtld.os(.text+0x118c8):/root/gcc-ldc/glibc-2.6/elf/dl-open.c:427: undefined reference to `__sync_fetch_and_add_4'
/root/LDC/build/elf/librtld.os(.text+0x1279c): In function `_dl_close_worker':
/root/gcc-ldc/glibc-2.6/elf/dl-close.c:407: undefined reference to `__sync_val_compare_and_swap_4'
/root/LDC/build/elf/librtld.os(.text+0x127cc):/root/gcc-ldc/glibc-2.6/elf/dl-close.c:409: undefined reference to `__sync_fetch_and_add_4'
collect2: ld returned 1 exit status
make[2]: *** [/root/LDC/build/elf/ld.so] Error 1
make[1]: *** [elf/subdir_lib] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment