[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building gnat-4.9 on kfreebsd/Debian



On Mon, 2014-02-10 at 17:18 +0100, Xavier Grave wrote:
> On Mon, 10 Feb 2014 16:06:50 +0100, Xavier Grave wrote:
> > On Mon, 10 Feb 2014 14:01:16 +0000, Brian Drummond wrote:
> >> On Mon, 2014-02-10 at 14:51 +0100, Xavier Grave wrote:
> >>> Hi everybody,
> >>>
> >>> I get this strange error during a build of gnat-4.9
> >>>
> >>> build/genhooks -d \
> >>>                          ../../src/gcc/doc/tm.texi.in > tmp-tm.texi
> >>> genhooks: No place specified to document hook TARGET_ASM_OPEN_PAREN
> >>>
> >>> make[5]: *** [s-tm-texi] Error 1
> >>> make[5]: *** Waiting for unfinished jobs....
> >>> rm gfdl.pod cpp.pod fsf-funding.pod gcov.pod gcc.pod
> >>> make[5]: Leaving directory
> >>> `/home/xavier/gnat-lab/org.debian.gnat-4.9/build/gcc'
> >>> make[4]: *** [all-stage1-gcc] Error 2
> >>>
> >>> my google search isn't very successful for the moment, if anybody 
> >>> have
> >>> any idea...
> >>
> >> Possibly relevant?
> >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666162#25
> >
> > Thanks Brian, I have already found it and indeed this patch seems to
> > be applied.
> >
> > By the way it seems I had a have done a mistake in my patching
> > session (I should sleep more :) ) and now
> > the build crash after a nice :
> >
> > /home/xavier/gnat-lab/org.debian.gnat-4.9/build/./gcc/xgcc
> > -B/home/xavier/gnat-lab/org.debian.gnat-4.9/build/./gcc/ -c -g -O2  
> > -W
> > -Wall -gnatpg -nostdinc  s-proinf.adb -o s-proinf.o
> > s-osinte.adb:155:35: expected type "System.Os_Interface.time_t"
> > s-osinte.adb:155:35: found type "Interfaces.C.long"
> >
> > I have patched the s-osinte-kfreebsd-gnu.adb, we shall see :)
> 
> revision of 435ea9aef43a15f7336145919bd1bdc9a5f4937f 
> org.debian.gnat-4.9 compile under kFreeBSD/Debian using gnat-4.6
> it seems fixing s-osinte-kfreebsd-gnu.adb was enough

Hi, where can I download it? It might be worth the effort to make it
compile on Debian GNU/Hurd too.

Thanks!


Reply to: