* compiling glibc-2.1.2
@ 2000-02-20 20:51 James McCollough
2000-02-21 21:46 ` Andy Bradford
2000-02-21 23:14 ` Christopher C. Chimelis
0 siblings, 2 replies; 6+ messages in thread
From: James McCollough @ 2000-02-20 20:51 UTC (permalink / raw)
To: axp-list
I have attempted several times to compile glibc-2.1.2 on my ruffian, but
each time it exits catching signal 11 after trying to compile
nsswirch.c.while compiling this file, gcc takes up more and more cpu and
memory resources, until the machine is completely unusable. It only
happens with this file. Has anyone else had this problem, and is there
a solution? I read the docs carefully, and the faq doesn't address
this.
-James McCollough
output follows:
make[2]: Leaving directory `/home/jamesm/glibc-2.1.2/resolv'
make -C nss subdir_lib
make[2]: Entering directory `/home/jamesm/glibc-2.1.2/nss'
gcc nsswitch.c -c -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-g -mieee -I../include -I. -I/home/jamesm/glibc-build/nss -I..
-I../libio -I/home/jamesm/glibc-build -I../sysdeps/alpha/elf
-I../crypt/sysdeps/unix -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/alpha
-I../sysdeps/unix/sysv/linux/alpha -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/alpha
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/alpha/fpu
-I../sysdeps/alpha -I../sysdeps/wordsize-64 -I../sysdeps/ieee754
-I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -D_LIBC_REENTRANT -include
../include/libc-symbols.h -o /home/jamesm/glibc-build/nss/nsswitch.o
gcc: Internal compiler error: program cc1 got fatal signal 11
make[2]: *** [/home/jamesm/glibc-build/nss/nsswitch.o] Error 1
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: compiling glibc-2.1.2
2000-02-20 20:51 compiling glibc-2.1.2 James McCollough
@ 2000-02-21 21:46 ` Andy Bradford
2000-02-21 21:52 ` furio ercolessi
2000-02-21 22:59 ` Richard Henderson
2000-02-21 23:14 ` Christopher C. Chimelis
1 sibling, 2 replies; 6+ messages in thread
From: Andy Bradford @ 2000-02-21 21:46 UTC (permalink / raw)
To: axp-list
Thus said James McCollough on Sun, 20 Feb 2000 14:51:18 CST:
> I have attempted several times to compile glibc-2.1.2 on my ruffian, but
> each time it exits catching signal 11 after trying to compile
> nsswirch.c.while compiling this file, gcc takes up more and more cpu and
> memory resources, until the machine is completely unusable. It only
> happens with this file. Has anyone else had this problem, and is there
> a solution? I read the docs carefully, and the faq doesn't address
> this.
I'm no expert here, but I've generally thought that signal 11 indicates
that you might have some corrupted memory or something to that effect.
Andy
--
+====== Andy ====== TiK: garbaglio ======+
| Linux is about freedom of choice |
+== http://www.xmission.com/~bradipo/ ===+
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: compiling glibc-2.1.2
2000-02-21 21:46 ` Andy Bradford
@ 2000-02-21 21:52 ` furio ercolessi
2000-02-21 22:59 ` Richard Henderson
1 sibling, 0 replies; 6+ messages in thread
From: furio ercolessi @ 2000-02-21 21:52 UTC (permalink / raw)
To: axp-list
On Mon, Feb 21, 2000 at 02:46:29PM -0700, Andy Bradford wrote:
> I'm no expert here, but I've generally thought that signal 11 indicates
> that you might have some corrupted memory or something to that effect.
The classic reference is http://www.bitwizard.nl/sig11/
furio ercolessi
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: compiling glibc-2.1.2
2000-02-21 21:46 ` Andy Bradford
2000-02-21 21:52 ` furio ercolessi
@ 2000-02-21 22:59 ` Richard Henderson
1 sibling, 0 replies; 6+ messages in thread
From: Richard Henderson @ 2000-02-21 22:59 UTC (permalink / raw)
To: axp-list
On Mon, Feb 21, 2000 at 02:46:29PM -0700, Andy Bradford wrote:
> I'm no expert here, but I've generally thought that signal 11 indicates
> that you might have some corrupted memory or something to that effect.
It can also mean a compiler bug. If the problem is extremely
repeatable, it is more likely to be a compiler bug.
Of course, on Alpha with ECC memory and machine checks, it is
almost certainly not the memory.
r~
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: compiling glibc-2.1.2
2000-02-20 20:51 compiling glibc-2.1.2 James McCollough
2000-02-21 21:46 ` Andy Bradford
@ 2000-02-21 23:14 ` Christopher C. Chimelis
2000-02-21 23:35 ` James McCollough
1 sibling, 1 reply; 6+ messages in thread
From: Christopher C. Chimelis @ 2000-02-21 23:14 UTC (permalink / raw)
To: James McCollough; +Cc: axp-list
On Sun, 20 Feb 2000, James McCollough wrote:
>
> I have attempted several times to compile glibc-2.1.2 on my ruffian, but
> each time it exits catching signal 11 after trying to compile
> nsswirch.c.while compiling this file, gcc takes up more and more cpu and
> memory resources, until the machine is completely unusable. It only
> happens with this file. Has anyone else had this problem, and is there
> a solution? I read the docs carefully, and the faq doesn't address
> this.
Having compiled glibc about 100 times in the past few months, I can
honestly say that compiling that particular file (nsswitch.c) consumes an
enormous amount of resources. I have 128MB RAM on my SX and another 512MB
of swap and it uses quite a sizeable portion of that. Most likely, you
exhausted your available memory. How much RAM do you have and how big is
your swap?
It is a possibility that you're hitting a compiler bug as well,
though. Try removing optimisation when compiling that file (or reduce it
to -O rather than -O2). That usually fixes ICE's.
C
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: compiling glibc-2.1.2
2000-02-21 23:14 ` Christopher C. Chimelis
@ 2000-02-21 23:35 ` James McCollough
0 siblings, 0 replies; 6+ messages in thread
From: James McCollough @ 2000-02-21 23:35 UTC (permalink / raw)
To: axp-list
"Christopher C. Chimelis" wrote:
>
> On Sun, 20 Feb 2000, James McCollough wrote:
>
> >
> > I have attempted several times to compile glibc-2.1.2 on my ruffian, but
> > each time it exits catching signal 11 after trying to compile
> > nsswirch.c.while compiling this file, gcc takes up more and more cpu and
> > memory resources, until the machine is completely unusable. It only
> > happens with this file. Has anyone else had this problem, and is there
> > a solution? I read the docs carefully, and the faq doesn't address
> > this.
>
> Having compiled glibc about 100 times in the past few months, I can
> honestly say that compiling that particular file (nsswitch.c) consumes an
> enormous amount of resources. I have 128MB RAM on my SX and another 512MB
> of swap and it uses quite a sizeable portion of that. Most likely, you
> exhausted your available memory. How much RAM do you have and how big is
> your swap?
Now that I have watched it fail (before I was asleep or otherwise
occupied while it was compiling), It is simply running out of swap. I
have 128 MB of RAM and 256 MB of swap. I guess I'll have to increase
it.
thanks
-James McCollough
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-02-21 23:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-20 20:51 compiling glibc-2.1.2 James McCollough
2000-02-21 21:46 ` Andy Bradford
2000-02-21 21:52 ` furio ercolessi
2000-02-21 22:59 ` Richard Henderson
2000-02-21 23:14 ` Christopher C. Chimelis
2000-02-21 23:35 ` James McCollough
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox