* Sun4d - assembler errors
@ 2004-08-18 23:01 Chris Newport
2004-08-18 23:05 ` William Lee Irwin III
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Chris Newport @ 2004-08-18 23:01 UTC (permalink / raw)
To: sparclinux
Could this be the smoking gun ?
Looks like the compiler does not like this inline assembly code.
Sorry, this is outside of my skills to fix.
gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 -nostdinc -iwithprefix include -DKBUILD_BASENAME=sun4d_smp -c -o sun4d_smp.o sun4d_smp.c
sun4d_smp.c: In function `smp4d_cross_call':
sun4d_smp.c:347: warning: ignoring asm-specifier for non-static local variable `f'
sun4d_smp.c:348: warning: ignoring asm-specifier for non-static local variable `a1'
sun4d_smp.c:349: warning: ignoring asm-specifier for non-static local variable `a2'
sun4d_smp.c:350: warning: ignoring asm-specifier for non-static local variable `a3'
sun4d_smp.c:351: warning: ignoring asm-specifier for non-static local variable `a4'
sun4d_smp.c:352: warning: ignoring asm-specifier for non-static local variable `a5'
Thanks,
Chris Newport
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Sun4d - assembler errors
2004-08-18 23:01 Sun4d - assembler errors Chris Newport
@ 2004-08-18 23:05 ` William Lee Irwin III
2004-08-18 23:15 ` C.Newport
2004-08-18 23:16 ` William Lee Irwin III
2 siblings, 0 replies; 4+ messages in thread
From: William Lee Irwin III @ 2004-08-18 23:05 UTC (permalink / raw)
To: sparclinux
On Thu, Aug 19, 2004 at 12:01:06AM +0100, Chris Newport wrote:
> Could this be the smoking gun ?
> Looks like the compiler does not like this inline assembly code.
> Sorry, this is outside of my skills to fix.
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7 -nostdinc -iwithprefix include -DKBUILD_BASENAME=sun4d_smp -c -o sun4d_smp.o sun4d_smp.c
> sun4d_smp.c: In function `smp4d_cross_call':
> sun4d_smp.c:347: warning: ignoring asm-specifier for non-static local variable `f'
> sun4d_smp.c:348: warning: ignoring asm-specifier for non-static local variable `a1'
gcc/binutils versions?
-- wli
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sun4d - assembler errors
2004-08-18 23:01 Sun4d - assembler errors Chris Newport
2004-08-18 23:05 ` William Lee Irwin III
@ 2004-08-18 23:15 ` C.Newport
2004-08-18 23:16 ` William Lee Irwin III
2 siblings, 0 replies; 4+ messages in thread
From: C.Newport @ 2004-08-18 23:15 UTC (permalink / raw)
To: sparclinux
On Thursday 19 August 2004 12:05 am, William Lee Irwin III wrote:
> On Thu, Aug 19, 2004 at 12:01:06AM +0100, Chris Newport wrote:
> > Could this be the smoking gun ?
> > Looks like the compiler does not like this inline assembly code.
> > Sorry, this is outside of my skills to fix.
> > gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> > -fomit-frame-pointer -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
> > -nostdinc -iwithprefix include -DKBUILD_BASENAME=sun4d_smp -c -o
> > sun4d_smp.o sun4d_smp.c sun4d_smp.c: In function `smp4d_cross_call':
> > sun4d_smp.c:347: warning: ignoring asm-specifier for non-static local
> > variable `f' sun4d_smp.c:348: warning: ignoring asm-specifier for
> > non-static local variable `a1'
>
> gcc/binutils versions?
gcc 3.2.2
binutils 2.14.90.0.5
glibc-2.3.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sun4d - assembler errors
2004-08-18 23:01 Sun4d - assembler errors Chris Newport
2004-08-18 23:05 ` William Lee Irwin III
2004-08-18 23:15 ` C.Newport
@ 2004-08-18 23:16 ` William Lee Irwin III
2 siblings, 0 replies; 4+ messages in thread
From: William Lee Irwin III @ 2004-08-18 23:16 UTC (permalink / raw)
To: sparclinux
On Thursday 19 August 2004 12:05 am, William Lee Irwin III wrote:
>> gcc/binutils versions?
On Thu, Aug 19, 2004 at 12:15:10AM +0100, C.Newport wrote:
> gcc 3.2.2
> binutils 2.14.90.0.5
> glibc-2.3.2
Could you send the disassembly of that function, extracted from a
fully-linked kernel?
-- wli
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-08-18 23:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-18 23:01 Sun4d - assembler errors Chris Newport
2004-08-18 23:05 ` William Lee Irwin III
2004-08-18 23:15 ` C.Newport
2004-08-18 23:16 ` William Lee Irwin III
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.