[Pkg-gnu-smalltalk-devel] Bug#419582: gnu-smalltalk - FTBFS: error: 'prefetch' undeclared (first use in this function)

Thomas Girard thomas.g.girard at free.fr
Mon Apr 16 20:28:18 UTC 2007


Hello Bastian, Paolo,

On Mon, Apr 16, 2007 at 08:50:00PM +0200, Bastian Blank wrote:
> Package: gnu-smalltalk
> Version: 2.3.3-3
> Severity: important
> 
> There was an error while trying to autobuild your package:

> > In file included from interp.c:720:
> > interp-bc.inl: In function '_gst_interpret':
> > interp-bc.inl:483: warning: implicit declaration of function 'BRANCH_REGISTER'
> > interp-bc.inl:483: error: 'prefetch' undeclared (first use in this function)
> > interp-bc.inl:483: error: (Each undeclared identifier is reported only once
> > interp-bc.inl:483: error: for each function it appears in.)
> > In file included from interp-bc.inl:486,
> >                  from interp.c:720:
> > vm.inl:124: warning: ISO C90 forbids mixed declarations and code

It seems to me that md-config.h should be updated around line 135 to
define the BRANCH_REGISTER macro for __s390__.

Unfortunately I lack the knowledge to go further.

Paolo, can you please have a look at this?

Thanks,

Thomas




More information about the Pkg-gnu-smalltalk-devel mailing list