* Re: 2.2.13pre14
[not found] <3.0.6.32.19990929093345.00a53100@216.207.184.2>
@ 1999-09-29 16:51 ` Rich Payne
1999-09-29 17:54 ` 2.2.13pre14 Jay.Estabrook
0 siblings, 1 reply; 6+ messages in thread
From: Rich Payne @ 1999-09-29 16:51 UTC (permalink / raw)
To: Barrett G. Lyon; +Cc: axp-list
On Wed, 29 Sep 1999, Barrett G. Lyon wrote:
> At 11:37 AM 9/29/99 -0400, you wrote:
> >
> >Has anybody tried 2.2.13pre14 on Alpha. When compiling I get this:
> >
> >gcc -D__KERNEL__ -I/usr/src/linux-2.2.13pre14/include -Wall
> -Wstrict-prototypes
> >-O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -mno-fp-regs
> >-ffix ed-8 -mcpu=ev6 -Wa,-mev6 -c -o time.o time.c
> >time.c: In function `warp_clock':
> >time.c:150: `xtime_lock' undeclared (first use in this function)
> >time.c:150: (Each undeclared identifier is reported only once
> >time.c:150: for each function it appears in.)
> >time.c: In function `do_adjtimex':
> >time.c:251: `xtime_lock' undeclared (first use in this function)
> >make[2]: *** [time.o] Error 1
> >make[2]: Leaving directory `/usr/src/linux-2.2.13pre14/kernel'
> >make[1]: *** [first_rule] Error 2
> >make[1]: Leaving directory `/usr/src/linux-2.2.13pre14/kernel'
> >make: *** [_dir_kernel] Error 2
> >
>
> Arsenic runs it, try compiling w/out RTC.
>
Nope, RTC makes no difference. It looks like an SMP thing. If I compile
the kernel as UP it works fine. SMP fails!
--rdp
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: 2.2.13pre14
1999-09-29 16:51 ` 2.2.13pre14 Rich Payne
@ 1999-09-29 17:54 ` Jay.Estabrook
1999-09-29 17:28 ` 2.2.13pre14 Greg Johnson
0 siblings, 1 reply; 6+ messages in thread
From: Jay.Estabrook @ 1999-09-29 17:54 UTC (permalink / raw)
To: axp-list
>>> Rich Payne said:
> On Wed, 29 Sep 1999, Barrett G. Lyon wrote:
>
> > At 11:37 AM 9/29/99 -0400, you wrote:
> > >
> > >Has anybody tried 2.2.13pre14 on Alpha. When compiling I get this:
> > >
> > >gcc -D__KERNEL__ -I/usr/src/linux-2.2.13pre14/include -Wall
> > -Wstrict-prototypes
> > >-O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -mno-fp-re
> gs
> > >-ffix ed-8 -mcpu=ev6 -Wa,-mev6 -c -o time.o time.c
> > >time.c: In function `warp_clock':
> > >time.c:150: `xtime_lock' undeclared (first use in this function)
> > >time.c:150: (Each undeclared identifier is reported only once
> > >time.c:150: for each function it appears in.)
> > >time.c: In function `do_adjtimex':
> > >time.c:251: `xtime_lock' undeclared (first use in this function)
> > >make[2]: *** [time.o] Error 1
> > >make[2]: Leaving directory `/usr/src/linux-2.2.13pre14/kernel'
> > >make[1]: *** [first_rule] Error 2
> > >make[1]: Leaving directory `/usr/src/linux-2.2.13pre14/kernel'
> > >make: *** [_dir_kernel] Error 2
> > >
> >
> > Arsenic runs it, try compiling w/out RTC.
> >
>
> Nope, RTC makes no difference. It looks like an SMP thing. If I compile
> the kernel as UP it works fine. SMP fails!
Move the xtime_lock definition *outside* the #ifndef __alpha__ block, and
SMP will compile.
It compiles for UP because the lock primitives expand to constants then,
rather than the appropriate SMP inline code.
This will also be part of my alpha-patches for the released 2.2.13, whenever
that is...
--Jay++
-----------------------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
200 Forest Street, Marlboro, MA 01752 Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.2.13pre14
1999-09-29 17:54 ` 2.2.13pre14 Jay.Estabrook
@ 1999-09-29 17:28 ` Greg Johnson
1999-09-29 17:48 ` 2.2.13pre14 Rich Payne
0 siblings, 1 reply; 6+ messages in thread
From: Greg Johnson @ 1999-09-29 17:28 UTC (permalink / raw)
To: axp-list
On Wed, Sep 29, 1999 at 01:54:43PM -0400, Jay.Estabrook@digital.com wrote:
>
> Move the xtime_lock definition *outside* the #ifndef __alpha__ block, and
> SMP will compile.
>
> It compiles for UP because the lock primitives expand to constants then,
> rather than the appropriate SMP inline code.
>
> This will also be part of my alpha-patches for the released 2.2.13, whenever
> that is...
>
> --Jay++
>
> -----------------------------------------------------------------------------
> Jay A Estabrook Alpha Engineering - LINUX Project
> Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
> 200 Forest Street, Marlboro, MA 01752 Jay.Estabrook@compaq.com
> -----------------------------------------------------------------------------
>
Why not try to get your patches integrated with 2.2.13?
Greg
--
Greg Johnson gjohnson@physics.clarku.edu
http://physics.clarku.edu/~gjohnson finger for PGP key
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.2.13pre14
1999-09-29 17:28 ` 2.2.13pre14 Greg Johnson
@ 1999-09-29 17:48 ` Rich Payne
1999-09-29 18:51 ` 2.2.13pre14 Jay.Estabrook
0 siblings, 1 reply; 6+ messages in thread
From: Rich Payne @ 1999-09-29 17:48 UTC (permalink / raw)
To: axp-list
On Wed, 29 Sep 1999, Greg Johnson wrote:
> On Wed, Sep 29, 1999 at 01:54:43PM -0400, Jay.Estabrook@digital.com wrote:
> >
> > Move the xtime_lock definition *outside* the #ifndef __alpha__ block, and
> > SMP will compile.
You know, I did that and it's running fine. Seemed to easy
though :)
> > It compiles for UP because the lock primitives expand to constants then,
> > rather than the appropriate SMP inline code.
> > This will also be part of my alpha-patches for the released 2.2.13, whenever
> > that is...
> >
> > --Jay++
> >
>
> Why not try to get your patches integrated with 2.2.13?
I'd be curious to know that as well. Just not enough time?
--rdp
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.2.13pre14
1999-09-29 17:48 ` 2.2.13pre14 Rich Payne
@ 1999-09-29 18:51 ` Jay.Estabrook
0 siblings, 0 replies; 6+ messages in thread
From: Jay.Estabrook @ 1999-09-29 18:51 UTC (permalink / raw)
To: axp-list
>>> Rich Payne said:
> >
> > Why not try to get your patches integrated with 2.2.13?
>
> I'd be curious to know that as well. Just not enough time?
Correct.
--Jay++
-----------------------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
200 Forest Street, Marlboro, MA 01752 Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* 2.2.13pre14
@ 1999-09-29 15:37 Rich Payne
0 siblings, 0 replies; 6+ messages in thread
From: Rich Payne @ 1999-09-29 15:37 UTC (permalink / raw)
To: axp-list; +Cc: alan
Has anybody tried 2.2.13pre14 on Alpha. When compiling I get this:
gcc -D__KERNEL__ -I/usr/src/linux-2.2.13pre14/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -mno-fp-regs
-ffix ed-8 -mcpu=ev6 -Wa,-mev6 -c -o time.o time.c
time.c: In function `warp_clock':
time.c:150: `xtime_lock' undeclared (first use in this function)
time.c:150: (Each undeclared identifier is reported only once
time.c:150: for each function it appears in.)
time.c: In function `do_adjtimex':
time.c:251: `xtime_lock' undeclared (first use in this function)
make[2]: *** [time.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.13pre14/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.13pre14/kernel'
make: *** [_dir_kernel] Error 2
now I looked at kernel/time.c and xlock_time is defined as
extern rwlock_t xtime_lock;
but inside a #ifndef __alpha__ block
anybody?
This change seems to have been rolled in at pre10, but I'm not sure of
that.
--rdp
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-09-29 18:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3.0.6.32.19990929093345.00a53100@216.207.184.2>
1999-09-29 16:51 ` 2.2.13pre14 Rich Payne
1999-09-29 17:54 ` 2.2.13pre14 Jay.Estabrook
1999-09-29 17:28 ` 2.2.13pre14 Greg Johnson
1999-09-29 17:48 ` 2.2.13pre14 Rich Payne
1999-09-29 18:51 ` 2.2.13pre14 Jay.Estabrook
1999-09-29 15:37 2.2.13pre14 Rich Payne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox