aboutsummaryrefslogtreecommitdiffstats
path: root/etc/PROBLEMS
diff options
context:
space:
mode:
authorPaul Eggert2013-02-24 21:55:37 -0800
committerPaul Eggert2013-02-24 21:55:37 -0800
commit1ddc2bd6ff0b5071454d2591f835927ea5b85a06 (patch)
treedff377164bcc7d9e8a84e0279cee6f9c28e3fcc5 /etc/PROBLEMS
parent82fcf982c39d5ff821bb7d3353ca973e277e1810 (diff)
downloademacs-1ddc2bd6ff0b5071454d2591f835927ea5b85a06.tar.gz
emacs-1ddc2bd6ff0b5071454d2591f835927ea5b85a06.zip
Simplify data_start configuration.
This is a followon simplification to the fix for Bug#13650. * admin/CPP-DEFINES (DATA_START, ORDINARY_LINK): Remove. * configure.ac (CRT_DIR, LIB_STANDARD, START_FILES, DATA_START) (LD_FIRSTFLAG, ORDINARY_LINK, LIB_GCC): Remove. (AC_CHECK_HEADERS_ONCE): Remove sys/resource.h, as it's not always needed. (HAVE_DATA_START): New macro. * etc/PROBLEMS (LIBS_SYSTEM, LIBS_MACHINE, LIBS_STANDARD): Remove. Remove legacy-systems section, as this stuff is no longer applicable with current linking strategies. * src/Makefile.in (LD_FIRSTFLAG, LIB_GCC, CRT_DIR, LIB_STANDARD) (START_FILES): Remove. All uses removed. (otherobj): Remove $(VMLIMIT_OBJ), as it's now first. (ALLOBJS): Move here from autodeps.mk, and with VMLIMITS_OBJ first. (buildobj.h): Use it. ($(ALLOBJS)): Depend on globals.h. (temacs$(EXEEXT)): Use $(ALLOBJS). * src/autodeps.mk (ALLOBJS): Move to Makefile.in. * src/deps.mk (vm-limit.o): * src/makefile.w32-in ($(BLD)/vm-limit.$(O)): Do not depend on mem-limits.h. * src/emacs.c (__do_global_ctors, __do_global_ctors_aux) (__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__) [__GNUC__ && !ORDINARY_LINK]: Remove. * src/mem-limits.h, src/pre-crt0.c: Remove. * src/unexaix.c, src/unexcoff.c: Don't include mem-limits.h. * src/unexcoff.c (etext): New decl. (make_hdr): Use it instead of start_of_data. * src/vm-limit.c: Move most of mem-limits.h's contents here. (data_start): New decl. It's OK if this is approximate, so simplify-away some unnecessary exactness. (POINTER): Remove; all uses removed. (data_space_start): Now char *, to avoid casts. (exceeds_lisp_ptr): New function, replacing the old EXCEEDS_LISP_PTR macro. All uses changed. (check_memory_limits): Simplify and remove casts. (start_of_data) [!CANNOT_DUMP || !SYSTEM_MALLOC]: Remove. (memory_warnings): Use data_start instead of start_of_data. Fixes: debbugs:13783
Diffstat (limited to 'etc/PROBLEMS')
-rw-r--r--etc/PROBLEMS35
1 files changed, 1 insertions, 34 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index 441ad7b4df4..b38a1240540 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -432,21 +432,7 @@ The fix is to install an unshared library that corresponds to what you
432installed in the shared library, and then relink Emacs. 432installed in the shared library, and then relink Emacs.
433 433
434If you have already installed the name resolver in the file libresolv.a, 434If you have already installed the name resolver in the file libresolv.a,
435then you need to compile Emacs to use that library. The easiest way to 435then you need to compile Emacs to use that library.
436do this is to add to config.h a definition of LIBS_SYSTEM, LIBS_MACHINE
437or LIB_STANDARD which uses -lresolv. Watch out! If you redefine a macro
438that is already in use in your configuration to supply some other libraries,
439be careful not to lose the others.
440
441Thus, you could start by adding this to config.h:
442
443#define LIBS_SYSTEM -lresolv
444
445Then if this gives you an error for redefining a macro, and you see that
446config.h already defines LIBS_SYSTEM as -lfoo -lbar at some other point
447(possibly in an included file) you could change it to say this:
448
449#define LIBS_SYSTEM -lresolv -lfoo -lbar
450 436
451*** Emacs does not know your host's fully-qualified domain name. 437*** Emacs does not know your host's fully-qualified domain name.
452 438
@@ -3179,25 +3165,6 @@ as a concentrator.
3179 3165
3180This problem seems to be a matter of configuring the DECserver to use 3166This problem seems to be a matter of configuring the DECserver to use
31817 bit characters rather than 8 bit characters. 31677 bit characters rather than 8 bit characters.
3182
3183* Build problems on legacy systems
3184
3185** SunOS: Emacs gets error message from linker on Sun.
3186
3187If the error message says that a symbol such as `f68881_used' or
3188`ffpa_used' or `start_float' is undefined, this probably indicates
3189that you have compiled some libraries, such as the X libraries,
3190with a floating point option other than the default.
3191
3192It's not terribly hard to make this work with small changes in
3193crt0.c together with linking with Fcrt1.o, Wcrt1.o or Mcrt1.o.
3194However, the easiest approach is to build Xlib with the default
3195floating point option: -fsoft.
3196
3197** HPUX 10.20: Emacs crashes during dumping on the HPPA machine.
3198
3199This seems to be due to a GCC bug; it is fixed in GCC 2.8.1.
3200
3201 3168
3202This file is part of GNU Emacs. 3169This file is part of GNU Emacs.
3203 3170