#1918: Trying to execute a binary created on another machine prints "floating
point exception"
----------------------+-----------------------------------------------------
Reporter: grzegorz | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.1
Severity: normal | Keywords:
Testcase: | Architecture: x86
Os: Linux |
----------------------+-----------------------------------------------------
I compile a simple program on one linux machine and when I try to execute
it on a similar linux machine it just prints "floating point exception"
{{{
[EMAIL PROTECTED] ~]$ uname -a
Linux pg-219 2.6.22.9-61.fc6 #1 SMP Thu Sep 27 18:48:03 EDT 2007 i686 i686
i386 GNU/Linux
[EMAIL PROTECTED] ~]$ ./ghc-new/bin/ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.1
[EMAIL PROTECTED] ~]$ cat Hello.hs
main = putStrLn "Hello"
[EMAIL PROTECTED] ~]$ ./ghc-new/bin/ghc --make Hello.hs
[1 of 1] Compiling Main ( Hello.hs, Hello.o )
Linking Hello ...
[EMAIL PROTECTED] ~]$ ./Hello
Hello
[EMAIL PROTECTED] ~]$ scp Hello [EMAIL PROTECTED]:
Hello
100% 366KB 366.4KB/s 00:00
[EMAIL PROTECTED] ~]$ ssh [EMAIL PROTECTED]
[EMAIL PROTECTED] ~]$ uname -a
Linux zag.computing.dcu.ie 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT
2005 i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] ~]$ ./Hello
Floating point exception
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1918>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs