unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12126: 24.1.50; compilation --with-wide-int on PowerPC 32-bit leads to: Maximum buffer size exceeded
@ 2012-08-02 21:41 Peter Dyballa
  2012-08-03 16:31 ` Jan Djärv
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Dyballa @ 2012-08-02 21:41 UTC (permalink / raw)
  To: 12126

Hello!

On Mac OS X 10.5.8, Snow Leopard, with PowerPC 7447A configuration for  
X11 or the NS variant à la

	time nice +17 env LANG=C PATH=/sw/bin:$PATH ./configure --with-<NS or  
x-toolkit=athena or x-toolkit=gtk> --with-wide-int --without-sound -- 
without-dbus --without-pop --without-gconf --without-gpm --without- 
gsettings --without-selinux --without-gif --without-jpeg --without-png  
--without-rsvg --without-tiff --without-xpm --disable-ns-self- 
contained --x-libraries=/usr/X11/lib --x-includes=/usr/X11/include -- 
enable-locallisppath=/Library/Application\ Support/Emacs/calendar24:/ 
Library/Application\ Support/Emacs CFLAGS="-g -ggdb3 -H -pipe -fPIC - 
fno-common -fast -mcpu=7450 -mtune=G4 -malign-natural" LDFLAGS="-Wl,- 
dead_strip_dylibs -Wl,-bind_at_load -Wl,-t" 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

the 'make bootstrap' step ends here:

	Loading window (source)...
	Loading .../emacs-24.1.50/lisp/files.el (source)...
	Maximum buffer size exceeded
	make[2]: *** [bootstrap-emacs] Error 1

The compiler used is

	powerpc-apple-darwin9-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.  
build 5555) (LLVM build 2064.3)

src/s/darwin.h once contained:

	#ifdef HAVE_NS
	#define SYSTEM_PURESIZE_EXTRA 200000
	#endif


--
Greetings

   Pete

Isn't vi that text editor with two modes... one that beeps and one  
that corrupts your file?
				– Dan Jacobson, on comp.os.linux.advocacy






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

* bug#12126: 24.1.50; compilation --with-wide-int on PowerPC 32-bit leads to: Maximum buffer size exceeded
  2012-08-02 21:41 bug#12126: 24.1.50; compilation --with-wide-int on PowerPC 32-bit leads to: Maximum buffer size exceeded Peter Dyballa
@ 2012-08-03 16:31 ` Jan Djärv
  2012-08-04 16:10   ` Peter Dyballa
  2012-08-04 20:54   ` Peter Dyballa
  0 siblings, 2 replies; 4+ messages in thread
From: Jan Djärv @ 2012-08-03 16:31 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 12126


2 aug 2012 kl. 23:41 skrev Peter Dyballa:

> Hello!

Hello.

> 
> On Mac OS X 10.5.8, Snow Leopard, with PowerPC 7447A configuration for X11 or the NS variant à la
> 
> 	time nice +17 env LANG=C PATH=/sw/bin:$PATH ./configure --with-<NS or x-toolkit=athena or x-toolkit=gtk> --with-wide-int --without-sound --without-dbus --without-pop --without-gconf --without-gpm --without-gsettings --without-selinux --without-gif --without-jpeg --without-png --without-rsvg --without-tiff --without-xpm --disable-ns-self-contained --x-libraries=/usr/X11/lib --x-includes=/usr/X11/include --enable-locallisppath=/Library/Application\ Support/Emacs/calendar24:/Library/Application\ Support/Emacs CFLAGS="-g -ggdb3 -H -pipe -fPIC -fno-common -fast -mcpu=7450 -mtune=G4 -malign-natural" LDFLAGS="-Wl,-dead_strip_dylibs -Wl,-bind_at_load -Wl,-t" 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
> 
> the 'make bootstrap' step ends here:
> 
> 	Loading window (source)...
> 	Loading .../emacs-24.1.50/lisp/files.el (source)...
> 	Maximum buffer size exceeded
> 	make[2]: *** [bootstrap-emacs] Error 1
> 
> The compiler used is
> 
> 	powerpc-apple-darwin9-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5555) (LLVM build 2064.3)

Does it work if you just
% configure --with-ns
?

> 
> src/s/darwin.h once contained:
> 
> 	#ifdef HAVE_NS
> 	#define SYSTEM_PURESIZE_EXTRA 200000
> 	#endif
> 

That is in config.h now.

	Jan D.






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

* bug#12126: 24.1.50; compilation --with-wide-int on PowerPC 32-bit leads to: Maximum buffer size exceeded
  2012-08-03 16:31 ` Jan Djärv
@ 2012-08-04 16:10   ` Peter Dyballa
  2012-08-04 20:54   ` Peter Dyballa
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2012-08-04 16:10 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 12126


Am 03.08.2012 um 18:31 schrieb Jan Djärv:

> Does it work if you just
> % configure --with-ns


Yes, compilation finishes then. It makes no difference whether I use  
MacPorts or Fink and whether the compiler is

  • powerpc-apple-darwin9-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple  
Inc. build 5555) (LLVM build 2064.3)
  • powerpc-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577)
  • powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)

My test started with that simple configure line and MacPorts and then  
a 'make bootstrap'. This took hours, followed by 'make install'. The  
next step was a new configuration followed by make and 'make install',  
taking approximately 20-25 min. So I produced six versions of  
Emacs.app. None really worked. When I launched them with open they  
crashed at some time when initialising/executing my init file and re- 
establishing previous session and desktop. When I invoked the Emacs  
binary inside the application bundle with '--debug-init -Q' and I  
invoked dired with C-x d and accepted the root of the GNU Emacs'  
sources as directory with RET the NS variant instantly crashed.

--
Greetings

   Pete

Encryption, n.:
	A powerful algorithmic encoding technique employed in the creation of  
computer manuals.






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

* bug#12126: 24.1.50; compilation --with-wide-int on PowerPC 32-bit leads to: Maximum buffer size exceeded
  2012-08-03 16:31 ` Jan Djärv
  2012-08-04 16:10   ` Peter Dyballa
@ 2012-08-04 20:54   ` Peter Dyballa
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2012-08-04 20:54 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 12126


Am 03.08.2012 um 18:31 schrieb Jan Djärv:

> Does it work if you just
> % configure --with-ns

	./configure  --with-ns --with-wide-int

with "powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build  
5493)" also succeeds, same with "powerpc-apple-darwin9-gcc-4.2.1 (GCC)  
4.2.1 (Apple Inc. build 5577)". Simple make and 'make bootstrap' with  
"powerpc-apple-darwin9-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.  
build 5555) (LLVM build 2064.3)" end with this consistently:

	Loading .../emacs-24.1.50/lisp/composite.el (source)...
	Loading .../emacs-24.1.50/lisp/language/chinese.el (source)...
	Wrong type argument: sequencep, 130257792809520
	make[2]: *** [bootstrap-emacs] Error 1

The two built and installed pieces of Emacs.app are completely  
useless, they can't even create the initial frame, they already crash  
before they can appear.

--
Greetings

   Pete

Typography exists to honor content.
			– Robert Bringhurst








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

end of thread, other threads:[~2012-08-04 20:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-02 21:41 bug#12126: 24.1.50; compilation --with-wide-int on PowerPC 32-bit leads to: Maximum buffer size exceeded Peter Dyballa
2012-08-03 16:31 ` Jan Djärv
2012-08-04 16:10   ` Peter Dyballa
2012-08-04 20:54   ` Peter Dyballa

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).