* Cannot compile kernel 2.1.109
@ 1998-07-21 4:00 cwhuang
1998-07-21 4:00 ` Jack Duan
0 siblings, 1 reply; 5+ messages in thread
From: cwhuang @ 1998-07-21 4:00 UTC (permalink / raw)
Is there anybody compiled kernel 2.1.109 successful on Linux/Alpha?
I always encountered this error:
make[2]: Entering directory `/usr/src/linux-2.1.109/mm'
gcc -D__KERNEL__ -I/usr/src/linux-2.1.109/include -Wall
-Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -c -o page_alloc.o
page_all
oc.c
page_alloc.c: In function `__free_page':
page_alloc.c:170: internal error--unrecognizable insn:
(jump_insn 300 292 301 (return) -1 (nil)
(nil))
cpp: output pipe has been closed
{standard input}: Assembler messages:
{standard input}:177: Warning: Missing .end or .bend at end of file
gcc Internal compiler error: program cc1 got fatal signal 6
make[2]: *** [page_alloc.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.1.109/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.109/mm'
make: *** [linuxsubdirs] Error 2
What's wrong with it?
My box is Alpha UDB, running Red Hat 5.1 with kernel 2.0.34.
--
C.W.Huang
Coordinator of Linux HOWTOs Chinese Translation
http://www.phys.ntu.edu.tw/~cwhuang/pub/os/linux/CLDP/
CLDP mailing list: ldp-trans@linux.org.tw
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot compile kernel 2.1.109
1998-07-21 4:00 Cannot compile kernel 2.1.109 cwhuang
@ 1998-07-21 4:00 ` Jack Duan
1998-07-22 4:00 ` Cannot compile kernel 2.1.110 cwhuang
0 siblings, 1 reply; 5+ messages in thread
From: Jack Duan @ 1998-07-21 4:00 UTC (permalink / raw)
I have the same problem with egcs 1.0.3a with optimization, along with
others in this group. Please search for keyword "compile" in this
newgroup using dejanews.com for the past a few days, and you will get your
answer.
Jack
In article <Pine.BSF.3.96.980721145508.2208A-100000@freebsd.phys.ntu.edu.tw>,
cwhuang <cwhuang@freebsd.phys.ntu.edu.tw> wrote:
>
>Is there anybody compiled kernel 2.1.109 successful on Linux/Alpha?
>I always encountered this error:
>
>make[2]: Entering directory `/usr/src/linux-2.1.109/mm'
>gcc -D__KERNEL__ -I/usr/src/linux-2.1.109/include -Wall
>-Wstrict-prototypes -O2
> -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -c -o page_alloc.o
>page_all
>oc.c
>page_alloc.c: In function `__free_page':
>page_alloc.c:170: internal error--unrecognizable insn:
>(jump_insn 300 292 301 (return) -1 (nil)
> (nil))
>cpp: output pipe has been closed
>{standard input}: Assembler messages:
>{standard input}:177: Warning: Missing .end or .bend at end of file
>gcc Internal compiler error: program cc1 got fatal signal 6
>make[2]: *** [page_alloc.o] Error 1
>make[2]: Leaving directory `/usr/src/linux-2.1.109/mm'
>make[1]: *** [first_rule] Error 2
>make[1]: Leaving directory `/usr/src/linux-2.1.109/mm'
>make: *** [linuxsubdirs] Error 2
>
>What's wrong with it?
>
>My box is Alpha UDB, running Red Hat 5.1 with kernel 2.0.34.
>
>--
>C.W.Huang
>Coordinator of Linux HOWTOs Chinese Translation
>http://www.phys.ntu.edu.tw/~cwhuang/pub/os/linux/CLDP/
>CLDP mailing list: ldp-trans@linux.org.tw
>
>
--
Jack Y Duan ... jduan@decade.chem.indiana.edu
^------------------------------------------------------------------^
^ permalink raw reply [flat|nested] 5+ messages in thread
* Cannot compile kernel 2.1.110
1998-07-21 4:00 ` Jack Duan
@ 1998-07-22 4:00 ` cwhuang
1998-07-22 4:00 ` Douglas G. Henke
0 siblings, 1 reply; 5+ messages in thread
From: cwhuang @ 1998-07-22 4:00 UTC (permalink / raw)
I tried to compile 2.1.110 yesterday, but failed again,
with different reason...
Why?
make[2]: Entering directory `/usr/src/linux-2.1.110/mm'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.1.110/mm'
gcc -D__KERNEL__ -I/usr/src/linux-2.1.110/include -Wall
-Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -c -o vmalloc.o
vmalloc.c
vmalloc.c: In function `get_vm_area':
vmalloc.c:165: `VMALLOC_END' undeclared (first use this function)
vmalloc.c:165: (Each undeclared identifier is reported only once
vmalloc.c:165: for each function it appears in.)
make[3]: *** [vmalloc.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.1.110/mm'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.1.110/mm'
make[1]: *** [linuxsubdirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.110'
make: *** [mm] Error 2
--
C.W.Huang
Coordinator of Linux HOWTOs Chinese Translation
http://www.phys.ntu.edu.tw/~cwhuang/pub/os/linux/CLDP/
CLDP mailing list: ldp-trans@linux.org.tw
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot compile kernel 2.1.110
1998-07-22 4:00 ` Cannot compile kernel 2.1.110 cwhuang
@ 1998-07-22 4:00 ` Douglas G. Henke
1998-07-22 4:00 ` Peter Rye
0 siblings, 1 reply; 5+ messages in thread
From: Douglas G. Henke @ 1998-07-22 4:00 UTC (permalink / raw)
cwhuang <cwhuang@freebsd.phys.ntu.edu.tw> writes:
> I tried to compile 2.1.110 yesterday, but failed again,
> with different reason...
> Why?
>
> vmalloc.c:165: `VMALLOC_END' undeclared (first use this function)
Yes.
There is a bad vmalloc patch that slipped in somehwere in the general
vicinity of 2.1.110pre2->2.1.110. AFAIK, it is still in the latest
(2.1.111pre1?). If you want to compile a kernel this recent, you must
back out the vmalloc patch (patch -R) by hand.
Also, you might think about subscribing to the kernel mailing list,
where this issue (and others like it) get covered in painful detail,
some days before you'll see them mentioned on Uselessnet. Beware,
though: the kernel ML has >200 messages per day, at times.
--
Headers munged to avoid email spam. Mail to henke at phoenix dot net.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cannot compile kernel 2.1.110
1998-07-22 4:00 ` Douglas G. Henke
@ 1998-07-22 4:00 ` Peter Rye
0 siblings, 0 replies; 5+ messages in thread
From: Peter Rye @ 1998-07-22 4:00 UTC (permalink / raw)
henke@rocza.krall.org (Douglas G. Henke) writes:
> cwhuang <cwhuang@freebsd.phys.ntu.edu.tw> writes:
> > I tried to compile 2.1.110 yesterday, but failed again,
> > with different reason...
> > Why?
> >
> > vmalloc.c:165: `VMALLOC_END' undeclared (first use this function)
>
> Yes.
>
> There is a bad vmalloc patch that slipped in somehwere in the general
> vicinity of 2.1.110pre2->2.1.110. AFAIK, it is still in the latest
> (2.1.111pre1?). If you want to compile a kernel this recent, you must
> back out the vmalloc patch (patch -R) by hand.
Unfortunately this won't quite allow a compile, because there is a bit more
alpha specific stuff that is broken.
A patch for 2.1.110/Alpha was posted on the kernel list today. I've just
compiled a new kernel which seems OK.
It should be available in the kernel list archives somewhere.
I'll email you a copy anyway as it's not too big.
Linux picu-sgh.demon.co.uk 2.1.110 #7 Wed Jul 22 19:15:30 BST 1998 alpha unknown
8:44pm up 1:06, 3 users, load average: 0.54, 0.14, 0.04
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-07-22 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-21 4:00 Cannot compile kernel 2.1.109 cwhuang
1998-07-21 4:00 ` Jack Duan
1998-07-22 4:00 ` Cannot compile kernel 2.1.110 cwhuang
1998-07-22 4:00 ` Douglas G. Henke
1998-07-22 4:00 ` Peter Rye
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox