all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: 13427@debbugs.gnu.org
Subject: bug#13427: 24.2.92; does not compile in 32-bit --with-wide-int on intel Mac OS X 10.6.8 (Snow Leopard)
Date: Sun, 13 Jan 2013 16:14:30 +0100	[thread overview]
Message-ID: <CE3831A7-D97F-4370-B25E-B483D3612059@Freenet.DE> (raw)

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       (:
        _    / __    -    -
      _/ \__/_/        -     -
     (´`)      (´`)   -    -
      `´        `´






             reply	other threads:[~2013-01-13 15:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-13 15:14 Peter Dyballa [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CE3831A7-D97F-4370-B25E-B483D3612059@Freenet.DE \
    --to=peter_dyballa@freenet.de \
    --cc=13427@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.