[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error while bootstrapping GNU Emacs 22.1.50

From: Peter Dyballa
Subject: Re: Error while bootstrapping GNU Emacs 22.1.50
Date: Sun, 29 Jul 2007 22:38:43 +0200

Am 29.07.2007 um 05:11 schrieb Eli Zaretskii:

I'll try GCC 4.2 in the morning, then hardware test.

Yes, a good plan, IMO.  Since `sqrt' is inlined by GCC, it could well
be a compiler bug.  I believe there's a switch to disable this
inlining, so perhaps that's also something to try.

In order to compile GNU Emacs with GCC 4.2 I had to patch configure (and configure.in) to not set CPP to "${CC-cc} -E -no-cpp-precomp" (- no-cpp-precomp is an Apple addition that is not right now implemented, or will never be?) and to patch src/s/darwin.h to not define C_SWITCH_SYSTEM to '-fpascal-strings -DMAC_OSX' (-fpascal- strings is another Apple add-on). It compiled OK three times with different levels of optimisation. Then I was encouraged to retry with GCC 4.0 – and it compiled, as well! I made changes to the compiler switches and to the level of optimisation – it still compiled OK.

I cannot recall how the faulty compilation was configured (the config.log was not saved), I just remember that there was something phony in the *compilation* buffer due to re-configuration, but this would have to mean that config.status was patched somehow during CVS update or such ... (too bad that machine is not built into Tiger!)

Launching new Emacs as src/emacs I get a warning:

Warning (initialization): Building Emacs overflowed pure space. (See the node Pure Storage in the Lisp manual for details.)

Setting SYSTEM_PURESIZE_EXTRA to 1000 solved this issue.

Another strange effect becomes visible:

Warning: desktop file appears to be in use by PID 26912. Using it may cause conflicts. Use it anyway? (y or n)

or such appears in echo area for the tenth of a second, or less, and is then replaced with a

        Loading cal-bahai...done

so I can't answer the question. Using -q or -Q at emacs invocation time can't work, because then no desktop file would be used. In "normal" use of GNU Emacs, i.e. launching it off /usr/local/bin, the init files are respected and no religious calendar is loaded ...



The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!" (I found it!) but "That's funny..."
                                      Isaac Asimov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]