Mercurial > hg > xemacs-beta
comparison PROBLEMS @ 5125:b5df3737028a ben-lisp-object
merge
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Wed, 24 Feb 2010 01:58:04 -0600 |
parents | 1a9c94ba117c |
children | 388762703a21 |
comparison
equal
deleted
inserted
replaced
5124:623d57b7fbe8 | 5125:b5df3737028a |
---|---|
58 and xorg-x11-xbitmaps (Fedora Core 5). | 58 and xorg-x11-xbitmaps (Fedora Core 5). |
59 | 59 |
60 *** How do I configure to get the buffer tabs/progress bars? | 60 *** How do I configure to get the buffer tabs/progress bars? |
61 | 61 |
62 These features depend on support for "native widgets". Use the | 62 These features depend on support for "native widgets". Use the |
63 --enable-widgets option to configure. Configuration of widgets is | 63 --with-widgets option to configure. Configuration of widgets is |
64 automatic for "modern" toolkits (MS Windows, GTK, and Motif), but if | 64 automatic for "modern" toolkits (MS Windows, GTK, and Motif), but if |
65 you are using Xt and the Athena widgets, you will probably want to | 65 you are using Xt and the Athena widgets, you will probably want to |
66 specify a "3d" widget set. See configure --usage, and don't forget to | 66 specify a "3d" widget set. See configure --usage, and don't forget to |
67 install the corresponding development libraries. | 67 install the corresponding development libraries. |
68 | 68 |
299 *** Motif dialog boxes lose on Irix. | 299 *** Motif dialog boxes lose on Irix. |
300 | 300 |
301 Larry Auton <lda@control.att.com> writes: | 301 Larry Auton <lda@control.att.com> writes: |
302 Beware of not specifying | 302 Beware of not specifying |
303 | 303 |
304 --enable-dialogs=athena | 304 --with-dialogs=athena |
305 | 305 |
306 if it builds with the motif dialogs [boom!] you're a dead man. | 306 if it builds with the motif dialogs [boom!] you're a dead man. |
307 | 307 |
308 | 308 |
309 ** AIX | 309 ** AIX |
322 | 322 |
323 (For the record, the same issue affects a number of other functions | 323 (For the record, the same issue affects a number of other functions |
324 defined in string.h - basically anything the compiler knows how to | 324 defined in string.h - basically anything the compiler knows how to |
325 inline.) | 325 inline.) |
326 | 326 |
327 *** On AIX 4.3, you must specify --enable-dialogs=athena with configure | 327 *** On AIX 4.3, you must specify --with-dialogs=athena with configure |
328 | 328 |
329 *** The libXt shipped with AIX 4.3 up to 4.3.2 is broken. This causes | 329 *** The libXt shipped with AIX 4.3 up to 4.3.2 is broken. This causes |
330 xemacs -nw to fail in various ways. The official APAR is this: | 330 xemacs -nw to fail in various ways. The official APAR is this: |
331 | 331 |
332 APAR NUMBER: <IX89470> RESOLVED AS: PROGRAM ERROR | 332 APAR NUMBER: <IX89470> RESOLVED AS: PROGRAM ERROR |
390 1879048176 | 390 1879048176 |
391 | 391 |
392 are caused by using GNU ld. There are several workarounds available: | 392 are caused by using GNU ld. There are several workarounds available: |
393 | 393 |
394 In XEmacs 21.2 or later, configure using the new portable dumper | 394 In XEmacs 21.2 or later, configure using the new portable dumper |
395 (--enable-pdump). | 395 (--with-pdump). |
396 | 396 |
397 Alternatively, you can link using the Sun version of ld, which is | 397 Alternatively, you can link using the Sun version of ld, which is |
398 normally held in /usr/ccs/bin. This can be done by one of: | 398 normally held in /usr/ccs/bin. This can be done by one of: |
399 | 399 |
400 - building gcc with these configure flags: | 400 - building gcc with these configure flags: |
557 sort of thing to you with little or no clue what's wrong (often you | 557 sort of thing to you with little or no clue what's wrong (often you |
558 get screwed when one routine does an malloc(sizeof(foo_struct)) and | 558 get screwed when one routine does an malloc(sizeof(foo_struct)) and |
559 passes the result to something that things foo_struct is a bit bigger, | 559 passes the result to something that things foo_struct is a bit bigger, |
560 trashing memory.... | 560 trashing memory.... |
561 | 561 |
562 Here's typical crash backtrace. With --enable-pdump, this occurs | 562 Here's typical crash backtrace. With --with-pdump, this occurs |
563 usually at startup under X windows and xemacs -nw at least starts, while | 563 usually at startup under X windows and xemacs -nw at least starts, while |
564 without --pdump a similar crash is observed during build. | 564 without --pdump a similar crash is observed during build. |
565 | 565 |
566 #0 0x0fa460b8 in kill () at regcomp.c:637 | 566 #0 0x0fa460b8 in kill () at regcomp.c:637 |
567 637 regcomp.c: No such file or directory. | 567 637 regcomp.c: No such file or directory. |
580 | 580 |
581 *** On Irix 6.5, the MIPSpro compiler gets an internal compiler error | 581 *** On Irix 6.5, the MIPSpro compiler gets an internal compiler error |
582 | 582 |
583 The MIPSpro Compiler (at least version 7.2.1) can't seem to handle the | 583 The MIPSpro Compiler (at least version 7.2.1) can't seem to handle the |
584 union type properly, and fails to compile src/glyphs.c. To avoid this | 584 union type properly, and fails to compile src/glyphs.c. To avoid this |
585 problem, always build --enable-union-type=no (but that's the default, so | 585 problem, always build --with-union-type=no (but that's the default, so |
586 you should only see this problem if you're an XEmacs maintainer). | 586 you should only see this problem if you're an XEmacs maintainer). |
587 | 587 |
588 *** Linking with -rpath on IRIX. | 588 *** Linking with -rpath on IRIX. |
589 | 589 |
590 Darrell Kindred <dkindred@cmu.edu> writes: | 590 Darrell Kindred <dkindred@cmu.edu> writes: |
709 configuration for COFF with: | 709 configuration for COFF with: |
710 | 710 |
711 /path_to_xemacs_source/configure --with-gcc=no \ | 711 /path_to_xemacs_source/configure --with-gcc=no \ |
712 --with-site-includes=/usr/local/include \ | 712 --with-site-includes=/usr/local/include \ |
713 --with-site-libraries=/usr/local/lib \ | 713 --with-site-libraries=/usr/local/lib \ |
714 --with-xpm --with-xface --enable-sound=nas | 714 --with-xpm --with-xface --with-sound=nas |
715 | 715 |
716 This version now supports ELF builds. I highly recommend this to | 716 This version now supports ELF builds. I highly recommend this to |
717 reduce the in-core footprint of XEmacs. This is now how I compile | 717 reduce the in-core footprint of XEmacs. This is now how I compile |
718 all my test releases. Build it like this: | 718 all my test releases. Build it like this: |
719 | 719 |
720 /path_to_XEmacs_source/configure --with-gcc=no \ | 720 /path_to_XEmacs_source/configure --with-gcc=no \ |
721 --with-site-includes=/usr/local/include | 721 --with-site-includes=/usr/local/include |
722 --with-site-libraries=/usr/local/lib \ | 722 --with-site-libraries=/usr/local/lib \ |
723 --with-xpm --with-xface --enable-sound=nas --with-dynamic | 723 --with-xpm --with-xface --with-sound=nas --with-dynamic |
724 | 724 |
725 The compiler known as icc [ supplied with the OpenServer 5 Development | 725 The compiler known as icc [ supplied with the OpenServer 5 Development |
726 System ] generates a working binary, but it takes forever to generate | 726 System ] generates a working binary, but it takes forever to generate |
727 XEmacs. ICC also whines more about the code than /bin/cc does. I do | 727 XEmacs. ICC also whines more about the code than /bin/cc does. I do |
728 believe all its whining is legitimate, however. Note that you do | 728 believe all its whining is legitimate, however. Note that you do |
731 The way I handle the build procedure is: | 731 The way I handle the build procedure is: |
732 | 732 |
733 /path_to_XEmacs_source/configure --with-gcc=no \ | 733 /path_to_XEmacs_source/configure --with-gcc=no \ |
734 --with-site-includes=/usr/local/include \ | 734 --with-site-includes=/usr/local/include \ |
735 --with-site-libraries=/usr/local/lib \ | 735 --with-site-libraries=/usr/local/lib \ |
736 --with-xpm --with-xface --enable-sound=nas --with-dynamic \ | 736 --with-xpm --with-xface --with-sound=nas --with-dynamic \ |
737 --with-compiler="icc" | 737 --with-compiler="icc" |
738 | 738 |
739 NOTE I have the xpm, xface, and audio libraries and includes in | 739 NOTE I have the xpm, xface, and audio libraries and includes in |
740 /usr/local/lib, /usr/local/include. If you don't have these, | 740 /usr/local/lib, /usr/local/include. If you don't have these, |
741 don't include the "--with-*" arguments in any of my examples. | 741 don't include the "--with-*" arguments in any of my examples. |
799 | 799 |
800 See also Intel Architecture General, above. | 800 See also Intel Architecture General, above. |
801 | 801 |
802 *** Signal 11 when building or running a dumped XEmacs. | 802 *** Signal 11 when building or running a dumped XEmacs. |
803 | 803 |
804 Possibility #1: | |
805 | |
804 This appears to happen when using the traditional dumping mechanism and | 806 This appears to happen when using the traditional dumping mechanism and |
805 the system malloc. Andy Piper writes: | 807 the system malloc. Andy Piper writes: |
806 | 808 |
807 Traditional dumping on Cygwin relies on using gmalloc (there are specific | 809 Traditional dumping on Cygwin relies on using gmalloc (there are specific |
808 hacks in our version of gmalloc to support this), I suspect using sysmalloc | 810 hacks in our version of gmalloc to support this), I suspect using sysmalloc |
809 is the problem. | 811 is the problem. |
810 | 812 |
811 Try configuring with pdump or without system malloc. | 813 Try configuring with pdump or without system malloc. |
814 | |
815 Possibility #2: | |
816 | |
817 Crashes when running a dumped XEmacs 21.5.29 have been observed circa | |
818 January, 2010 in Cygwin 1.7 when configuring with C++, NEWGC and optimization | |
819 (i.e. `--with-compiler=gcc --with-xemacs-compiler=g++ --with-mc-alloc | |
820 --with-optimization'). Turning any one of these off produces a working build. | |
812 | 821 |
813 *** Syntax errors running configure scripts, make failing with exit code 127 | 822 *** Syntax errors running configure scripts, make failing with exit code 127 |
814 in inexplicable situations, etc. | 823 in inexplicable situations, etc. |
815 | 824 |
816 [[ This may be because you are using the default Cygwin shell, under old | 825 [[ This may be because you are using the default Cygwin shell, under old |
1392 | 1401 |
1393 *** When I try to use the PostgreSQL functions, I get a message about | 1402 *** When I try to use the PostgreSQL functions, I get a message about |
1394 undefined symbols. | 1403 undefined symbols. |
1395 | 1404 |
1396 The only known case in which this happens is if you are using gcc, you | 1405 The only known case in which this happens is if you are using gcc, you |
1397 configured with --enable-error-checking=all and --enable-modules, and | 1406 configured with --with-error-checking=all and --with-modules, and |
1398 you compiled with no optimization. If you encounter this problem in any | 1407 you compiled with no optimization. If you encounter this problem in any |
1399 other situation, please inform xemacs-beta@xemacs.org. | 1408 other situation, please inform xemacs-beta@xemacs.org. |
1400 | 1409 |
1401 This problem stems from a gcc bug. With no optimization, functions | 1410 This problem stems from a gcc bug. With no optimization, functions |
1402 declared `extern inline' sometimes are not completely compiled away. An | 1411 declared `extern inline' sometimes are not completely compiled away. An |
1645 | 1654 |
1646 somewhere near the top. The problem is due to an improvement in GNU ld | 1655 somewhere near the top. The problem is due to an improvement in GNU ld |
1647 that sorts the ELF reloc sections in the executable, giving dramatic | 1656 that sorts the ELF reloc sections in the executable, giving dramatic |
1648 speedups in startup for large executables. It also confuses the | 1657 speedups in startup for large executables. It also confuses the |
1649 traditional unexec code in XEmacs, leading to the core dump. The | 1658 traditional unexec code in XEmacs, leading to the core dump. The |
1650 solution is to use the --enable-pdump or --with-ldflags='-z nocombreloc' | 1659 solution is to use the --with-pdump or --with-ldflags='-z nocombreloc' |
1651 options to configure. Recent 21.4 and 12.5 autodetect this in | 1660 options to configure. Recent 21.4 and 12.5 autodetect this in |
1652 configure. | 1661 configure. |
1653 | 1662 |
1654 Red Hat and SuSE (at least) distributed a prerelease version of ld | 1663 Red Hat and SuSE (at least) distributed a prerelease version of ld |
1655 (versions around 2.11.90.x.y) where autodetection is impossible. The | 1664 (versions around 2.11.90.x.y) where autodetection is impossible. The |
1656 recommended procedure is to upgrade to binutils >= 2.12 and rerun | 1665 recommended procedure is to upgrade to binutils >= 2.12 and rerun |
1657 configure. Otherwise you must apply the flags by hand. --enable-pdump | 1666 configure. Otherwise you must apply the flags by hand. --with-pdump |
1658 is recommended. | 1667 is recommended. |
1659 | 1668 |
1660 *** I want XEmacs to use the Alt key, not the XXX key, for Meta commands | 1669 *** I want XEmacs to use the Alt key, not the XXX key, for Meta commands |
1661 | 1670 |
1662 For historical reasons, XEmacs looks for a Meta key, then an Alt key. | 1671 For historical reasons, XEmacs looks for a Meta key, then an Alt key. |