public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Re: frysk-core ./Makefile.am ./ChangeLog frysk/pkg ...
       [not found] <20070201195315.29719.qmail@sourceware.org>
@ 2007-02-02 15:14 ` Mark Wielaard
  2007-02-02 22:26   ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Wielaard @ 2007-02-02 15:14 UTC (permalink / raw)
  To: frysk; +Cc: npremji

Hi Nurdin,

On Thu, 2007-02-01 at 19:53 +0000, npremji@sourceware.org wrote:
> 	frysk
> 	/pkglibdir/CL
> 	* funit-stacktrace-asm.S: Added.
> 	* funit-stacktrace-static-asm.S: Added.

I am unable to get these to compile on my x86_64 box.

gcc  -g -O -c -o
frysk/pkglibdir/funit-stackframe-asm.o ../../frysk/frysk-core/frysk/pkglibdir/funit-stackframe-asm.S
funit-stackframe.c: Assembler messages:
funit-stackframe.c:6: Error: suffix or operands invalid for `push'
funit-stackframe.c:10: Error: suffix or operands invalid for `pop'
funit-stackframe.c:17: Error: suffix or operands invalid for `push'
funit-stackframe.c:18: Error: suffix or operands invalid for `push'
funit-stackframe.c:20: Error: suffix or operands invalid for `push'
funit-stackframe.c:23: Error: suffix or operands invalid for `pop'
funit-stackframe.c:24: Error: suffix or operands invalid for `pop'
make[1]: *** [frysk/pkglibdir/funit-stackframe-asm.o] Error 1

It seems to compile fine on x86 though.

But I don't know how to fix this. Any clue?

Thanks,

Mark

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

* Re: frysk-core ./Makefile.am ./ChangeLog frysk/pkg ...
  2007-02-02 15:14 ` frysk-core ./Makefile.am ./ChangeLog frysk/pkg Mark Wielaard
@ 2007-02-02 22:26   ` Andrew Cagney
  2007-02-03  1:14     ` Mark Wielaard
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cagney @ 2007-02-02 22:26 UTC (permalink / raw)
  To: Mark Wielaard; +Cc: frysk, npremji

Try now.
frysk-core/frysk/pkglibdir/funit-asm.h has been re-written.  The x86-64 
assembler might be correct.  Regardless, hopefully, the new style is 
sufficiently flexible for an easy fix.
Andrew

Mark Wielaard wrote:
> Hi Nurdin,
>
> On Thu, 2007-02-01 at 19:53 +0000, npremji@sourceware.org wrote:
>   
>> 	frysk
>> 	/pkglibdir/CL
>> 	* funit-stacktrace-asm.S: Added.
>> 	* funit-stacktrace-static-asm.S: Added.
>>     
>
> I am unable to get these to compile on my x86_64 box.
>
> gcc  -g -O -c -o
> frysk/pkglibdir/funit-stackframe-asm.o ../../frysk/frysk-core/frysk/pkglibdir/funit-stackframe-asm.S
> funit-stackframe.c: Assembler messages:
> funit-stackframe.c:6: Error: suffix or operands invalid for `push'
> funit-stackframe.c:10: Error: suffix or operands invalid for `pop'
> funit-stackframe.c:17: Error: suffix or operands invalid for `push'
> funit-stackframe.c:18: Error: suffix or operands invalid for `push'
> funit-stackframe.c:20: Error: suffix or operands invalid for `push'
> funit-stackframe.c:23: Error: suffix or operands invalid for `pop'
> funit-stackframe.c:24: Error: suffix or operands invalid for `pop'
> make[1]: *** [frysk/pkglibdir/funit-stackframe-asm.o] Error 1
>
> It seems to compile fine on x86 though.
>
> But I don't know how to fix this. Any clue?
>
> Thanks,
>
> Mark
>
>   

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

* Re: frysk-core ./Makefile.am ./ChangeLog frysk/pkg ...
  2007-02-02 22:26   ` Andrew Cagney
@ 2007-02-03  1:14     ` Mark Wielaard
  2007-02-05 12:09       ` Mark Wielaard
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Wielaard @ 2007-02-03  1:14 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: frysk, npremji

Hi Andrew,

On Fri, 2007-02-02 at 17:26 -0500, Andrew Cagney wrote:
> Try now.
> frysk-core/frysk/pkglibdir/funit-asm.h has been re-written.  The x86-64 
> assembler might be correct.  Regardless, hopefully, the new style is 
> sufficiently flexible for an easy fix.

It looks like the movl should just be a mov on x86_64. But I am unable
to test since I get (on both x86 and x86_64) the following error:

make[2]: *** No rule to make target `frysk/pkglibdir/funit-stackframe',
needed by `frysk/pkglibdir/funit-stackframe-nodebug'.  Stop.

There are a couple of Makefile rules for
funit-stackframe-asm[-debug|-stripped] but none for the none -asm
versions. How should they be generated?

Thanks,

Mark

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

* Re: frysk-core ./Makefile.am ./ChangeLog frysk/pkg ...
  2007-02-03  1:14     ` Mark Wielaard
@ 2007-02-05 12:09       ` Mark Wielaard
  2007-02-05 16:29         ` Mike Cvet
  0 siblings, 1 reply; 5+ messages in thread
From: Mark Wielaard @ 2007-02-05 12:09 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: frysk, npremji

Hi Andrew,

On Sat, 2007-02-03 at 02:13 +0100, Mark Wielaard wrote:
> On Fri, 2007-02-02 at 17:26 -0500, Andrew Cagney wrote:
> > Try now.
> > frysk-core/frysk/pkglibdir/funit-asm.h has been re-written.  The x86-64 
> > assembler might be correct.  Regardless, hopefully, the new style is 
> > sufficiently flexible for an easy fix.
> 
> It looks like the movl should just be a mov on x86_64.

I made that change:

2007-02-05  Mark Wielaard  <mark@klomp.org>

       * funit-asm.h (STORE __x86_64__): Use mov, not movl.

>  But I am unable
> to test since I get (on both x86 and x86_64) the following error:
>
> make[2]: *** No rule to make target `frysk/pkglibdir/funit-stackframe',
> needed by `frysk/pkglibdir/funit-stackframe-nodebug'.  Stop.
> 
> There are a couple of Makefile rules for
> funit-stackframe-asm[-debug|-stripped] but none for the none -asm
> versions. How should they be generated?

Thanks for fixing those. I have disabled the associated tests and filed
a bug report for them.

2007-02-05  Mark Wielaard  <mark@klomp.org>

       * TestStackFrame.java (testDebug): Mark as broken #3968.
       (testNoDebug): Likewise.
       (testStripped): Likewise.
       (testStaticDebug): Likewise.
       (testStaticNoDebug): Likewise.
       (testStaticStripped): Likewise.

Thanks,

Mark

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

* Re: frysk-core ./Makefile.am ./ChangeLog frysk/pkg ...
  2007-02-05 12:09       ` Mark Wielaard
@ 2007-02-05 16:29         ` Mike Cvet
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Cvet @ 2007-02-05 16:29 UTC (permalink / raw)
  To: Mark Wielaard; +Cc: Andrew Cagney, frysk, npremji


> Thanks for fixing those. I have disabled the associated tests and filed
> a bug report for them.
>
> 2007-02-05  Mark Wielaard  <mark@klomp.org>
>
>        * TestStackFrame.java (testDebug): Mark as broken #3968.
>        (testNoDebug): Likewise.
>        (testStripped): Likewise.
>        (testStaticDebug): Likewise.
>        (testStaticNoDebug): Likewise.
>        (testStaticStripped): Likewise.
>
> Thanks,
>
> Mark
>
>   

My fault, sorry.

- Mike

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

end of thread, other threads:[~2007-02-05 16:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20070201195315.29719.qmail@sourceware.org>
2007-02-02 15:14 ` frysk-core ./Makefile.am ./ChangeLog frysk/pkg Mark Wielaard
2007-02-02 22:26   ` Andrew Cagney
2007-02-03  1:14     ` Mark Wielaard
2007-02-05 12:09       ` Mark Wielaard
2007-02-05 16:29         ` Mike Cvet

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