Hello, When I try to compile libpthread I get the below error
lap318@lap318-HP-Compaq-6730b-KE717AV ~/gem5/m5threads $ make gcc -O3 -static -c -o pthread.o pthread.c *pthread.c:40:2: error: #error "spinlock routines not available for your arch!\n" #error "spinlock routines not available for your arch!\n" ^In file included from pthread.c:43:0:tls_defs.h:220:4: error: #error "No TLS defs for your architecture" #error "No TLS defs for your architecture" ^pthread.c: In function ‘populate_thread_block_info’:pthread.c:58:37: error: ‘tcbhead_t’ undeclared (first use in this function) #define NPTL_TCBHEAD_T_SIZE (sizeof(tcbhead_t))* Is there something I am missing ? May be some missing path variable or some minor modification of the code somewhere. Because I have the files spinlock_x86.h and tls_defs.h. Regards Nidhi _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
