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]

[Bug c/14127] New: Problem installing 3.3.2


Sorry but I am new to this.  So please forgive me, if I get things wrong.


I have previously submitted the following to gcc-help:

Re: Problem installing 3.3.2

Dear All,

I'm afraid that I've hit a brickwall.  

configure runs ok.

make eventually stops with the following error:

In file included from tconfig.h:23,
		     from libgcc2.c:36:
config/i386/linux.h:233:26: sys/ucontext.h: No such file or directory
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory '/home/jw/gcc-3.3.2/gcc'
make[1]: *** [libgcc.a] Error 2
make[2]: Leaving directory '/home/jw/gcc-3.3.2/gcc'
make: *** [all-gcc] Error 2

As background info:

My kernel is Linux 2.2.16.

ucontext.h is in /usr/src/linux-2.2.16/linux/include/asm-i386 (amongst others).

Do I need to copy this elsewhere?  I could not find a sys directory.

I am trying to do this because gettext does not compile.  I need to recompile 
gettext, because glib does not compile.  I need glib because gtk does not .. I 
need gtk because netscape ...   .  "... She swallowed the spider to catch the 
fly, I don't why she swallowed the fly. Perhaps she'll die."

Please can someone help me, as this is starting to cost me my marriage (lol).

Regards


In an attempt to solve it myself, I copied ucontext.h to gcc/config/i386 and 
edited linux.h to refer to "ucontext.h" not <sys/ucontext.h>.

I then reran make and got the following:


libgcc.c: In function '__floatdisf':
libgcc2.c:1104 internal compiler error: in emit_move_isn, at expr.c:3165
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

make[2]: *** [libgcc/./_floatdisf.o] Error 1
make[2]: Leaving directory '/home/jw/gcc-3.3.2/gcc'
make[1]: *** [libgcc.a] Error 2
make[2]: Leaving directory '/home/jw/gcc-3.3.2/gcc'
make: *** [all-gcc] Error 2

The bugs.html tells me to run gcc -v.  Unfortunately this shows my previous 
installed version, and my problem is with the new install.

Sorry but i don't know what you mean with preprocessed source.  If someone 
spells out in idiot terms what you want, I'll be happy to send.

My ucontext.h reads as follows:

#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 */

-- 
           Summary: Problem installing 3.3.2
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jonathan at fesoftware dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14127


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