delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2014/08/25/13:17:31

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <53FB706B.5080005@gmx.de>
Date: Mon, 25 Aug 2014 19:20:43 +0200
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Emacs pretest 24.3.93
References: <83egwim872 DOT fsf AT gnu DOT org> <53EF1E40 DOT 6050004 AT gmx DOT de> <83k368ekyk DOT fsf AT gnu DOT org> <53EFAF05 DOT 2010005 AT gmx DOT de> <834mxcdyde DOT fsf AT gnu DOT org> <53F0FB1E DOT 8070706 AT gmx DOT de> <83d2brmx4x DOT fsf AT gnu DOT org> <53F90C05 DOT 3070503 AT gmx DOT de> <83y4uekjvg DOT fsf AT gnu DOT org> <83wq9xlxgt DOT fsf AT gnu DOT org>
In-Reply-To: <83wq9xlxgt.fsf@gnu.org>
X-Provags-ID: V03:K0:YZhd40pb6c94/C3qTeO2alrLElxfmOo5P5XR8yNjpLmoDxQmMYa
l3Td7e61x9GBQqHKrW2MLirIB9NcaYr0l/D0aCDmtQjn6I2dPvEH4Ig/GLEmQ8pfew3NDwD
D4D6FxSID5qA1p/CazMVms6Q389RX0LDXsrG3DLOa673hsjf9JHxOsRjsMVc1/9qzy2Yub4
pIkyeuZ40LE5iBYOWeUwQ==
X-UI-Out-Filterresults: notjunk:1;
Reply-To: djgpp AT delorie DOT com

Am 24.08.2014 17:27, schrieb Eli Zaretskii:
>> Date: Sun, 24 Aug 2014 18:06:11 +0300
>> From: Eli Zaretskii <eliz AT gnu DOT org>
>>
>>>      - If the sources are configured without --no-debug and -O0 flag then the
>>>        build process aborts with the following error message:
>>>
>>> gcc -Demacs  -I. -I../lib           -O0 -gcoff    \
>>>     -o temacs  vm-limit.o dispnew.o frame.o scroll.o xdisp.o menu.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o bidi.o cm.o term.o terminal.o xfaces.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 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 font.o print.o lread.o syntax.o unexcoff.o bytecode.o process.o gnutls.o callproc.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o xml.o profiler.o decompress.o dosfns.o msdos.o w16select.o termcap.o tparam.o lastfile.o gmalloc.o ralloc.o ../lib/libgnu.a                                     -lm
>>> sysdep.o: In function `emacs_backtrace':
>>> sysdep.c:2115: undefined reference to `backtrace'
>>> sysdep.c:2121: undefined reference to `backtrace_symbols_fd'
>> These functions are in lib/execinfo.h, but I see that lib/execinfo.c
>> is not compiled in the DJGPP build.  That's a real bug, I will fix it
>> soon.
> Please try the patch below.  After applying it, re-run "config msdos"
> before running "make install".  I hope this will now work both with
> and without -O0 in CFLAGS.

The patch seems to fix the issue for both -O0 and -O2 flag use.
I have compiled the sources with gcc490, bnu224br2 and a libc.a version produced
from repository sources.  The emacs sources can be compiled on pure DOS together
with DOSLFN if and only if djdev203 is used or if the repository code is used.
On WinXP or Win98SE djdev204 can be used because both OS implement the full set
of 0x71NN functions so that all functions of djdev204 due work properly and
there is no need to run alternative code for the case that a 0x71NN function
is not provided by the used LFN driver.
Of course, this has the consequence that a lot of ports and programs compiled
with djdev204 wil not work properly on plain DOS together with any LFN driver
that does not provide the full set of 0x71NN functions.  I have observed this
already for grep220 and cp of fileutils.  The cc1.exe of gcc334 compiled with
djdev204 also seems to be broken.
I think that we can close the issue.

Regards,
Juan M. Guerrero

- Raw text -


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