Hi

I want to make M5thread in X86 architecture but when run make command, I
encounter with following error:

Makefile:43: warning: overriding commands for target `test_omp'
Makefile:35: warning: ignoring old commands for target `test_omp'
gcc -ggdb3 -O3 -D__DEBUG -c ../pthread.c -o ../pthread.o
../pthread.c:43:4: error: #error "spinlock routines not available for your
arch!\n"
In file included from ../pthread.c:47:0:
../tls_defs.h:168:4: error: #error "No TLS defs for your architecture"
../pthread.c: In function ‘populate_thread_block_info’:
../pthread.c:122:45: warning: cast to pointer from integer of different
size [-Wint-to-pointer-cast]
../pthread.c: In function ‘__pthread_trampoline’:
../pthread.c:187:3: warning: format ‘%llx’ expects argument of type ‘long
long unsigned int’, but argument 2 has type ‘pthread_t’ [-Wformat]
../pthread.c: In function ‘pthread_create’:
../pthread.c:205:3: warning: format ‘%llx’ expects argument of type ‘long
long unsigned int’, but argument 2 has type ‘void *’ [-Wformat]
../pthread.c:205:3: warning: format ‘%llx’ expects argument of type ‘long
long unsigned int’, but argument 3 has type ‘char *’ [-Wformat]
../pthread.c: In function ‘pthread_exit’:
../pthread.c:272:5: warning: format ‘%llx’ expects argument of type ‘long
long unsigned int’, but argument 2 has type ‘pthread_t’ [-Wformat]
../pthread.c: In function ‘pthread_setspecific’:
../pthread.c:473:8: warning: format ‘%llx’ expects argument of type ‘long
long unsigned int’, but argument 3 has type ‘void **’ [-Wformat]
../pthread.c:476:8: warning: format ‘%llx’ expects argument of type ‘long
long unsigned int’, but argument 3 has type ‘void **’ [-Wformat]
make: *** [../pthread.o] Error 1

Could you help me?

-- 
Hamid Reza Khaleghzadeh
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to