http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45888

--- Comment #31 from Anh Vo <anhvofrcaus at gmail dot com> 2010-12-11 00:54:08 
UTC ---
(In reply to comment #30)
> (In reply to comment #29)
> > gcc/tm.texi and gcc/tmp3-tm.texi did not have same same line ending. In 
> > fact,
> > gcc/tm.texi contains 'ASCII English text, with very long lines' while
> > gcc/tmp3-tm.texi has 'ASCII English text' only when examined with 'file'
> > command. In addition, gcc/tm.texi is slightly larger in size (507 KB) than
> > gcc/tmp3-tm.texi (493 KB).
> I don't understand this at all.  The \r removal works for gcc/tm.texi,
> but not for gcc/tmp3-tm.texi?  And yet the latter is smaller?  Or does
> the latter have no line endings at all because you somehow untarred the
> source file with MacOs 9 style line endings?
> What size is your $(srcdir)/doc/tm.texi ?
> How many lines do the varyous tm.texi files have?  (wc should tell)
> Could you show the start of these files with od, like shown in
> comment 13?

This problem does not occur in the latest snapshot, gcc-4.6-20101204. In fact,
the build passed this point successfully. However, other problem surfaces. With
Cygwin build, it complained assembly code as shown in error message below.

[...]
make[4]: Leaving directory `/cygdrive/c/Gcc/Build-4.6.x/i686-pc-cygwin/libgcc'
/cygdrive/c/Gcc/Build-4.6.x/./gcc/xgcc -B/cygdrive/c/Gcc/Build-4.6.x/./gcc/
-B/u
sr/local/i686-pc-cygwin/bin/ -B/usr/local/i686-pc-cygwin/lib/ -isystem
/usr/loca
l/i686-pc-cygwin/include -isystem /usr/local/i686-pc-cygwin/sys-include    -g
-O
2 -O2 -I../../gcc-4.6-20101204/gcc/../winsup/w32api/include
-I../../gcc-4.6-2010
1204/gcc/../winsup/include
-I../../gcc-4.6-20101204/gcc/../winsup/cygwin/include
 -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmi
ssing-prototypes -Wold-style-definition  -isystem ./include   -g  -DIN_LIBGCC2
-
D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector   -I. -I. -I../.././gcc
-I../../../
gcc-4.6-20101204/libgcc -I../../../gcc-4.6-20101204/libgcc/.
-I../../../gcc-4.6-
20101204/libgcc/../gcc -I../../../gcc-4.6-20101204/libgcc/../include
-I../../../
gcc-4.6-20101204/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS
-DUSE_EMUTLS -o _chkstk_s.o -MT _chkstk_s.o -MD -MP -MF _chkstk_s.dep -DSHARED
-
DL_chkstk -xassembler-with-cpp \
          -c ../../../gcc-4.6-20101204/libgcc/../gcc/config/i386/cygwin.asm
../../../gcc-4.6-20101204/libgcc/../gcc/config/i386/cygwin.asm: Assembler
messag
es:
../../../gcc-4.6-20101204/libgcc/../gcc/config/i386/cygwin.asm:30: Error:
unknow
n pseudo-op: `.cfi_sections'
make[3]: *** [_chkstk_s.o] Error 1
make[3]: Leaving directory `/cygdrive/c/Gcc/Build-4.6.x/i686-pc-cygwin/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/cygdrive/c/Gcc/Build-4.6.x'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/cygdrive/c/Gcc/Build-4.6.x'
make: *** [all] Error 2

For MinGW build, it complained about lto plugin as shown below.

[...]
make[3]: Entering directory `/c/Gcc/Build-Test/lto-plugin'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../gcc-
4.6-20101204/lto-plugin  -I../../gcc-4.6-20101204/lto-plugin/../include
-DHAVE_C
ONFIG_H  -Wall -Werror -g -fkeep-inline-functions -c -o lto-plugin.lo
../../gcc-
4.6-20101204/lto-plugin/lto-plugin.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../gcc-4.6-20101204/lto-plugin
-
I../../gcc-4.6-20101204/lto-plugin/../include -DHAVE_CONFIG_H -Wall -Werror -g
-
fkeep-inline-functions -c ../../gcc-4.6-20101204/lto-plugin/lto-plugin.c 
-DDLL_
EXPORT -DPIC -o .libs/lto-plugin.o
cc1.exe: warnings being treated as errors
../../gcc-4.6-20101204/lto-plugin/lto-plugin.c: In function 'exec_lto_wrapper':
../../gcc-4.6-20101204/lto-plugin/lto-plugin.c:556:3: error: implicit
declaratio
n of function 'WIFEXITED'
../../gcc-4.6-20101204/lto-plugin/lto-plugin.c:556:3: error: implicit
declaratio
n of function 'WEXITSTATUS'
make[3]: *** [lto-plugin.lo] Error 1
make[3]: Leaving directory `/c/Gcc/Build-Test/lto-plugin'
make[2]: *** [all-stage1-lto-plugin] Error 2
make[2]: Leaving directory `/c/Gcc/Build-Test'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/c/Gcc/Build-Test'
make: *** [all] Error 2

Reply via email to