[m-dev.] [reuse] diff: fix gcc problems

Peter Ross peter.ross at miscrit.be
Wed Feb 28 03:34:03 AEDT 2001


On Wed, Feb 28, 2001 at 03:25:33AM +1100, Fergus Henderson wrote:
> On 27-Feb-2001, Peter Ross <Peter.Ross at cs.kuleuven.ac.be> wrote:
> > runtime/mercury.h:
> >     Don't use __builtin_{set,lng}jmp for versions of gcc less the gcc
> >     2.8.*.  Note this needs to be tested with a 2.8.*, compiler to see
> >     if the version needs to be even higher.
> 
> If this change is really needed on the reuse branch, then it is
> probably needed on the main and release branches too.
> 
I was hoping to investigate the problem further on another machine with
gcc 2.7.* installed to see if it was just something screwy with my setup
or a genuine problem.

> Which version of gcc did you have a problem with?
> What was the problem symptom?
> 
> It seems to work fine for me using gcc-2.7.2.3 on i586-pc-linux-gnu.
> 
gcc-2.7.2.3 on a i686-pc-linux-gnu (Debian 2.1) and the symptom was at
link time __builtin_setjmp and __builtin_longjmp were undefined symbols.

Were you compiling in the hlc.gc grade?

Pete
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list