Re: Compile problem with setjmp fix

2003-02-21 Thread Keith Packard
Around 22 o'clock on Feb 21, David Dawes wrote: > The '#pragma weak' was only used as a short cut. To be more portable, > dummy functions that FatalError() would be provided in the case where > the incorrect one for the OS gets called. Ok. I don't pretend to understand mystic GCC #pragmas well

Re: Compile problem with setjmp fix

2003-02-21 Thread Marc Aurele La France
On Fri, 21 Feb 2003, David Dawes wrote: > >> >Just another data point: libGLU compilation on such systems fails also. > >> libGLU builds OK on the RH 6.2 system I've been looking into this with. > >> It does do some things with setjmp (using inlined functions). > >How? I have been unable to ge

Re: Compile problem with setjmp fix

2003-02-21 Thread David Dawes
On Fri, Feb 21, 2003 at 07:18:37PM -0800, Keith Packard wrote: > >Around 17 o'clock on Feb 21, David Dawes wrote: > >> The attached patch attempts to implement the second approach, and from >> some limited testing it works OK for the two cases handled so far (where >> setjmp is available directly a

Re: Compile problem with setjmp fix

2003-02-21 Thread Keith Packard
Around 17 o'clock on Feb 21, David Dawes wrote: > The attached patch attempts to implement the second approach, and from > some limited testing it works OK for the two cases handled so far (where > setjmp is available directly as a function, and the glibc 2.[01] case > where it's a macro defined

Re: Compile problem with setjmp fix

2003-02-21 Thread David Dawes
On Fri, Feb 21, 2003 at 03:35:35PM -0700, Marc Aurele La France wrote: >On Fri, 21 Feb 2003, David Dawes wrote: > >> >> >The setjmp/longjmp fix in >> >> > xc/programs/Xserver/hw/xfree86/loader/xf86sym.c >> >> >and xc/programs/Xserver/hw/xfree86/xf86cfg/loadmod.c >> >> >doesn't compile in >> >>

Re: Compile problem with setjmp fix

2003-02-21 Thread Mike A. Harris
On Fri, 21 Feb 2003, David Dawes wrote: >>> 1. Include directly into modules that need it, ensure that the >>> necessary (platform-specific) entry points are exported, and accept that >>> modules that use it are not OS-neutral. >> >>> 2. Provide aliases for the actual functions uses

Re: Compile problem with setjmp fix

2003-02-21 Thread Marc Aurele La France
On Fri, 21 Feb 2003, David Dawes wrote: > >> >The setjmp/longjmp fix in > >> > xc/programs/Xserver/hw/xfree86/loader/xf86sym.c > >> >and xc/programs/Xserver/hw/xfree86/xf86cfg/loadmod.c > >> >doesn't compile in > >> > RedHat 6.2 egcs-2.91.66 > >> >It works fine with > >> > Red Hat 7

Re: Compile problem with setjmp fix

2003-02-21 Thread David Dawes
On Fri, Feb 21, 2003 at 11:00:03AM -0700, Marc Aurele La France wrote: >On Fri, 21 Feb 2003, David Dawes wrote: > >> On Fri, Feb 21, 2003 at 01:19:08PM +, Dr Andrew C Aitchison wrote: >> >The setjmp/longjmp fix in >> >xc/programs/Xserver/hw/xfree86/loader/xf86sym.c >> >and xc/programs/Xserv

Re: Compile problem with setjmp fix

2003-02-21 Thread David Dawes
On Fri, Feb 21, 2003 at 11:55:41AM -0500, David Dawes wrote: >On Fri, Feb 21, 2003 at 01:19:08PM +, Dr Andrew C Aitchison wrote: >>The setjmp/longjmp fix in >> xc/programs/Xserver/hw/xfree86/loader/xf86sym.c >>and xc/programs/Xserver/hw/xfree86/xf86cfg/loadmod.c >>doesn't compile in >>

Re: Compile problem with setjmp fix

2003-02-21 Thread Marc Aurele La France
On Fri, 21 Feb 2003, David Dawes wrote: > On Fri, Feb 21, 2003 at 01:19:08PM +, Dr Andrew C Aitchison wrote: > >The setjmp/longjmp fix in > > xc/programs/Xserver/hw/xfree86/loader/xf86sym.c > >and xc/programs/Xserver/hw/xfree86/xf86cfg/loadmod.c > >doesn't compile in > > RedHat 6.2

Re: Compile problem with setjmp fix

2003-02-21 Thread David Dawes
On Fri, Feb 21, 2003 at 01:19:08PM +, Dr Andrew C Aitchison wrote: >The setjmp/longjmp fix in > xc/programs/Xserver/hw/xfree86/loader/xf86sym.c >andxc/programs/Xserver/hw/xfree86/xf86cfg/loadmod.c >doesn't compile in > RedHat 6.2 egcs-2.91.66 > >It works fine with > R

Compile problem with setjmp fix

2003-02-21 Thread Dr Andrew C Aitchison
The setjmp/longjmp fix in xc/programs/Xserver/hw/xfree86/loader/xf86sym.c and xc/programs/Xserver/hw/xfree86/xf86cfg/loadmod.c doesn't compile in RedHat 6.2 egcs-2.91.66 It works fine with Red Hat 7.3 gcc 2.96 and Red Hat 8.0 gcc (GCC) 3.2 20020903