unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13427: 24.2.92; does not compile in 32-bit --with-wide-int on intel Mac OS X 10.6.8 (Snow Leopard)
@ 2013-01-13 15:14 Peter Dyballa
       [not found] ` <handler.13427.B.13580903149773.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Dyballa @ 2013-01-13 15:14 UTC (permalink / raw)
  To: 13427

Hello!

Configuring like this in 64-bit for the X11, Mac/AppKit, and NS variants leads to a working GNU Emacsen:

	In GNU Emacs 24.2.92.1 (x86_64-apple-darwin10.8.0, X toolkit, Xaw3d scroll bars)
	 of 2013-01-12 on Sumac.local
	Windowing system distributor `The X.Org Foundation', version 11.0.11300000
	Configured using:
	 `configure '--without-pop' '--without-sound' '--without-gpm'
	 '--without-dbus' '--without-selinux' '--with-x-toolkit=athena'
	 '--disable-ns-self-contained' '--without-imagemagick'
	 '--x-libraries=/opt/local/lib' '--x-includes=/opt/local/include'
	 '--enable-locallisppath=/Library/Application
	 Support/Emacs/calendar24:/Library/Application Support/Emacs'
	 'CFLAGS=-g3 -H -pipe -fPIC -fno-common -Os -m64 -march=core2
	 -mtune=core2 -fomit-frame-pointer -msse4.2'
	 'LDFLAGS=-Wl,-dead_strip_dylibs -Wl,-bind_at_load -Wl,-t -m64'
	 'CC=clang' 'CXX=clang++'
	 'PKG_CONFIG_PATH=/usr/lib/pkgconfig:/opt/local/lib/pkgconfig:/opt/local/share/pkgconfig''

but using an invocation à la

	env LANG=C PATH=/sw/bin:$PATH ./configure --build=x86_64-apple-darwin10.8.0 --host=i386-apple-darwin10.8.0 --target=i386-apple-darwin10.8.0 --without-pop --without-sound --without-gpm --without-dbus --without-selinux --with-wide-int --with-x-toolkit=athena --disable-ns-self-contained --without-imagemagick --x-libraries=/usr/X11/lib --x-includes=/usr/X11/include --enable-locallisppath=/Library/Application\ Support/Emacs/calendar24:/Library/Application\ Support/Emacs CFLAGS="-g3 -H -pipe -fPIC -fno-common -Os -march=core2 -mtune=core2 -m32 -fomit-frame-pointer -msse4.2" LDFLAGS="-m32 -Wl,-dead_strip_dylibs -Wl,-bind_at_load -Wl,-t -L/sw/lib" CPPFLAGS=-I/sw/include PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/share/pkgconfig:/sw/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig:/usr/lib/pkgconfig

leads during compilation to such an error:

	if test "no" = "yes"; then \
		  rm -f bootstrap-emacs; \
		  ln temacs bootstrap-emacs; \
		else \
		  `/bin/pwd`/temacs --batch --load loadup bootstrap || exit 1; \
		  test "X" = X ||  -zex emacs; \
		  mv -f emacs bootstrap-emacs; \
		fi
	/bin/sh: line 1: 75966 Bus error               (core dumped) `/bin/pwd`/temacs --batch --load loadup bootstrap
	make[1]: *** [bootstrap-emacs] Error 1
	make: *** [src] Error 2

Even if I reduce FLAGS and optimisation to a minimum. In /opt/local I have 64-bit packages from MacPorts installed, in /sw 32-bits packages from Fink, in the usual Mac OS X places they're "universal". During configuration reasonable differences were found:

	checking build system type... x86_64-apple-darwin10.8.0
	checking host system type... x86_64-apple-darwin10.8.0
	
	checking for bit size of ptrdiff_t... 64
	checking for bit size of size_t... 64
	checking for bit size of sig_atomic_t... 32
	checking for bit size of wchar_t... 32
	checking for bit size of wint_t... 32
	
	checking for ptrdiff_t integer literal suffix... l
	
	checking for ptrdiff_t integer literal suffix... 
	
	checking whether gettimeofday clobbers localtime buffer... no
	checking for gettimeofday with POSIX signature... yes
	checking for working mktime... no
	checking whether signature of pselect conforms to POSIX... yes
	checking whether pselect detects invalid fds... yes

vs.

	checking build system type... x86_64-apple-darwin10.8.0
	checking host system type... i386-apple-darwin10.8.0
	
	checking for bit size of ptrdiff_t... 32
	checking for bit size of size_t... 32
	checking for bit size of sig_atomic_t... 32
	checking for bit size of wchar_t... 32
	checking for bit size of wint_t... 32
	
	checking for ptrdiff_t integer literal suffix… 
	
	checking whether the utimes function works... no
	
	checking whether gettimeofday clobbers localtime buffer... guessing yes
	checking for gettimeofday with POSIX signature... yes
	checking sys/timeb.h usability... yes
	checking sys/timeb.h presence... yes
	checking for sys/timeb.h... yes
	checking for _ftime... no
	checking for working mktime... no
	checking whether signature of pselect conforms to POSIX... yes
	checking whether pselect detects invalid fds... guessing no


--
Greetings

  Pete       (:
        _    / __    -    -
      _/ \__/_/        -     -
     (´`)      (´`)   -    -
      `´        `´






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13427: Acknowledgement (24.2.92; does not compile in 32-bit --with-wide-int on intel Mac OS X 10.6.8 (Snow Leopard))
       [not found] ` <handler.13427.B.13580903149773.ack@debbugs.gnu.org>
@ 2013-01-14 23:09   ` Peter Dyballa
  2013-01-15  0:12     ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Dyballa @ 2013-01-14 23:09 UTC (permalink / raw)
  To: 13427

I am sorry: I falsely accused the GNU Emacs programmers of releasing source code that does not compile!

The fault is on the side of the patches in emacs-24.2.92-mac-3.92.tar.gz from YAMAMOTO Mitsuharu. In earlier versions his patches were excellent, so this time again I applied them before I first built GNU Emacs --with-wide-int. Without his patches GNU Emacs 24.2.92 builds --with-wide-int on Snow Leopard, Mac OS X 10.6.8, and on PPC Tiger, Mac OS X 10.4.11. When I here apply the patches, GNU Emacs does not build any more, in none of the X11, NS, Mac and no windowing variants.

This reported bug is not a GNU Emacs bug but a YAMAMOTO Mitsuharu. And I sent him a message about this.

--
Greetings

  Pete

’Twas a woman who drove me to drink, and I never had the courtesy to thank her for it.
				— W.C. Fields






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#13427: Acknowledgement (24.2.92; does not compile in 32-bit --with-wide-int on intel Mac OS X 10.6.8 (Snow Leopard))
  2013-01-14 23:09   ` bug#13427: Acknowledgement (24.2.92; does not compile in 32-bit --with-wide-int on intel Mac OS X 10.6.8 (Snow Leopard)) Peter Dyballa
@ 2013-01-15  0:12     ` Glenn Morris
  0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2013-01-15  0:12 UTC (permalink / raw)
  To: 13427-done


Thanks for letting us know. In future please don't make bug reports
without saying extremely clearly that you are using patched sources.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-15  0:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-13 15:14 bug#13427: 24.2.92; does not compile in 32-bit --with-wide-int on intel Mac OS X 10.6.8 (Snow Leopard) Peter Dyballa
     [not found] ` <handler.13427.B.13580903149773.ack@debbugs.gnu.org>
2013-01-14 23:09   ` bug#13427: Acknowledgement (24.2.92; does not compile in 32-bit --with-wide-int on intel Mac OS X 10.6.8 (Snow Leopard)) Peter Dyballa
2013-01-15  0:12     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).