This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bootstrap/8145: cannot build gcc-3.2 -- missing file ucontext.h


>Number:         8145
>Category:       bootstrap
>Synopsis:       cannot build gcc-3.2 -- missing file ucontext.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 04 09:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     g.margolin@weizmann.ac.il
>Release:        gcc-3.2
>Organization:
>Environment:
Suse linux 6.0
>Description:
Dear developers,

I loaded gcc-3.2 to install new c++ compiler. When I run

make bootstrap

after some work it exits with error, saying that  file
sys/ucontext.h is not found. I did not provide any flags to configure. I attached the file with the last lines of make.

Thank you for your help,

Gennady Margolin
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="gcc-error"
Content-Disposition: inline; filename="gcc-error"

make[3]: Entering directory `/home2/GCC/gcc-3.2-obj/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else /bin/sh ../../gcc-3.2/gcc/mkinstalldirs $d; fi; \
done
mkdir libgcc
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/usr/local/i586-pc-linux-gnu/bin/ -isystem /usr/local/i586-pc-linux-gnu/include -isystem /usr/local/i586-pc-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-3.2/gcc -I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config -I../../gcc-3.2/gcc/../include  -DL_muldi3 -c ../../gcc-3.2/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from tconfig.h:21,
                 from ../../gcc-3.2/gcc/libgcc2.c:36:
../../gcc-3.2/gcc/config/i386/linux.h:225:26: sys/ucontext.h: No such file or directory
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/home2/GCC/gcc-3.2-obj/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/home2/GCC/gcc-3.2-obj/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home2/GCC/gcc-3.2-obj/gcc'
make: *** [bootstrap4] Error 2 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]