Re: [AD] 4.2.1

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2006-11-26, Elias Pschernig <elias@xxxxxxxxxx> wrote:
> On Sun, 2006-11-26 at 12:52 +1100, Peter Wang wrote:
> > On 2006-11-24, Peter Wang <tjaden@xxxxxxxxxx> wrote:
> > > 
> > > I tried compiling Allegro 4.2 SVN on Solaris, and there were a bunch of
> > > problems with the mprotect() stuff.  It seems the proper way to get the
> > > memory page size is using sysconf(_SC_PAGESIZE) instead of the PAGE_SIZE
> > > macro (even on Linux).  A quick patch follows (it's got some minor fixes to 
> > > _unix_get_executable_name() intermingled in it).
> > > Note I didn't actually test that the compiled programs work on Solaris,
> > > as I did it remotely.
> > 
> > Forgot to attach :-P  I've committed it.
> > 
> 
> Nice, this fixed it on the compile farm also:
> 
> http://alleg.sf.net/compilefarm/x86-freebsd1.txt
> http://alleg.sf.net/compilefarm/x86-openbsd1.txt
> 
> Heh, and on the openbsd box they have a funny gcc which warns about the
> use of some libc functions. (netbsd results didn't change, SF has a
> broken pthreads installation there)

Great, thanks!  Could we set this up to be automated or really, really
easily checked?  I think you said you had a script: you could put it
into allegro/misc so it's easy to find.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/