Mail Archives: djgpp/2012/04/08/18:21:55
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: | V01U2FsdGVkX1/95JVryCb9qAFbibgg2URAnBrt7dfeLWjAbFkW6v
|
| EN4re2W3mMVx5b
|
From: | Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
|
To: | djgpp AT delorie DOT com
|
Subject: | Difficulties compiling emacs with gcc 4.6.2
|
Date: | Mon, 9 Apr 2012 00:11:41 +0200
|
User-Agent: | KMail/1.9.10
|
MIME-Version: | 1.0
|
Message-Id: | <201204090011.41565.juan.guerrero@gmx.de>
|
X-Y-GMX-Trusted: | 0
|
I have tried to compile emacs 23.4 using gcc 4.6.2 and binutils 2.22 and I got
the output below. Something seems to be wrong with the assembler output
produced by gcc. I have replaced the compiler with gcc 4.5.2 and it compiled
flawlessly. Of course still using binutils 2.22.
If more information is needed please tell me.
Regards,
Juan M. Guerrero
===============================================================================
gcc.exe (GCC) 4.6.2
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
GNU ld (GNU Binutils) 2.22
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
cd lib-src
C:/DJGPP-2.04/BIN/make.exe top_srcdir=g:/3/emacs-23.4 version="23.4"
make.exe[1]: Entering directory `g:/3/emacs-23.4/lib-src'
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g -o test-distrib G:/3/EMACS-23.4/LIB-SRC/test-distrib.c
test-distrib G:/3/EMACS-23.4/LIB-SRC/testfile
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g G:/3/EMACS-23.4/LIB-SRC/make-docfile.c -o make-docfile
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g G:/3/EMACS-23.4/LIB-SRC/profile.c -o profile
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g G:/3/EMACS-23.4/LIB-SRC/digest-doc.c -o digest-doc
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g G:/3/EMACS-23.4/LIB-SRC/sorted-doc.c -o sorted-doc
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g G:/3/EMACS-23.4/LIB-SRC/fakemail.c -o fakemail
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g G:/3/EMACS-23.4/LIB-SRC/hexl.c -o hexl
cp G:/3/EMACS-23.4/LIB-SRC/getopt_.h getopt.h-t
mv getopt.h-t getopt.h
gcc -c -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g G:/3/EMACS-23.4/LIB-SRC/update-game-score.c -DHAVE_SHARED_GAME_DIR="\"@gamedir@\""
gcc -c -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g G:/3/EMACS-23.4/LIB-SRC/getopt.c
gcc -c -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g G:/3/EMACS-23.4/LIB-SRC/getopt1.c
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g update-game-score.o getopt.o getopt1.o -o update-game-score
gcc -c -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER G:/3/EMACS-23.4/LIB-SRC/../src/regex.c
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"23.4\"" G:/3/EMACS-23.4/LIB-SRC/etags.c getopt.o getopt1.o regex.o -o etags
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g -DCTAGS -DEMACS_NAME="\"GNU Emacs\"" -DVERSION="\"23.4\"" G:/3/EMACS-23.4/LIB-SRC/etags.c getopt.o getopt1.o regex.o -o ctags
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g G:/3/EMACS-23.4/LIB-SRC/b2m.c -DVERSION="\"23.4\"" getopt.o getopt1.o -o b2m
gcc -DHAVE_CONFIG_H -I. -I../src -IG:/3/EMACS-23.4/LIB-SRC -IG:/3/EMACS-23.4/LIB-SRC/../src -O2 -g -DVERSION="\"23.4\"" G:/3/EMACS-23.4/LIB-SRC/ebrowse.c getopt.o getopt1.o -o ebrowse
make.exe[1]: Leaving directory `g:/3/emacs-23.4/lib-src'
cd ..
cd src
C:/DJGPP-2.04/BIN/make.exe top_srcdir=g:/3/emacs-23.4 BOOTSTRAPEMACS=""
make.exe[1]: Entering directory `g:/3/emacs-23.4/src'
djecho stamp-oldxmenu > stamp-oldxmenu
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff dispnew.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff frame.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff scroll.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff xdisp.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff menu.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff window.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff charset.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff coding.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff category.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff ccl.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff character.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff chartab.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff cm.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff term.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff terminal.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff xfaces.c
gcc -c -Demacs -DHAVE_CONFIG_H -I. -I. -O2 -gcoff emacs.c
c:/TMP/ccVqj3Jc.s: Assembler messages:
c:/TMP/ccVqj3Jc.s:6834: Error: invalid operands (.text and .text.startup sections) for `-'
c:/TMP/ccVqj3Jc.s:6798: Error: can't resolve `.text' {.text section} - `LFB7' {.text.startup section}
make.exe[1]: *** [emacs.o] Error 1
make.exe[1]: Leaving directory `g:/3/emacs-23.4/src'
make.exe: *** [src] Error 2
- Raw text -