Issue279

classification
Title configure should not pass -mthreads to gcc on AIX
Type defect Module core build
Severity inconvenience Platform other cpu, unix
Keywords Nosy List stephen
explanation
process
These controls should only be changed by committers and tracker administrators.
Status assigned   Reason
Superseder   Submitted 2008-02-03.13:19:12
Priority normal   Assigned To

Created on 2008-02-03.23:59:38 by stephen, last changed 2009-02-28.07:04:08 by stephen.

Messages
msg514 [hidden] ([hidden]) Date: 2008-02-04.00:17:54
  Message-ID: <47A1CE3E.6080805@cadenas.de>
Stephen,

> I would appreciate it if you would update to the most recent version
> (if you don't have a Mercurial workspace yet, install Mercurial, then

Done! And it comes up, even though I had to set
 EMACSLATEPACKAGES=/usr/local/lib/xemacs
so that it would pick up my package path.

I also had to change configure to use -pthread instead -mthreads:

*** configure.orig      2008-01-31 10:42:27.000000000 +0100
--- configure   2008-01-31 12:23:12.000000000 +0100
***************
*** 19587,19594 ****

      if test "$unexec" = "unexaix.o" -a "$x11_release" = "6"; then
          if test "$GCC" = "yes"; then
!       X_CFLAGS="-mthreads $X_CFLAGS" &&  if test "$verbose" = "yes"; 
then echo "    Prepending \"-mthreads\" to \$X_CFLAGS"; fi
!       libs_x="-mthreads $libs_x" &&  if test "$verbose" = "yes"; then 
echo "    Prepending \"-mthreads\" to \$libs_x"; fi
      else
        case "$CC" in
          "xlc" ) CC="xlc_r" ;;
--- 19587,19594 ----

      if test "$unexec" = "unexaix.o" -a "$x11_release" = "6"; then
          if test "$GCC" = "yes"; then
!       X_CFLAGS="-pthread $X_CFLAGS" &&  if test "$verbose" = "yes"; 
then echo "    Prepending \"-pthread\" to \$X_CFLAGS"; fi
!       libs_x="-pthread $libs_x" &&  if test "$verbose" = "yes"; then 
echo "    Prepending \"-pthread\" to \$libs_x"; fi
      else
        case "$CC" in
          "xlc" ) CC="xlc_r" ;;

Stephen J. Turnbull schrieb:
> Thomas Mittelstaedt writes:
>
>  > This happens sometimes, especially with (generated) Makefiles. When I 
>  > try undo, xemacs tells me that there is no undo information.
>  > When I reload the buffer, I can't see any visible changes.
>  > What could that be?
>
> There was a bug that setting the buffer's coding system set the
> modified flag, resulting in similar behavior.  This would be very
> noticable after reverting a buffer.  Why this would happen for
> generated Makefiles, I'm not sure.  Do you revert them often?  The bug
> I'm referring to was fixed after the release of 21.5.28.
>
> I would appreciate it if you would update to the most recent version
> (if you don't have a Mercurial workspace yet, install Mercurial, then
>
>     hg clone http://hg.debian.org/hg/xemacs/xemacs
>
> should do the trick).  From your description it might be a different
> bug, though probably related.
>
> Also, even for something as simple as this it helps to use M-x
> report-xemacs-bug, since that will tell us whether the bug should be
> fixed in the version you are using.  Don't worry about our bandwidth,
> and we appreciate you taking the extra effort if it means cutting and
> pasting into T-bird or something like that.
>
>
>
>
>
>
>   

_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta@xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
History
Date User Action Args
2009-02-28 07:04:08stephensetstatus: chatting -> assigned
2008-02-04 04:44:16stephensetpriority: normal
assignedto: stephen
platform: + other cpu, unix
severity: inconvenience
title: 21.5-b28 strange behaviour: buffer modification flag set, even though I can't remember having changed anything, patch for configure on aix -> configure should not pass -mthreads to gcc on AIX
nosy: + stephen
type: defect
module: + core build
2008-02-04 04:42:19stephensetmessages: - msg512
2008-02-04 00:17:54T.Mittelstaedt1setstatus: new -> chatting
messages: + msg514
title: 21.5-b28 strange behaviour: buffer modification flag set, even though I can't remember having changed anything -> 21.5-b28 strange behaviour: buffer modification flag set, even though I can't remember having changed anything, patch for configure on aix
2008-02-03 23:59:38stephencreate