Subject: Re: egcs 1.1 on pmax
To: Todd Vierling <tv@pobox.com>
From: Tsubai Masanari <tsubai@iri.co.jp>
List: tech-toolchain
Date: 08/20/1998 16:14:43
>Can you try building egcs with only the "#undef OBJECT_FORMAT_COFF" and the
>CPP_PREDEFINES changes?
I compiled egcs without DWARF... and ASM... macros and tried to make libstdc++
in old egcs-1.0.2 based src/gnu tree. I got many warnings:
c++ -O -fPIC -DPIC -DABICALLS -Werror -nostdinc++ -I. -I/a/src/gnu/lib/libstdc
++/../../dist/libstdc++ -I/a/src/gnu/lib/libstdc++/../../dist/libio -I/a/src/g
nu/lib/libstdc++/../../dist/libstdc++/stl -I/a/src/gnu/lib/libstdc++/../../dist
/gcc/cp/inc -c /a/src/gnu/lib/libstdc++/../../dist/libio/PlotFile.cc
/tmp/ccT54xmU.s: Assembler messages:
/tmp/ccT54xmU.s:1557: Warning: Tried to set unrecognized symbol: $LLCIE1,$LECIE
1-$LSCIE1
/tmp/ccT54xmU.s:1582: Warning: Tried to set unrecognized symbol: $LLFDE1,$LEFDE
1-$LSFDE1
...
and core dump:
...
building shared stdc++ library (version 1.0)
ld -x -shared -soname libstdc++.so.1 -o libstdc++.so.1.0 --whole-archive lib
stdc++_pic.a --no-whole-archive /usr/lib/c++rt0.o
*** Signal 6
Stop.
With the two macros, I can compile libstdc++ successfully (small fixes
are needed though).
Doesn't occur on pmax? binutils bug?