delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/14/20:12:30

X-Spam-Check-By: sourceware.org
Date: Thu, 15 Feb 2007 02:12:02 +0100 (MET)
From: Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it>
To: cygwin AT cygwin DOT com
Subject: Using the snapshot 20070214
Message-ID: <Pine.OSF.4.21.0702150140470.2703-100000@ax0rm1.roma1.infn.it>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

After installing and rebasing (-b 0x65000000 as suggested) the current
snapshot 20070214, using it I have found these problems.

Usually I use Emacs built from CVS. I have found usefull to build it
configuring as 

LDFLAGS='-Wl,--enable-auto-import -Wl,--enable-auto-image-base' \
  ./configure...

and with GCC 4.0.3 (with GCC-3.4.4-3 the build is unstable).

In this way the result not only works fine with recent version of Cygwin
(1.5-22,23,24), but is also independent from rebasing and from the base
address (as you, perhaps, remember, the current version of Emacs in
Cygwin, hangs after rebasing).

Now with the snapshot, Emacs-CVS aborts leaving:

emacs-22.0.93.exe.stackdump
---------------------------------
Stack trace:
Frame     Function  Args
0022B1A8  7C802532  (0000067C, 0000EA60, 000000A4, 0022B1F0)
0022B2C8  610AF43C  (00000000, 00000000, 00000000, 00000000)
0022B3B8  610ACFBB  (00000000, 003B0023, 00230000, 00000000)
0022B418  610AD49B  (0022B430, 00000000, 00000094, 0095F000)
0022B4D8  610AD652  (00000F94, 00000006, 006DE801, 61026E43)
0022B508  610AA8B8  (00000006, 60FF0000, 0022B638, 610AF4FC)
0022B5F8  61026F60  (0000067C, 0000EA60, 000000A4, 0022B640)
0022B718  610AF4FC  (00000000, 0022BE78, 0022BDF8, 610842B2)
0022B808  610ACFBB  (00000000, 00000010, 00000000, 0044B400)
0022B868  610AD49B  (0022B880, 00000000, 00000094, 0022B8C8)
0022B928  610AD652  (00000F94, 00000006, 0022B958, 00552D10)
0022B938  610AA8B8  (00000000, 00A90000, 0022B958, 00AB2000)
0022B958  00552D10  (00AA16D8, 015316F8, 00000840, 00000000)
0022B998  00553788  (FFFDE000, 00A4ACF0, 0022BBA8, 0045C1B1)
0022B9F8  00551F31  (0000F7E8, 00000037, 611BAA48, 61067AEC)
0022BA08  004F3E71  (0000F7E8, 0000002E, 0022BA68, 00452245)
End of stack trace (more stack frames may be present)
---------------------------------

After this, with the snapshot installed, I have tried to build a new
checkout of Emacs-cvs, but it fails in linking:

--------------------------------------------------
gcc40   -Wl,--enable-auto-import -Wl,--enable-auto-image-base
-L/usr/X11R6/lib -o temacs ecrt0.o dispnew.o frame.o scroll.o xdisp.o
xmenu.o window.o charset.o coding.o category.o ccl.o cm.o term.o xfaces.o
xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o
emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o
marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o
casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o
editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o
syntax.o unexcw.o bytecode.o process.o callproc.o region-cache.o sound.o
atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o
sheap.o terminfo.o gmalloc.o ralloc.o lastfile.o vm-limit.o  widget.o
mktime.o getloadavg.o   ../lwlib/liblw.a -L/usr/X11R6/lib -lXaw3d -lXmu
-lXt -lSM -lICE -lXext -ltiff -ljpeg -lpng -lz -lm -lungif -lXpm -lX11
-lcurses -lg  `gcc40 -print-libgcc-file-name` -lm -lc `gcc40
-print-libgcc-file-name`

/usr/bin/../lib/libg.a(lib_a-fwrite.o):(.text+0x49): undefined reference
to `___cygwin_lock_lock' 

... MANY "undefined reference to `___cygwin_lock_unlock'"

/usr/bin/../lib/libg.a(lib_a-vfscanf.o):(.text+0x46a): undefined reference
to `___cygwin_lock_unlock'

collect2: ld returned 1 exit status
make[2]: *** [temacs.exe] Error 1
make[2]: Leaving directory `/tmp/emacs/.build/src'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/tmp/emacs/.build'
make: *** [bootstrap] Error 2
-------------------------------------------------- 


I have flagged the above problems because, perhaps, they hide problems in
the snapshot that you can prove.

I have XP-SP2, with a full, updated, Cygwin installation.


Cheers,

    Angelo.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019