This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa-branch] Building on i686-pc-cygwin
- From: "Tobias Schlüter" <innenminister at gmx dot de>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 17 Jan 2003 17:26:00 +0100
- Subject: [tree-ssa-branch] Building on i686-pc-cygwin
I can't build the current tree-ssa-branch on i686-pc-cygwin because
of two problems:
1) when running 'configure --prefix=/home/tobi/exp --enable-
languages=c,f95 && make', it can't build the target libraries,
because it doesn't put enough 'gcc/'s into the path to the xgcc
binary, i.e. it tries to run /home/tobi/src/gcc/build/gcc/xgcc
instead of [snip]/build/gcc/gcc/xgcc when trying to compile
../../../gcc/gcc/gcc/libgcc2.c. I tried different locations of the
build directory wrt the source tree.
BTW, this is not a g95 issue, building with --enable-languages=c,f77
fails due to the same problem
/home/tobi/src/gcc/build/gcc/xgcc -B/home/tobi/src/gcc/build/gcc/ -
B/home/tobi/e
xp/i686-pc-cygwin/bin/ -B/home/tobi/exp/i686-pc-cygwin/lib/ -isystem
/home/tobi/
exp/i686-pc-cygwin/include -dumpspecs > tmp-specs
/home/tobi/src/gcc/build/gcc/xgcc: not found
make[2]: *** [specs] Error 127
make[2]: Leaving directory `/home/tobi/src/gcc/build/gcc/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/tobi/src/gcc/build/gcc'
make: *** [all-gcc] Error 2
2) cd'ing to build/gcc and running make there, finds xgcc, but fails
with the following (seemingly senseless) error message shortly
thereafter (independent of the f77 vs. f95 issue):
-------------------------
/home/tobi/src/gcc/build/gcc/gcc/xgcc -
B/home/tobi/src/gcc/build/gcc/gcc/ -B/hom
e/tobi/exp/i686-pc-cygwin/bin/ -B/home/tobi/exp/i686-pc-cygwin/lib/ -
isystem /ho
me/tobi/exp/i686-pc-cygwin/include -O2 -
I../../../gcc/gcc/gcc/../winsup/include
-I../../../gcc/gcc/gcc/../winsup/cygwin/include -
I../../../gcc/gcc/gcc/../winsup
/w32api/include -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-
prototypes -Wmissi
ng-prototypes -isystem ./include -g -DIN_LIBGCC2 -
D__GCC_FLOAT_NOT_NEEDED -I
. -I. -I../../../gcc/gcc/gcc -I../../../gcc/gcc/gcc/. -
I../../../gcc/gcc/gcc/con
fig -I../../../gcc/gcc/gcc/../include -
I../../../gcc/gcc/gcc/../libbanshee/libco
mpat -I../../../gcc/gcc/gcc/../libbanshee -
I../../../gcc/gcc/gcc/../libbanshee/p
oints-to -DL_fixdfdi -c ../../../gcc/gcc/gcc/libgcc2.c -o
libgcc/./_fixdfdi.o
../../../gcc/gcc/gcc/libgcc2.c: In function `__fixdfdi':
../../../gcc/gcc/gcc/libgcc2.c:961: internal compiler error: tree
check: expecte
d class 'd', have 'd' (function_decl) in
optimize_sibling_and_tail_recursive_cal
ls, at sibcall.c:754
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [libgcc/./_fixdfdi.o] Error 1
make[2]: Leaving directory `/home/tobi/src/gcc/build/gcc/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/tobi/src/gcc/build/gcc/gcc'
make: *** [all-gcc] Error 2
----------------------
This problem doesn't seem to exist on the mainline (I didn't try, but
there are cygwin testresults posted on gcc-testresults)
Please look into this,
- Tobias Schlüter