www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/10/14:05:26

From: Daniel Barker <sokal AT holyrood DOT ed DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Failed compilation of GCC 2.8.1
Date: Mon, 10 May 1999 18:40:40 +0100
Organization: Edinburgh University
Message-ID: <Pine.GSO.3.95.990510182008.7991A-100000@holyrood.ed.ac.uk>
NNTP-Posting-Host: holyrood.ed.ac.uk
Mime-Version: 1.0
X-Trace: scotsman.ed.ac.uk 926357850 16192 129.215.38.17 (10 May 1999 17:37:30 GMT)
X-Complaints-To: usenet AT scotsman DOT ed DOT ac DOT uk
NNTP-Posting-Date: 10 May 1999 17:37:30 GMT
Lines: 105
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have been trying to compile GCC 2.8.1 from the DJGPP source
distribution, because I would like to use GCOV and this is not part of the
binary distribution. To compile, I have just been running "sh djmake.sh",
from a BASH prompt under Windows 98. I had installed the most recent
versions of the packages mentioned as necessary (which are not necessarily
the same versions as those mentioned in the README), and many other DJGPP
packages as well. 

However, I get some warnings that look bad (but may just relate to
debugging information). On my first attempt, BASH died with a fatal
signal, perhaps due to interaction between the large number of other tasks
I was running. On the second attempt, on a quiet computer after a
re-start, compilation failed. Some extracts from the screen output are
given below, including the warnings that worried me, the final error, and
some adjacent lines to put these in context. I have inserted linebreaks in
long lines. The directory into which I had unzipped the source
distribution was "/unzipped/", which is not my main DJGPP directory. 

I would be grateful for any advice on what is going wrong and how to fix
it. Thank you.

If there is a good reason why GCOV is left out of the binary distribution,
perhaps because it does not work with DJGPP, I would be grateful for any
information on that as well. Thanks.

...

gcc -DIN_GCC -g -DHAVE_CONFIG_H -o cc1 c-parse.o c-lang.o c-lex.o
c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o
c-iterate.o toplev.o version.o tree.o print-tree.o stor-layout.o
fold-const.o function.o stmt.o except.o expr.o cal ls.o expmed.o explow.o
optabs.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o real.o dbxout.o
sdbout.o dwarfout.o dwarf2out.o xcoffout.o bitmap.o integrate.o jump.o
cse.o loop.o unroll.o flow.o stupid.o combine.o regclass.o local-alloc.o
global.o reload .o reload1.o caller-save.o insn-peep.o reorg.o sched.o
final.o recog.o reg-stack.o insn-opinit.o insn-recog.o insn-extract.o
insn-output.o insn-emit.o profile.o insn-attrtab.o i386.o getpwd.o
convert.o bc-emit.o bc-optab.o obstack.o ` case "gcc" in "cc") 
 echo "" ;; esac `  
c:/local/djgpp/bin/ld.exe: cc1: warning: .text: line number overflow:
0x13b75 > 0xffff

...

gcc -DIN_GCC -g -DHAVE_CONFIG_H -o cc1obj objc-parse.o objc-act.o c-lex.o
c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o
c-iterate.o toplev.o version.o tree.o print-tree.o stor-layout.o
fold-const.o function.o stmt.o except.o ex pr.o calls.o expmed.o explow.o
optabs.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o real.o dbxout.o
sdbout.o dwarfout.o dwarf2out.o xcoffout.o bitmap.o integrate.o jump.o
cse.o loop.o unroll.o flow.o stupid.o combine.o regclass.o local-alloc.o
global.  o reload.o reload1.o caller-save.o insn-peep.o reorg.o sched.o
final.o recog.o reg-stack.o insn-opinit.o insn-recog.o insn-extract.o
insn-output.o insn-emit.o profile.o insn-attrtab.o i386.o getpwd.o
convert.o \ bc-emit.o bc-optab.o obstack.o ` case "gcc" in "cc") echo ""
;; esac `
c:/local/djgpp/bin/ld.exe: cc1obj: warning: .text: line number overflow:
0x14a78 > 0xffff

...

gcc -DIN_GCC -g -W -Wall -o ../f771.exe bad.o bit.o bld.o com.o data.o
equiv.o expr.o global.o implic.o info.o intrin.o lab.o lex.o malloc.o
name.o parse.o proj.o src.o st.o sta.o stb.o stc.o std.o ste.o storag.o
stp.o str.o sts.o stt.o stu.o stv.o stw.o symbol.o target.o top.o type.o
version.o where.o ../toplev.o ../version.o ../tree.o ../print-tree.o
../stor-layout.o ../fold-const.o ../function.o ../stmt.o ../except.o
../expr.o ../calls.o ../expmed.o ../explow.o ../optabs.o ../varasm.o
../rtl.o ../print -rtl.o ../rtlanal.o ../emit-rtl.o ../real.o ../dbxout.o
../sdbout.o ../dwarfout.o ../dwarf2out.o ../xcoffout.o ../bitmap.o
../integrate.o ../jump.o ../cse.o ../loop.o ../unroll.o ../flow.o
../stupid.o ../combine.o ../regclass.o ../local-alloc.o ../global.  o
../reload.o ../reload1.o ../caller-save.o ../insn-peep.o ../reorg.o
../sched.o ../final.o ../recog.o ../reg-stack.o ../insn-opinit.o
../insn-recog.o ../insn-extract.o ../insn-output.o ../insn-emit.o
../profile.o ../insn-attrtab.o ../i386.o ../getpwd.o .  ./convert.o
../bc-emit.o ../bc-optab.o ../obstack.o
c:/local/djgpp/bin/ld.exe: ../f771.exe: warning: .text: line number
overflow: 0x1b429 > 0xffff
make.exe[1]: Leaving directory
`c:/unzipped/gcc281s/gnu/gcc-2.81/build.djg/f'

...

/unzipped/gcc281s/gnu/gcc-2.81/build.djg/xgcc
-B/unzipped/gcc281s/gnu/gcc-2.81/build.djg/ -c -DSkip_f2c_Undefs -I.
-I/unzipped/gcc281s/gnu/gcc-2.81/f/runtime/libF77
-I/unzipped/gcc281s/gnu/gcc-2.81/build.djg/f/runtime
-I/unzipped/gcc281s/gnu/gcc-2.81/f/ru ntime
-I/unzipped/gcc281s/gnu/gcc-2.81/build.djg/include -DSTDC_HEADERS=1
-D_POSIX_SOURCE=1 -DRETSIGTYPE=void -DIEEE_drem=1 -DHAVE_TEMPNAM=1
-DNO_EOF_CHAR_CHECK=1 -DSkip_f2c_Undefs=1 -DIN_GCC -g -I./include
/unzipped/gcc281s/gnu/gcc-2.81/f/runtime/l ibF77/s_cmp.c
Load error: can't switch mode
make.exe[2]: *** [s_cmp.o] Error 1
make.exe[2]: Leaving directory
`c:/unzipped/gcc281s/gnu/gcc-2.81/build.djg/f/runtime/libF77'
make.exe[1]: *** [s-libf77] Error 2
make.exe[1]: Leaving directory
`c:/unzipped/gcc281s/gnu/gcc-2.81/build.djg/f/runtime'
make.exe: *** [f77-runtime] Error 2


Daniel Barker.

- Raw text -


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