[mercury-users] linux compile oddity

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Mar 11 01:01:28 AEDT 2003


On 08-Mar-2003, Vic Bancroft <bancroft at zvolve.com> wrote:
> 
> I just tried to compile mercury 0.11.0 and ran into a 
> 
>   libs.handle_options.c:7472: internal error: Segmentation fault
>   Please submit a full bug report,
>   with preprocessed source if appropriate.
>   See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

That is a bug in GCC.

> $ gcc --version
> gcc (GCC) 3.2

I suggest you try GCC 3.2.2, and if that doesn't work, report the bug
to the GCC developers.  You can produce preprocessed source
(in the file `libs.handle_options.i') by adding

	EXTRA_CFLAGS = -save-temps

to the Mmake.params file, and adding

	EXTRA_MGNUCFLAGS = -v

will cause mgnuc to print out the exact gcc command before it is invoked.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list