logo       

Re: [GHC] #791: The program built with ghc 6.4.2 -prof hangs, without -prof: msg#00052

lang.haskell.glasgow.bugs

Subject: Re: [GHC] #791: The program built with ghc 6.4.2 -prof hangs, without -prof works

#791: The program built with ghc 6.4.2 -prof hangs, without -prof works
----------------------------------+-----------------------------------------
Reporter: mblazevic@xxxxxxxxx | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.4.2
Severity: normal | Resolution:
Keywords: | Os: Unknown
Difficulty: Unknown | Architecture: Unknown
----------------------------------+-----------------------------------------
Old description:

> To reproduce the problem, download the attachment and do the following,
> assuming 6.4.2 is the version of the ghc executable in path:
>
> tar xzf static.tar.gz
> cd static
> make
> ./gens 4 # works
> ./gens - <tests # works
> ./gens-prof 4 # hangs
>

> Several points:
>
> - ghc 6.4.1 works properly. That's what I'm using for profiling now.
> - At first I thought the problem was with Edison libraries, but an older
> version of the project, without Edison, behaves the same.
> - Removing -auto-all and add -fasm made no difference. I guess that means
> GCC is not at fault.
>
> By the way, I'm running Gentoo Linux with an Athlon CPU. Let me know if
> you have trouble reproducing the problem.

New description:

To reproduce the problem, download the attachment and do the following,
assuming 6.4.2 is the version of the ghc executable in path:
{{{
tar xzf static.tar.gz
cd static
make
./gens 4 # works
./gens - <tests # works
./gens-prof 4 # hangs
}}}

Several points:

* ghc 6.4.1 works properly. That's what I'm using for profiling now.
* At first I thought the problem was with Edison libraries, but an
older version of the project, without Edison, behaves the same.
* Removing -auto-all and add -fasm made no difference. I guess that means
GCC is not at fault.

By the way, I'm running Gentoo Linux with an Athlon CPU. Let me know if
you have trouble reproducing the problem.

Comment (by simonmar):

markup description

--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/791>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise