>>>> On 04 Jan 2002 11:19:11 +0900, "Stephen J.
Turnbull" <stephen(a)xemacs.org> said:
>>>> "Thomas" == Thomas Kosch
<t.kosch(a)cyvermail.de> writes:
Thomas> I have littel problem to start an
self-compiled
Thomas> xemacs. Without '--ldflags=-s -znocombreloc' Xemacs crashs on
Thomas> start.
Stephen> This is no problem, it's a feature. Of GNU ld.
Stephen> ld now rearranges reloc sections of (ie, trashes) the dumped
Stephen> xemacs by default. -znocombreloc is necessary for all
Stephen> unexec'd applications (XEmacs and GNU Emacs are the only
Stephen> ones I know of). You can also use --pdump.
Stephen> I don't know what the -s does, but the -znocombreloc is
Stephen> autoconfiscated. You should not see this behavior in
Stephen> 21.4.6, nor in
Stephen> Please send your Installation file and config.log output so
Stephen> we can figure out what went wrong.
The autoconf stuff doesn't seem to work on powerpc. It's
compiler/binutils suite stuff still seems to be different than the
went. Also included is a patch that fixes a problem with athena
widget sensing. Not sure why this doesn't work by default (this is
all on debian)
2002-01-07 James LewisMoss <dres(a)debian.org>
* configure.in (XE_COMPUTE_RUNPATH): Change nocombeloc arg from
"-z nocombreloc" to "-Xlinker -znocombreloc"
--- xemacs21-21.4.6.orig/configure.in
+++ xemacs21-21.4.6/configure.in
@@ -348,7 +348,7 @@
with_site_modules='yes'
with_menubars=''
with_scrollbars=''
-with_widgets=''
+with_widgets='athena'
with_dialogs=''
with_file_coding=''
cpp='' cppflags='' libs='' ldflags=''
@@ -2526,10 +2526,10 @@
dnl #### Should make this Solaris-friendly.
dnl Link with -z nocombreloc for now.
if test "$pdump" != "yes"; then
- AC_MSG_CHECKING(for \"-z nocombreloc\" linker flag)
+ AC_MSG_CHECKING(for \"-Xlinker -znocombreloc\" linker flag)
case "`ld --help 2>&1`" in
*-z\ nocombreloc* ) AC_MSG_RESULT(yes)
- XE_PREPEND(-z nocombreloc, ld_switch_site) ;;
+ XE_PREPEND(-Xlinker -znocombreloc, ld_switch_site) ;;
*) AC_MSG_RESULT(no) ;;
esac
fi
@@ -4859,7 +4859,7 @@
echo " Relocating allocator for buffers: $rel_alloc"
echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}"
case "$ld_switch_site" in
- *nocombreloc*) echo " Linking with \`-z nocombreloc'.
+ *nocombreloc*) echo " Linking with \`-Xlinker -znocombreloc'.
- Consider configuring with --pdump." ;;
esac
--
@James LewisMoss <dres(a)debian.org> | Blessed Be!
@
http://jimdres.home.mindspring.com | Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach