On 09.12.2012, at 00:12, Yuras Shumovich shumovi...@gmail.com wrote:
It looks wrong for me: the highest part of %rax remains uninitialized.
When 32 bits are assigned to any of the standard registers, the upper 32 bits
are implicitly set to zero. Intel is weird.
Axel
On 25.10.2012, at 16:45, Johan Tibell wrote:
Interesting idea.
On Thu, Oct 25, 2012 at 6:56 AM, José Pedro Magalhães j...@cs.uu.nl
wrote:
3. Emit a warning if the generated core code still contains uses of
Rep.
I think this part will be really annoying, as GHC might end up
generating
Dear ghc developers,
there seems to be a change in the C functions of ghc. How do we fix this? Is
there some guide as to what has changed?
Thanks,
Axel
Begin forwarded message:
From: Andriy Polishchuk andriy.s.polishc...@gmail.com
Date: 27. Januar 2012 03:36:50 MEZ
To:
Oh, ok, sorry, I didn't realize this was the same issue. Please ignore this
email then.
Axel
On 28.01.2012, at 14:40, Eugene Kirpichov wrote:
Axel,
See my recent email to gtk2hs-users, I already proposed a fix for this.
28.01.2012, в 17:36, Axel Simon axel.si...@in.tum.de написал(а
Hi all,
On 04.01.2012, at 17:50, Joachim Breitner wrote:
BTW, Is there a way to get the linker to create two independent copies
of a library in one program space? Maybe if it is compiled as PIC
(random name dropping here)? That would seem to be an elegant solution,
as it makes the distro
Hi Daniel,
On 04.04.2011, at 16:01, Daniel wrote:
Hi list,
I've built gtk2hs successfully for ghc-7.0.2, but if I try to load
the example
Drawing.hs from the cairo packages demo folder I get:
*Main :load Drawing.hs
[1 of 1] Compiling Main ( Drawing.hs, interpreted )
Ok,
Hi Alexey,
On 01.02.2011, at 16:47, Alexey Shumitsky wrote:
Hi,
I have problem with ghci+cairo on windows. When I try to load, for
example like this ghci -package cairo it fails with the following
error:
Loading package random-1.0.0.2 ... linking ... done.
Loading package haskell98 ...
be is if someone
proposed it. That's the process we have in place for changing the
base language.
I have proposed to incorporate this extension into the Haskell standard.
Axel
Simon
| -Original Message-
| From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell-
| users
Hi Simon,
On Jan 20, 2011, at 17:54, Simon Marlow wrote:
The layout fix is this change:
http://hackage.haskell.org/trac/ghc/changeset/9a82b1ffa35fa4c3927c66a1037a37d436cf6aac
Another case where GHC was not strictly standards-compliant, and it
was fixed by adding a flag for the extension.
On 21.01.2011, at 03:12, Ian Lynagh wrote:
On Thu, Jan 20, 2011 at 09:22:37PM +0100, Axel Simon wrote:
In the case of the layout bug, I think it might be worth
considering
going the other way: adjusting the standard with what ghc has always
done.
Anyone can propose language changes
hit:
http://hackage.haskell.org/trac/ghc/ticket/781
I was able to work around this problem by compiling the C modules with
-fPIC. This bug is pretty bad, I'd say. I've added myself to its CC
list.
Cheers,
Axel
On 14.07.2010, at 16:51, Axel Simon wrote:
Hi all,
I'm trying to debug
Hi Simon,
On 16.07.2010, at 14:29, Simon Marlow wrote:
On 16/07/2010 12:36, Axel Simon wrote:
Dear Haskell maintainers,
I've progressed a little and found that the problem is down to
accessing global variables that are declared in dynamic libraries. In
a nutshell, this doesn't
Hi all,
I'm trying to debug a segfault relating to the memory management in
Gtk2Hs. Rather than make you read the ticket http://hackage.haskell.org/trac/gtk2hs/ticket/1183
, I'll describe the problem:
- compiler 6.12.1 or 6.12.3
- darcs head of Gtk2Hs with #define DEBUG instead of #undef
Hi Evan, Ed,
On Jul 12, 2010, at 22:53, Edward Z. Yang wrote:
Excerpts from Evan Laforge's message of Mon Jul 12 16:43:45 -0400
2010:
Yeah, that's definitely the safest and simplest. But the copying
defeats the purpose of passing a pointer in the first place, which
was
to not have to
On Jul 13, 2010, at 22:17, Edward Z. Yang wrote:
Excerpts from Axel Simon's message of Tue Jul 13 16:03:01 -0400 2010:
If your C code has a way to properly unref a pointer then you could
wrap your ForeignPtr in a StablePtr and pass that to C land. Once C
has freed the StablePtr the ForeignPtr
Hi Christian,
On 09.06.2010, at 10:30, Christian Maeder wrote:
Chris Kuklewicz schrieb:
hsc2hs: On OS 10.6 ghc is calling hsc2hs without any special -arch
option, and hsc2hs is calculating offsets in x86_64 mode. This is
breaking the interface between ghc and c-structures for various
Hi all,
we're facing serious problems (the seg'faulting kind) with Gtk2Hs on
Mac OS 10.6. Chris has tracked this down to incorrect structure
offsets that hsc2hs calculates.
The offsets that hsc2hs calculates are too large, so it is probably in
x86_64 mode. The offsets with which Gtk+ was
On 27.05.2010, at 16:28, Christian Maeder wrote:
Axel Simon schrieb:
Hi Ian,
I can build this version on Mac OS X 10.5 and compile Gtk2Hs
against it.
All concurrency demos work and the more complicated demos work that
trigger several levels of callbacks (to C and back to Haskell).
1. I
On 27.05.2010, at 19:50, Bulat Ziganshin wrote:
Hello Axel,
Thursday, May 27, 2010, 8:42:08 PM, you wrote:
- you use -threaded to compile your program
- you only use postGUISync and postGUIAsync from threads different to
the Gtk2Hs thread
Is this true? If yes, I'll give you an
Hi Ian,
I can build this version on Mac OS X 10.5 and compile Gtk2Hs against
it. All concurrency demos work and the more complicated demos work
that trigger several levels of callbacks (to C and back to Haskell).
Cheers,
Axel
On May 23, 2010, at 20:42, Ian Lynagh wrote:
Hi all,
We are
Good morning,
I'm looking at ticket http://hackage.haskell.org/trac/ghc/ticket/4038
and wonder who is to blame:
- this segmentation fault occurs in Gtk2Hs' callbacks (i.e. a Haskell
function pointer is being passed to C land) and in a signal (where a
general machinery is used to invoke a
I'm replying to Simon M. and myself, as should have sent my first
reply to the ghc users list, I guess.
On 14.03.2010, at 10:54, Axel Simon wrote:
Hi Dan,
I reply to libraries, I think that's the right list for Cabal.
On 13.03.2010, at 21:39, Dan Knapp wrote:
There doesn't seem
On May 31, 2009, at 21:20, Marco Túlio Gontijo e Silva wrote:
Hello,
recently there was a thread about a problem in profiling in
gtk2hs-users, and it was menitoned that this could be a GHC6 bug.
The problem is described in
http://sourceforge.net/mailarchive/forum.php?
On May 25, 2009, at 19:26, Dean Herington wrote:
I decided to try on Max OS X (10.5). It seemed to get a bit
further, but still no joy. Anyone have a suggestion?
bash-3.2$ ghci
GHCi, version 6.10.3: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Good morning,
gcc uses a different convention from the Microsoft environment when it
comes to laying out fields in C structs, in particular bit fields. Can I
pass the -optc--mms-bitfields to ghc when it compiles via C without
negative effect?
This flag is not implicit at the moment which I
Hi,
for some reason hsc2hs does not fail if the automatically generated
program fails to execute. This only happends if I forget to set
LD_LIBRARY_PATH before saying make. But it leads to a confusing error
messages when an empty .hs file is left and ghc complaints with file name
does not match
Hi,
I built quite a big library and turned it into a package. It works fine if
use ghc -package gtk2 Blah.hs to compile things. But when I convert all
the libraries to object files as described in the documentation, GHCi
refuses to load the whole machinery:
~/source/mogul/fpDemo:$ ghci -package
On Tue, 21 Nov 2000, Bernard James POPE wrote:
Obviously there are issues
with type variables which are quantified outside the local definition, but
careful naming of things should be able to fix this.
Hi,
For my master thesis I wrote a tool called Typeview (presented at IFL'00)
that can
Hi all,
I tried to write a Win32 program in with GHC 4.05 but I am stumbeling over
the definition
type WNDCLASS =
(ClassStyle, -- style
HINSTANCE, -- hInstance
MbHICON, -- hIcon
MbHCURSOR, -- hCursor
MbHBRUSH,-- hbrBackground
MbLPCSTR,-- lpszMenuName
ClassName)
29 matches
Mail list logo