Hello,

On Thursday 02 August 2007 13:17, Simon Marlow wrote:
> Thorkil Naur wrote:
> > Hello,
> > 
> > This is about the x86 linux build: The error (" Prologue junk?: .globl 
> > stg_ap_p_ret" etc.) is reported again in tonight's build 
> > 
http://darcs.haskell.org/buildbot/head/tnaur%20x86%20Linux%20head/builds/41/step-stage1/0.
 
> > And, as mentioned below, the error disappears when unpulling all the way 
back 
> > past the pointer tagging patch. And it re-appears when the pointer tagging 
> > patch is pulled back in.
> 
> I honestly can't imagine how I introduced a bug in this area with the 
> pointer-tagging patch!
> 
> Can you generate AutoApply.raw_s before and after the pointer-tagging 
> patch, and send me the files please?  Use -keep-raw-s-file, and presumably 
> you need to recompile stage1 after applying the patch, but not the 
libraries.

Sure I will.

In the meantime: The error occurs compiling AutoApply_debug.cmm:

> ../compiler/ghc-inplace -H16m -O  -static -I../gmp/gmpbuild -I. -#include 
HCIncludes.h -fvia-C -dcmm-lint  -hisuf debug_hi -hcsuf debug_hc -osuf 
debug_o -optc-DDEBUG   -c AutoApply_debug.cmm -o AutoApply_debug.debug_o

that has been generated by:

> ../utils/genapply/genapply  >AutoApply_debug.cmm

And the pointer tagging patch has a number of changes to GenApply.hs:

> > darcs changes -s -p 'Pointer Tagging'
> Fri Jul 27 12:41:57 CEST 2007  Simon Marlow <[EMAIL PROTECTED]>
>   * Pointer Tagging
> ...
>     M ./utils/genapply/GenApply.hs -12 +107
> >

So I do see some potential for an effect here.

I had earlier captured the two versions of AutoApply_debug.cmm, they are 
different, so I have attached them. I will get back with the raw_s files 
later.

Best regards
Thorkil

> 
> Cheers,
>       Simon
> 
> > Best regards
> > Thorkil
> > 
> > On Tuesday 31 July 2007 16:58, Thorkil Naur wrote:
> >> Hello,
> >>
> >> On Tuesday 31 July 2007 13:05, Thorkil Naur wrote:
> >>> Hello,
> >>>
> >>> On Tuesday 31 July 2007 09:30, BuildBot Collator wrote:
> >>>> ...
> >>>> tnaur x86 Linux head:          fail (failed stage1)
> >>>> ...
> >>> The latest 4 builds (38, 37, 36, 35) failed building stage 1 with 
> >>>
> > 
(http://darcs.haskell.org/buildbot/head/tnaur%20x86%20Linux%20head/builds/38/step-stage1/0):
> >>>> ...
> >>>> ../compiler/ghc-inplace -H16m -O  -static -I../gmp/gmpbuild -I. 
> > -#include 
> >>> HCIncludes.h -fvia-C -dcmm-lint  -hisuf debug_hi -hcsuf debug_hc -osuf 
> >>> debug_o -optc-DDEBUG   -c Updates.cmm -o Updates.debug_o
> >>>> ../utils/genapply/genapply  >AutoApply_debug.cmm
> >>>> ../compiler/ghc-inplace -H16m -O  -static -I../gmp/gmpbuild -I. 
> > -#include 
> >>> HCIncludes.h -fvia-C -dcmm-lint  -hisuf debug_hi -hcsuf debug_hc -osuf 
> >>> debug_o -optc-DDEBUG   -c AutoApply_debug.cmm -o AutoApply_debug.debug_o
> >>>> Prologue junk?: .globl stg_ap_p_ret
> >>>>  .type   stg_ap_p_ret, @function
> >>>> stg_ap_p_ret:
> >>>>  pushl   %ebp
> >>>>  movl    %esp, %ebp
> >>>>
> >>>> make[2]: *** [AutoApply_debug.debug_o] Error 255
> >>>> make[1]: *** [all] Error 1
> >>>> make: *** [stage1] Error 1
> >>>> program finished with exit code 2
> >>> Build 34 failed earlier. Build 33 succeeded.
> >>>
> >>> I haven't tried to figure out what goes on here (my guess is some code 
> >>> generation error and/or an error/limitation in the mangler). Please 
> > indicate 
> >>> if there is something I can do to investigate further.
> >>>
> >>> Thanks and best regards
> >>> Thorkil
> >>>
> >>> _______________________________________________
> >>> Cvs-ghc mailing list
> >>> Cvs-ghc@haskell.org
> >>> http://www.haskell.org/mailman/listinfo/cvs-ghc
> >>>
> >> I have tried to unpull patches back to, and including,
> >>
> >> < Fri Jul 27 12:41:57 CEST 2007  Simon Marlow <[EMAIL PROTECTED]>
> >> <   * Pointer Tagging
> >>
> >> and the above error disappeared. (Or, rather, it was replced by another 
> > error, 
> >> reported somewhat further along in the build process.) I then tried to 
pull 
> >> the "Pointer Tagging" patch back in, and the error re-appeared. 
Additional 
> >> details are available if desired.
> >>
> >> Best regards
> >> Thorkil
> >>
> >> _______________________________________________
> >> Cvs-ghc mailing list
> >> Cvs-ghc@haskell.org
> >> http://www.haskell.org/mailman/listinfo/cvs-ghc
> >>
> > 
> > _______________________________________________
> > Cvs-ghc mailing list
> > Cvs-ghc@haskell.org
> > http://www.haskell.org/mailman/listinfo/cvs-ghc
> > 
> 
> 

Attachment: AutoApply_debug.cmm_versions.tar.gz
Description: application/tgz

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to