From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.bugs Subject: bug#5606: 23.1.90; LLVM GCC 4.2.1 on Mac OS X lets bootstrap-emacs crash Date: Fri, 19 Feb 2010 22:41:40 +0100 Message-ID: <765905A5-5663-4CC4-ACB4-CAFEA0BBA9FB@Freenet.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1266617061 6965 80.91.229.12 (19 Feb 2010 22:04:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Feb 2010 22:04:21 +0000 (UTC) To: 5606@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 19 23:04:11 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NiaxG-0005ub-Nm for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2010 23:04:11 +0100 Original-Received: from localhost ([127.0.0.1]:38946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiaxG-0004GH-0e for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Feb 2010 17:04:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NiamU-0007JQ-TL for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 16:53:03 -0500 Original-Received: from [140.186.70.92] (port=56301 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NiamT-0007If-Te for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 16:53:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NiamT-00065T-2t for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 16:53:01 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40461) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NiamS-00065P-Ut for bug-gnu-emacs@gnu.org; Fri, 19 Feb 2010 16:53:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Niabp-00080y-LB; Fri, 19 Feb 2010 16:42:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Peter Dyballa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Feb 2010 21:42:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5606 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: emacs-pretest-bug@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126661571530796 (code B ref -1); Fri, 19 Feb 2010 21:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Feb 2010 21:41:55 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Niabi-00080f-MQ for submit@debbugs.gnu.org; Fri, 19 Feb 2010 16:41:55 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Niabg-00080Y-PT for submit@debbugs.gnu.org; Fri, 19 Feb 2010 16:41:53 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:41263) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Niabc-0002eF-KG for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 16:41:48 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47591) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Niabc-0005gi-Au for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 16:41:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Niaba-0004Z6-QJ for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 16:41:48 -0500 Original-Received: from mout5.freenet.de ([195.4.92.95]:60774) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Niaba-0004Yx-Kg for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 16:41:46 -0500 Original-Received: from [195.4.92.17] (helo=7.mx.freenet.de) by mout5.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.72 #1) id 1NiabZ-00065z-ER for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 22:41:45 +0100 Original-Received: from p5b23dbc2.dip.t-dialin.net ([91.35.219.194]:56088 helo=[192.168.1.2]) by 7.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #1) id 1NiabY-0005nS-Mk for emacs-pretest-bug@gnu.org; Fri, 19 Feb 2010 22:41:45 +0100 X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 19 Feb 2010 16:42:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35203 Archived-At: Hello! When I use Apple's llvm-gcc-4.2 (effectively powerpc-apple-darwin9- llvm-gcc-4.2) on Mac OS X 10.5.8 (Leopard) and compile GNU Emacs (sources from last 24 h) with these flags (with or without '-mcpu=7450 -mtune=7450') CFLAGS='-g -Wno-pointer-sign -pipe -fPIC -Os' CPPFLAGS='' LDFLAGS='' CFLAGS='-g -Wno-pointer-sign -pipe -fPIC -Oz' CPPFLAGS='' LDFLAGS='' CFLAGS='-g -Wno-pointer-sign -pipe -fPIC -mstring -Os' CPPFLAGS='' LDFLAGS='' CFLAGS='-g -Wno-pointer-sign -pipe -fPIC -mstring -Oz' CPPFLAGS='' LDFLAGS='' the resulting bootstrap-emacs crashes: Writing LC_LOAD_DYLIB command 4448 unused bytes follow Mach-O header 40133 pure bytes used mv -f emacs bootstrap-emacs cd ../lisp; make -k compile-first EMACS=../src/bootstrap-emacs make[2]: Nothing to be done for `compile-first'. cd ../lisp; make -k autoloads EMACS=../src/bootstrap-emacs chmod +w ..../emacs/lisp/ps-print.el ..../emacs/lisp/emulation/tpu- edt.el \ ..../emacs/lisp/emacs-lisp/cl-loaddefs.el ..../emacs/lisp/mail/ rmail.el \ ..../emacs/lisp/dired.el ..../emacs/lisp/ibuffer.el wd=..../emacs/lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $subdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; *) wins="$wins $wd/ $file" ;; esac; done; \ echo Directories: $wins; \ EMACSLOADPATH=..../emacs/lisp LC_ALL=C ../src/bootstrap-emacs -batch --no-site-file --multibyte -l autoload --eval '(setq generated- autoload-file "..../emacs/lisp/loaddefs.el")' -f batch-update- autoloads $wins Directories: ..../emacs/lisp/. ..../emacs/lisp/./calc ..../emacs/ lisp/./calendar ..../emacs/lisp/./cedet ..../emacs/lisp/./cedet/ ede ..../emacs/lisp/./cedet/semantic ..../emacs/lisp/./cedet/semantic/ analyze ..../emacs/lisp/./cedet/semantic/bovine ..../emacs/lisp/./ cedet/semantic/decorate ..../emacs/lisp/./cedet/semantic/symref ..../ emacs/lisp/./cedet/semantic/wisent ..../emacs/lisp/./cedet/ srecode ..../emacs/lisp/./emacs-lisp ..../emacs/lisp/./emulation ..../ emacs/lisp/./erc ..../emacs/lisp/./eshell ..../emacs/lisp/./gnus ..../ emacs/lisp/./international ..../emacs/lisp/./language ..../emacs/ lisp/./mail ..../emacs/lisp/./mh-e ..../emacs/lisp/./net ..../emacs/ lisp/./nxml ..../emacs/lisp/./nxml/char-name ..../emacs/lisp/./ org ..../emacs/lisp/./play ..../emacs/lisp/./progmodes ..../emacs/ lisp/./textmodes ..../emacs/lisp/./url Loading vc-cvs... Fatal error (10)/bin/sh: line 1: 75621 Abort trap (core dumped) EMACSLOADPATH=..../emacs/lisp LC_ALL=C ../src/bootstrap-emacs - batch --no-site-file --multibyte -l autoload --eval '(setq generated- autoload-file "..../emacs/lisp/loaddefs.el")' -f batch-update- autoloads $wins make[2]: *** [autoloads] Error 134 make[1]: *** [..../emacs/src/../lisp/loaddefs.el] Error 2 Compilation with optimisation level of -O[1-4] or Apple's -fast produces a working bootstrap-emacs, see below: In GNU Emacs 23.1.90.1 (powerpc-apple-darwin9.8.0, NS apple- appkit-949.54) of 2010-02-19 on Latsche.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--without-sound' '--without-dbus' '-- without-pop' '--with-ns' '--disable-ns-self-contained' '--x-libraries=/ usr/X11/libs' '--x-includes=/usr/X11/include/X11' '--enable- locallisppath=/Library/Application Support/Emacs/calendar23:/Library/ Application Support/Emacs' 'CFLAGS=-g -Wno-pointer-sign -pipe -fPIC - mcpu=7450 -mtune=7450 -fast' 'CC=llvm-gcc-4.2' 'CPP=llvm-cpp-4.2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: TeX-PDF-mode: t auto-revert-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t show-paren-mode: t display-time-mode: t desktop-save-mode: t delete-selection-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t -- Greetings Pete $ sumascii BILL GATES B I L L G A T E S 66+ 73+ 76+ 76+ 71+ 65+ 84+ 69+ 83 = 663 and add 3 because he's Bill Gates the third.