public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14127] New: Problem installing 3.3.2
@ 2004-02-12 14:42 jonathan at fesoftware dot com
  2004-02-12 15:13 ` [Bug c/14127] " jonathan at fesoftware dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jonathan at fesoftware dot com @ 2004-02-12 14:42 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug c/14127] Problem installing 3.3.2
  2004-02-12 14:42 [Bug c/14127] New: Problem installing 3.3.2 jonathan at fesoftware dot com
@ 2004-02-12 15:13 ` jonathan at fesoftware dot com
  2004-02-12 16:44 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jonathan at fesoftware dot com @ 2004-02-12 15:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jonathan at fesoftware dot com  2004-02-12 15:13 -------
Sorry, but I forgot to give the command that caused the error:

/home/jw/gcc-3.3.2/gcc/xgcc -B/home/jw/gcc/ -B/usr/local/i686-pc-linux-
gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-
gnu/include -02 -DIN_GCC     -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -
DIN_LIBGCC2 -D__GCCFLOAT_NOT_NEEDED  -I. -I. -I. -I./. -I/config -
I./../include  -DL_floatdisf -c ./libgcc2.c -o libgcc/./_floatdisf.o

I think!



-- 


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


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

* [Bug c/14127] Problem installing 3.3.2
  2004-02-12 14:42 [Bug c/14127] New: Problem installing 3.3.2 jonathan at fesoftware dot com
  2004-02-12 15:13 ` [Bug c/14127] " jonathan at fesoftware dot com
@ 2004-02-12 16:44 ` pinskia at gcc dot gnu dot org
  2004-02-12 16:58 ` jonathan at fesoftware dot com
  2004-02-14 20:23 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-12 16:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-12 16:44 -------
What version of glibc do you have?

-- 


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


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

* [Bug c/14127] Problem installing 3.3.2
  2004-02-12 14:42 [Bug c/14127] New: Problem installing 3.3.2 jonathan at fesoftware dot com
  2004-02-12 15:13 ` [Bug c/14127] " jonathan at fesoftware dot com
  2004-02-12 16:44 ` pinskia at gcc dot gnu dot org
@ 2004-02-12 16:58 ` jonathan at fesoftware dot com
  2004-02-14 20:23 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jonathan at fesoftware dot com @ 2004-02-12 16:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jonathan at fesoftware dot com  2004-02-12 16:58 -------
Subject: RE:  Problem installing 3.3.2

2.0 I think.  I'm truing to install 2.2.3 but getting errors.  To be honest
I'm not sure.  /usr/local/lib contains glib-2.0 - is this what I should be
looking for????

Regards

> -----Original Message-----
> From: pinskia at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org]
> Sent: 12 February 2004 16:45
> To: jonathan@fesoftware.com
> Subject: [Bug c/14127] Problem installing 3.3.2
>
>
>
> ------- Additional Comments From pinskia at gcc dot gnu dot org
> 2004-02-12 16:44 -------
> What version of glibc do you have?
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14127
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.580 / Virus Database: 367 - Release Date: 06/02/2004
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 06/02/2004



-- 


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


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

* [Bug c/14127] Problem installing 3.3.2
  2004-02-12 14:42 [Bug c/14127] New: Problem installing 3.3.2 jonathan at fesoftware dot com
                   ` (2 preceding siblings ...)
  2004-02-12 16:58 ` jonathan at fesoftware dot com
@ 2004-02-14 20:23 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-14 20:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-14 20:23 -------
Not gcc's bug. You have to have a newer glibc (note the c), install a newer glibc first and 
try again.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-02-14 20:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-12 14:42 [Bug c/14127] New: Problem installing 3.3.2 jonathan at fesoftware dot com
2004-02-12 15:13 ` [Bug c/14127] " jonathan at fesoftware dot com
2004-02-12 16:44 ` pinskia at gcc dot gnu dot org
2004-02-12 16:58 ` jonathan at fesoftware dot com
2004-02-14 20:23 ` pinskia at gcc dot gnu dot org

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).