public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/3265: GCC 3.0 fails to build host=freebsd4.3 target=i386linux
@ 2001-06-19 10:56 richard.sanders
  0 siblings, 0 replies; 3+ messages in thread
From: richard.sanders @ 2001-06-19 10:56 UTC (permalink / raw)
  To: gcc-gnats

>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:


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: other/3265: GCC 3.0 fails to build host=freebsd4.3 target=i386linux
@ 2001-06-21 13:27 ljrittle
  0 siblings, 0 replies; 3+ messages in thread
From: ljrittle @ 2001-06-21 13:27 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, ljrittle, richard.sanders

Synopsis: GCC 3.0 fails to build host=freebsd4.3 target=i386linux

State-Changed-From-To: feedback->closed
State-Changed-By: ljrittle
State-Changed-When: Thu Jun 21 13:27:24 2001
State-Changed-Why:
    See fix section with adds specific information on
    what was being done wrong.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3265&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: other/3265: GCC 3.0 fails to build host=freebsd4.3 target=i386linux
@ 2001-06-19 20:19 ljrittle
  0 siblings, 0 replies; 3+ messages in thread
From: ljrittle @ 2001-06-19 20:19 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, ljrittle, nobody, richard.sanders

Synopsis: GCC 3.0 fails to build host=freebsd4.3 target=i386linux

Responsible-Changed-From-To: unassigned->ljrittle
Responsible-Changed-By: ljrittle
Responsible-Changed-When: Tue Jun 19 20:19:43 2001
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: open->feedback
State-Changed-By: ljrittle
State-Changed-When: Tue Jun 19 20:19:43 2001
State-Changed-Why:
    Did you populate the system headers from the target machine
    as per the easy to read instructions?  It looks fairly
    doubtful since you didn't use --with-headers nor discuss
    populating @file{@var{prefix}/@var{target}/sys-include}
    when you reported how to repeat the failure...

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3265&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-21 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-19 10:56 other/3265: GCC 3.0 fails to build host=freebsd4.3 target=i386linux richard.sanders
2001-06-19 20:19 ljrittle
2001-06-21 13:27 ljrittle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).