Skip to content

Instantly share code, notes, and snippets.

@GrooveStomp
Created March 20, 2013 06:25
Show Gist options
  • Select an option

  • Save GrooveStomp/5202717 to your computer and use it in GitHub Desktop.

Select an option

Save GrooveStomp/5202717 to your computer and use it in GitHub Desktop.
Trying to build D samples.
↳ gdc bin_search.d -unittest
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(dmain2.o): In function `_D2rt6dmain24mainUiPPaZi7runMainMFZv':
(.text+0x5dd): undefined reference to `_Dmain'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread6Thread6__ctorMFZC4core6thread6Thread':
(.text+0x44): undefined reference to `_tlsstart'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread6Thread6__ctorMFZC4core6thread6Thread':
(.text+0x4b): undefined reference to `_tlsend'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread6Thread6__ctorMFPFZvmZC4core6thread6Thread':
(.text+0xe7c): undefined reference to `_tlsstart'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread6Thread6__ctorMFPFZvmZC4core6thread6Thread':
(.text+0xe83): undefined reference to `_tlsend'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread6Thread6__ctorMFDFZvmZC4core6thread6Thread':
(.text+0xec9): undefined reference to `_tlsstart'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread6Thread6__ctorMFDFZvmZC4core6thread6Thread':
(.text+0xed0): undefined reference to `_tlsend'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `thread_attachThis':
(.text+0x1e63): undefined reference to `_tlsstart'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `thread_attachThis':
(.text+0x1e82): undefined reference to `_tlsend'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread18thread_getTLSBlockFZAv':
(.text+0x2c6f): undefined reference to `_tlsstart'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread18thread_getTLSBlockFZAv':
(.text+0x2c76): undefined reference to `_tlsend'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread11ThreadGroup6createMFPFZvZC4core6thread6Thread':
(.text+0x2cde): undefined reference to `_tlsstart'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread11ThreadGroup6createMFPFZvZC4core6thread6Thread':
(.text+0x2ce5): undefined reference to `_tlsend'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread11ThreadGroup6createMFDFZvZC4core6thread6Thread':
(.text+0x313c): undefined reference to `_tlsstart'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread11ThreadGroup6createMFDFZvZC4core6thread6Thread':
(.text+0x3143): undefined reference to `_tlsend'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `thread_entryPoint':
(.text+0x45f0): undefined reference to `_tlsstart'
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `thread_entryPoint':
(.text+0x45f7): undefined reference to `_tlsend'
collect2: ld returned 1 exit status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment