delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/06/14/15:59:02

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Authenticated: #27081556
X-Provags-ID: V01U2FsdGVkX19RWWIQWqRRVRqJBOggmg39Adeeex2s1QAFYTqAnM
jZDfGFZDHW2uEp
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
To: djgpp AT delorie DOT com
Subject: Compiling emacs 24.1
Date: Thu, 14 Jun 2012 21:58:53 +0200
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Message-Id: <201206142158.53699.juan.guerrero@gmx.de>
X-Y-GMX-Trusted: 0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q5EJwiIm013070

OFYI I have tried to compile emacs 24.1 using gcc 4.6.2, binutils 2.22r3 and
djdev204.  Compiling with default -O2 optimisation produces the error output
shown below.  Using -O1 fails in a similar way but using -O0 produces a
working emacs binary.  The offending line is somewhere in the
 .section	.eh_frame,"w".  Unfortunatley I am not able to figure out
why this happens or if this is the consequence of broken -gcoff support in
the latest gcc versions.


cd src
C:/DJGPP-2.04/BIN/make.exe top_srcdir=g:/e/emacs-24.1 BOOTSTRAPEMACS="" all
make.exe[1]: Entering directory `g:/e/emacs-24.1/src'
djecho stamp-oldxmenu > stamp-oldxmenu
../lib-src/make-docfile -o gl-tmp -d . -g dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o fontset.o dbusbind.o nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o w32.o w32console.o w32fns.o w32heap.o w32inevt.o w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o w16select.o widget.o xfont.o ftfont.o xftfont.o ftxfont.o gtkutil.o xsettings.o xgselect.o termcap.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 dosfns.o msdos.o w16select.o      
update gl-tmp globals.h
File `globals.h' created
djecho timestamp > gl-stamp
gcc -c -I../msdos -Demacs -DHAVE_CONFIG_H  -I. -I../lib         -O2 -gcoff -save-temps dispnew.c
dispnew.s: Assembler messages:
dispnew.s:22096: Error: invalid operands (.text and .text.unlikely sections) for `-'
dispnew.s:22084: Error: can't resolve `.text' {.text section} - `LFB105' {.text.unlikely section}
make.exe[1]: *** [dispnew.o] Error 1
make.exe[1]: Leaving directory `g:/e/emacs-24.1/src'
make.exe: *** [src] Error 2


Regards,
Juan M. Guerrero

- Raw text -


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