This is the mail archive of the 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]

Re: gcc-3.0.2: i686: builds; i586: fails

Some further information on the build failure for i686, glibc-2.0.7,
SuSE-6.1, Kernel: linux-2.2.7.SuSE:

 Linux version 2.2.7 ... (gcc version ... SMP

The error message

> ../../gcc-3.0.2/gcc/config/i386/linux.h:237:26: sys/ucontext.h: No such file

was right.

A  "locate ucontext.h"  exhibits:


and /usr/src/linux-2.2.7.SuSE/include/asm-i386/ucontext.h contains

#ifndef _ASMi386_UCONTEXT_H
#define _ASMi386_UCONTEXT_H

struct ucontext {
        unsigned long     uc_flags;
        struct ucontext  *uc_link;
        stack_t           uc_stack;
        struct sigcontext uc_mcontext;
        sigset_t          uc_sigmask;   /* mask last for extensibility */

#endif /* !_ASMi386_UCONTEXT_H */

I have no idea, which location for this file is right one ...

 ... and, oh, btw. configure was called with


from a separte build directory from outside the source.

   Peter Schorsch

> Hi,
> gcc-3.0.2 will also not build on a (unmodified) SuSE-6.1,
> glibc-2.0.7, binutils 2.9.1 (with BFD system.
> The build stops with the following error message:
> ./xgcc -B./ -B/opt/gcc3.0.2/i686-pc-linux-gnu/bin/ -isystem
> /opt/gcc3.0.2/i686-p
> c-linux-gnu/include -O2   -DIN_GCC    -W -Wall -Wwrite-strings
> -Wstrict-prototyp
> es -Wmissing-prototypes -isystem ./include  -fPIC -g1  -DIN_LIBGCC2
> T_NOT_NEEDED  -I. -I. -I../../gcc-3.0.2/gcc -I../../gcc-3.0.2/gcc/.
> -I../../gcc-
> 3.0.2/gcc/config -I../../gcc-3.0.2/gcc/../include  -DL_muldi3 -c
> ../../gcc-3.0.2
> /gcc/libgcc2.c -o libgcc/./_muldi3.o
> In file included from tm.h:7,
>                  from ../../gcc-3.0.2/gcc/config/i386/xm-i386.h:39,
>                  from tconfig.h:3,
>                  from ../../gcc-3.0.2/gcc/libgcc2.c:36:
> ../../gcc-3.0.2/gcc/config/i386/linux.h:237:26: sys/ucontext.h: No such file
> or
> directory
> make[3]: *** [libgcc/./_muldi3.o] Error 1
> make[3]: Leaving directory `/opt/home/pete/gcc295.2/build/gcc'
> make[2]: *** [libgcc.a] Error 2
> make[2]: Leaving directory `/opt/home/pete/gcc295.2/build/gcc'
> make[1]: *** [stage1_build] Error 2
> make[1]: Leaving directory `/opt/home/pete/gcc295.2/build/gcc'
> make: *** [bootstrap] Error 2
> At least at i can't find any
> note about software requirements for a successfull build of the gcc-3.0
> series .(?).
> Cheers,
>   Peter Schorsch

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