-
Notifications
You must be signed in to change notification settings - Fork 17
This is broken #2
Comments
I am getting following errors while trying to build using gcc-7.3.0 pthread.c: In function ‘pthread_create’: |
I am getting the same issue; though the issue with clone() can be resolved with proper includes, the rest of the issue with missing members of structures couldnot be solved; Should I be editing pthreads.h to make this run or should I be using a different version of gcc (using 7.4.0). Please provide a resolution. |
This issue may have to do with the Linux kernel version. |
Was there any additional modifications you made other than changing the compiler to gcc-4.8? I still get the following errors with the most recent m5threads commit using gcc-4.4 (I get the original poster's errors with gcc-4.8): gcc-4.4 -O3 -static -c -o pthread.o pthread.c |
@jared-nye If I remember correctly, I didn't make any other modification. Just switched to older gcc and kernel. (Based on the errors, I think the code is compatible with older glibc versions.) |
I can not make this m5threads using gcc-7.3.
I tried using gcc-4.8 and gcc-5 but the error is same.
Also, there is no proper README to instruct how it works
The text was updated successfully, but these errors were encountered: