From 928b5b523bc386006e2ac5691faf7afff6fbce33 Mon Sep 17 00:00:00 2001 From: Ludovic Brenta Date: Sun, 6 Dec 2015 14:11:17 +0000 Subject: [PATCH] re PR ada/49944 (Bootstrapping on x86_64-pc-kfreebsd-gnu fails with "s-taprop.adb:856:10: "pthread_attr_setaffinity_np" is undefined (more references follow)") PR ada/49944 * s-osinte-freebsd.ads: Minor reformatting. (Stack_Base_Available): Correct comments. * s-osinte-kfreebsd-gnu.ads (Time_Slice_Supported, nanosleep, clock_id_t, clock_gettime, Stack_Base_Available, Get_Page_Size, mprotect, pthread_mutexattr_setprotocol,pthread_mutexattr_getprotocol pthread_mutexattr_setprioceiling, pthread_mutexattr_getprioceiling, pthread_attr_setscope, pthread_attr_getscope, pthread_attr_setinheritsched, pthread_attr_getinheritsched, Time_Slice_Supported): Copy from s-osinte-freebsd.ads. * gcc-interface/Makefile.in (x86/kfreebsd): Use the POSIX version of the System.Task_Primitives.Operations package. From-SVN: r231333 --- gcc/ada/ChangeLog | 15 +++++ gcc/ada/gcc-interface/Makefile.in | 8 +-- gcc/ada/s-osinte-freebsd.ads | 9 +-- gcc/ada/s-osinte-kfreebsd-gnu.ads | 99 ++++++++++++++++++++++++++++++- 4 files changed, 117 insertions(+), 14 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 237022205cb..a238a4386a3 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,18 @@ +2015-12-06 Ludovic Brenta + + PR ada/49944 + * s-osinte-freebsd.ads: Minor reformatting. + (Stack_Base_Available): Correct comments. + * s-osinte-kfreebsd-gnu.ads (Time_Slice_Supported, nanosleep, + clock_id_t, clock_gettime, Stack_Base_Available, Get_Page_Size, + mprotect, pthread_mutexattr_setprotocol,pthread_mutexattr_getprotocol + pthread_mutexattr_setprioceiling, pthread_mutexattr_getprioceiling, + pthread_attr_setscope, pthread_attr_getscope, + pthread_attr_setinheritsched, pthread_attr_getinheritsched, + Time_Slice_Supported): Copy from s-osinte-freebsd.ads. + * gcc-interface/Makefile.in (x86/kfreebsd): Use the POSIX version of + the System.Task_Primitives.Operations package. + 2015-12-06 Ludovic Brenta PR ada/49940 diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in index 9269048f4ed..c5e6b3013e2 100644 --- a/gcc/ada/gcc-interface/Makefile.in +++ b/gcc/ada/gcc-interface/Makefile.in @@ -1398,9 +1398,7 @@ ifeq ($(strip $(filter-out %86 kfreebsd%,$(target_cpu) $(target_os))),) s-osinte.adb