From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Baumann Newsgroups: gmane.emacs.devel Subject: Re: 23.0.60 bootstrap fails for maemo Date: Sun, 17 Feb 2008 19:55:30 +0100 Message-ID: References: <200802111729.m1BHTcim015149@sallyv1.ics.uci.edu> <5070.1202763499@norvel.baumann-gauting.site> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203274560 9643 80.91.229.12 (17 Feb 2008 18:56:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2008 18:56:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 17 19:56:24 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JQogY-0002PX-Rb for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 19:56:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQog4-0008Jv-E0 for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2008 13:55:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQofx-0008IX-JR for emacs-devel@gnu.org; Sun, 17 Feb 2008 13:55:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQofv-0008Ha-UI for emacs-devel@gnu.org; Sun, 17 Feb 2008 13:55:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQofv-0008HO-NM for emacs-devel@gnu.org; Sun, 17 Feb 2008 13:55:43 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JQofv-0000Nl-75 for emacs-devel@gnu.org; Sun, 17 Feb 2008 13:55:43 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JQofs-00039j-HW for emacs-devel@gnu.org; Sun, 17 Feb 2008 18:55:40 +0000 Original-Received: from p54960609.dip0.t-ipconnect.de ([84.150.6.9]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Feb 2008 18:55:40 +0000 Original-Received: from dtbaumann by p54960609.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 17 Feb 2008 18:55:40 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54960609.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:wSFidKQHuDHQMX0QopgyNbpejVE= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:89380 Archived-At: > Dan Nicolaescu wrote: > >> Thomas Baumann writes: >> >> > I'm trying to compile emacs23 for os2008 using the maemo-4.0 sdk but >> > somehow the bootstrap fails. I'm working with a fresh copy of the cvs >> > files checked out today. >> > >> > The problem looks very much like the emacs23/cygwin problem discussed >> > earlier, but I was not able to test all of the possible solutions >> > mentioned there. >> > >> > Any help is highly appreciated. >> >> Not sure if this helps, but first try to bootstrap on the host so that >> you have all the .elc files, and then configure for the target again and >> just run make. (If the problem you are facing is the byte compiler >> encoding bug that's been discussed here, you might be able to get over >> it this way)... >> > > I think I tried this before - configure with CHINOOK_X86 and compile > (works ok). configure with CHINOOK_ARMEL... and a new error... > > if i delete and recompile pre-crt0.o for the target I get the same error > as before > After days of testing and trying to debug the bootstrap I finally compiled the byte-compile parts of bootstrap directly on the N810: and it works :-) Strange and not a permanent solution, though. In summary, byte compilation segfaults during bootstrap using the maemo SDK. 1. the symptoms are the same mentioned in the "windows bootsrap failure thread". If someone could send me the things changed there or maybe have a look at what's necessary to implement the same changes for the arm target. 2. charprop.el, uni-*.el (and maybe others) always have to be regenerated, thus raising the mentioned errors regardless if all the other lisp files are already compiled. 3. compilation is possible on the target itself: the build directory has to be mounted with nfs and make has to be installed on the device. Compile emacs until the first error occurs, continue on the target and finally make install and build the package on the host.