Re: Bug#811063: gcc-6: FTBFS on kfreebsd-amd64 and kfreebsd-i386

2016-01-18 Thread Matthias Klose

On 18.01.2016 13:34, Svante Signell wrote:

This file is for GNU/Hurd, the kFreeBSD file to patch is src/gcc/ada/s-osinte-
kfreebsd-gnu.ads.


my bad. now applied.



Re: Bug#811063: gcc-6: FTBFS on kfreebsd-amd64 and kfreebsd-i386

2016-01-18 Thread Svante Signell
Hi Matthias, et al.

On Mon, 2016-01-18 at 12:56 +0100, Matthias Klose wrote:
> clone 811063 -1
> reopen -1
> retitle -1 gcc-6: FTBFS on kfreebsd-amd64 and kfreebsd-i386
> thanks
> 
> Steven, please could you have a look at upstreaming the kfreebsd patches?
> 
> On 17.01.2016 21:42, Steven Chamberlain wrote:
> > Hi,
> > 
> > Svante Signell wrote:
> > > I think the same patch applies to the kfreebsd-* builds as well. Adding
> > > the
> > > kfreebsd usertag to this bug.
> > 
> > Thank you very much, Svante!  The attached inter-diff against
> > ada-kfreebsd.diff fixes this for kfreebsd also.
> 
> I fixed that directly in the ada-s-osinte-gnu.ads.diff patch. However still 
> ftbfs with:

This file is for GNU/Hurd, the kFreeBSD file to patch is src/gcc/ada/s-osinte-
kfreebsd-gnu.ads.

HTH



Re: Bug#811063: gcc-6: FTBFS on kfreebsd-amd64 and kfreebsd-i386

2016-01-17 Thread Steven Chamberlain
Hi,

Svante Signell wrote:
> I think the same patch applies to the kfreebsd-* builds as well. Adding the
> kfreebsd usertag to this bug.

Thank you very much, Svante!  The attached inter-diff against
ada-kfreebsd.diff fixes this for kfreebsd also.

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org
--- debian/patches/ada-kfreebsd.diff.orig	2016-01-16 23:04:12.0 +
+++ debian/patches/ada-kfreebsd.diff	2016-01-17 03:03:11.705211634 +
@@ -234,7 +234,17 @@
 function To_Duration (TS : timespec) return Duration;
 pragma Inline (To_Duration);
  
-@@ -437,31 +441,25 @@ package System.OS_Interface is
+@@ -330,8 +334,7 @@ package System.OS_Interface is
+--  returns the stack base of the specified thread. Only call this function
+--  when Stack_Base_Available is True.
+ 
+-   function Get_Page_Size return size_t;
+-   function Get_Page_Size return Address;
++   function Get_Page_Size return int;
+pragma Import (C, Get_Page_Size, "getpagesize");
+--  Returns the size of a page
+ 
+@@ -437,31 +440,25 @@ package System.OS_Interface is
 PTHREAD_PRIO_PROTECT : constant := 2;
 PTHREAD_PRIO_INHERIT : constant := 1;
  
@@ -270,7 +280,7 @@
  
 type struct_sched_param is record
sched_priority : int;  --  scheduling priority
-@@ -588,8 +586,8 @@ private
+@@ -588,8 +585,8 @@ private
 --  #define sa_handler __sigaction_u._handler
 --  #define sa_sigaction __sigaction_u._sigaction
  
@@ -281,7 +291,7 @@
 --  sigcontext type is opaque, so it is architecturally neutral.
 --  It is always passed as an access type, so define it as an empty record
 --  since the contents are not used anywhere.
-@@ -606,9 +604,6 @@ private
+@@ -606,9 +603,6 @@ private
 end record;
 pragma Convention (C, timespec);
  


signature.asc
Description: Digital signature