This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/3265: GCC 3.0 fails to build host=freebsd4.3 target=i386linux
- To: gcc-gnats at gcc dot gnu dot org
- Subject: other/3265: GCC 3.0 fails to build host=freebsd4.3 target=i386linux
- From: richard dot sanders at newisys dot com
- Date: 19 Jun 2001 17:47:07 -0000
- Reply-To: richard dot sanders at newisys dot com
>Number: 3265
>Category: other
>Synopsis: GCC 3.0 fails to build host=freebsd4.3 target=i386linux
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 19 10:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Richard Sanders
>Release: 3.0
>Organization:
>Environment:
i386 FreeBSD 4.3, make v3.79, gcc v2.95.3
>Description:
Cross compilation with FreeBSD host and linux target fails with gcc 3.0. Complains about missing header files. Also fails with 2.95.3 for missing headers although they are different headers and I don't have a capture.
/usr/home/belar/xgcc/build-gcc/gcc/xgcc -B/usr/home/belar/xgcc/build-gcc/gcc/ -B/xgcc/x86/i386-pc-linux-gnu/bin/ -B/xgcc/x86/i386-pc-linux-gnu/lib/ -isystem /xgcc/x86/i386-pc-linux-gnu/include -O2 -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.0/gcc -I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config -I../../gcc-3.0/gcc/../include -DL_muldi3 -c ../../gcc-3.0/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from tm.h:6,
from ../../gcc-3.0/gcc/config/i386/xm-i386.h:39,
from ../../gcc-3.0/gcc/tconfig.h:3,
from ../../gcc-3.0/gcc/libgcc2.c:36:
../../gcc-3.0/gcc/config/i386/linux.h:236:20: signal.h: No such file or directory
../../gcc-3.0/gcc/config/i386/linux.h:237:26: sys/ucontext.h: No such file or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/usr/home/belar/xgcc/build-gcc/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/usr/home/belar/xgcc/build-gcc/gcc'
make: *** [all-gcc] Error 2
>How-To-Repeat:
[binutils already built/installed]
tar -zxf gcc-3.0.tar.gz
mkdir build-gcc
cd build-gcc
../gcc-3.0/configure --target=i386-pc-linux-gnu --prefix=/xgcc/x86
make all
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: