Re: [Solaris bindist] Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-06 Thread Christian Maeder

Hi Karel,

Ok, yet I suppose that the #!/bin/sh script in ghc-pwd-bindist will 
still fail for me on Solaris 10, even if I build ghc from sources.


Why was this script changed? (Or was it not?)

Is still a (non-trivial) haskell binary needed to compute the current 
directory for ./configure?


Alternatively, if one does not want to make export LD_LIBRARY_PATH ... 
Bourne shell compatible, one should start the script with:


#!/bin/bash

 or (as I've seen elsewhere) better (?)

#!/usr/bin/env bash

Cheers Christian

Am 05.02.2014 23:43, schrieb Karel Gardas:


Hi Christian,

the bindist is compiled on Solaris 11.0 so probably of no use for you on
Solaris 10. Also I needed to provide separate tarball of compiled and
installed libgmp.so as the Solaris 11's provided does not satisfy GHC
requirements and GHC refuses to use that...

Karel

On 02/ 5/14 04:28 PM, Christian Maeder wrote:

Hi, I was surprised to find a Solaris bindist. However, on our SunOS
5.10 ./configure failed miserably.

-bash-3.2$ ./configure
checking for path to top of build tree...
utils/ghc-pwd/dist-install/build/tmp/ghc-pwd-bindist:
LD_LIBRARY_PATH=libraries/directory/dist-install/build:libraries/unix/dist-install/build:libraries/time/dist-install/build:libraries/old-locale/dist-install/build:libraries/filepath/dist-install/build:libraries/bytestring/dist-install/build:libraries/deepseq/dist-install/build:libraries/array/dist-install/build:libraries/base/dist-install/build:libraries/integer-gmp/dist-install/build:libraries/ghc-prim/dist-install/build:rts/dist/build:/opt/csw/lib:

is not an identifier
configure: error: cannot determine current directory

This happens, because our /bin/sh is a real sh (and not a bash) that
only allows to export LD_LIBRARY_PATH as a separate command.

The next failure was:
ld.so.1: ghc-pwd: fatal: libgmp.so.10: open failed: No such file or
directory

So I had to extend LD_LIBRARY_PATH manually (by /opt/csw/lib). After
this I got:
ld.so.1: ghc-pwd: fatal: relocation error: file
libraries/unix/dist-install/build/libHSunix-2.7.0.0-ghc7.8.20140130.so:
symbol clearenv: referenced symbol not found

Which of my libraries is wrong (or too old) despite a matching version
number?
libdl.so.1 = /lib/libdl.so.1
libgmp.so.10 = /opt/csw/lib/libgmp.so.10
libm.so.2 = /lib/libm.so.2
librt.so.1 = /lib/librt.so.1
libc.so.1 = /lib/libc.so.1
libgcc_s.so.1 = /opt/csw/lib/libgcc_s.so.1
libaio.so.1 = /lib/libaio.so.1
libmd.so.1 = /lib/libmd.so.1

I had to give up! (I'll try to build it from sources if I find time.)

Cheers Christian

Am 03.02.2014 23:35, schrieb Austin Seipp:

We are pleased to announce the first release candidate for GHC 7.8.1:

http://www.haskell.org/ghc/dist/7.8.1-rc1/
http://www.haskell.org/ghc/docs/7.8.1-rc1/html/

This includes the source tarball and bindists for Windows, Linux, OS
X, FreeBSD, and Solaris, on x86 and x86_64. There is a signed copy of
the SHA256 hashes available (attached) using my GPG key (keyid
0x3B58D86F).

We plan to make the 7.8.1 RC2 release quite soon, as we're aware of
some existing issues.

Please test as much as possible; bugs are much cheaper if we find them
before the release!

...
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-06 Thread Karel Gardas

On 02/ 5/14 03:09 PM, Arie Peterson wrote:

On Monday 03 February 2014 16:35:14 Austin Seipp wrote:

We are pleased to announce the first release candidate for GHC 7.8.1:
[…]
This includes the source tarball and bindists for Windows, Linux, OS
X, FreeBSD, and Solaris, on x86 and x86_64. […]


Has anyone by chance built it for arm, yet? If I understand correctly, with
this new version, it should be possible to compile programs with a dependency
on vector, on arm.


unfortunately build on ubuntu 12.04.2 lts still fails with:


inplace/bin/ghc-stage2 -hisuf hi -osuf  o -hcsuf hc -static  -H32m -O 
   -package-name vector-0.10.9.1 -hide-all-packages -i 
-ilibraries/vector/. -ilibraries/vector/dist-install/build 
-ilibraries/vector/dist-install/build/autogen 
-Ilibraries/vector/dist-install/build 
-Ilibraries/vector/dist-install/build/autogen -Ilibraries/vector/include 
-Ilibraries/vector/internal   -optP-DVECTOR_BOUNDS_CHECKS -optP-include 
-optPlibraries/vector/dist-install/build/autogen/cabal_macros.h -package 
base-4.7.0.0 -package deepseq-1.3.0.2 -package ghc-prim-0.3.1.0 -package 
primitive-0.5.2.0 -O2 -XHaskell98 -XCPP -XDeriveDataTypeable -O2 
-no-user-package-db -rtsopts  -odir 
libraries/vector/dist-install/build -hidir 
libraries/vector/dist-install/build -stubdir 
libraries/vector/dist-install/build   -c 
libraries/vector/./Data/Vector/Fusion/Stream/Monadic.hs -o 
libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o

Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... Illegal instruction
make[1]: *** 
[libraries/vector/dist-install/build/Data/Vector/Fusion/Stream/Monadic.o] Error 
132

make[1]: *** Waiting for unfinished jobs
make: *** [all] Error 2


So either I made some mistake or we're not there yet.

Karel
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: [Solaris bindist] Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-06 Thread Christian Maeder
I can no longer build ghc from sources for yet another reason (attached 
log).


sed reports command garbled. I do not even know where to find this 
call in the makefile infrastructure. I suspect gsed must be used 
instead (on our Solaris installation).


Cheers Christian

Am 05.02.2014 23:43, schrieb Karel Gardas:


Hi Christian,

the bindist is compiled on Solaris 11.0 so probably of no use for you on
Solaris 10. Also I needed to provide separate tarball of compiled and
installed libgmp.so as the Solaris 11's provided does not satisfy GHC
requirements and GHC refuses to use that...

Karel

On 02/ 5/14 04:28 PM, Christian Maeder wrote:

Hi, I was surprised to find a Solaris bindist. However, on our SunOS
5.10 ./configure failed miserably.

-bash-3.2$ ./configure
checking for path to top of build tree...
utils/ghc-pwd/dist-install/build/tmp/ghc-pwd-bindist:
LD_LIBRARY_PATH=libraries/directory/dist-install/build:libraries/unix/dist-install/build:libraries/time/dist-install/build:libraries/old-locale/dist-install/build:libraries/filepath/dist-install/build:libraries/bytestring/dist-install/build:libraries/deepseq/dist-install/build:libraries/array/dist-install/build:libraries/base/dist-install/build:libraries/integer-gmp/dist-install/build:libraries/ghc-prim/dist-install/build:rts/dist/build:/opt/csw/lib:

is not an identifier
configure: error: cannot determine current directory

This happens, because our /bin/sh is a real sh (and not a bash) that
only allows to export LD_LIBRARY_PATH as a separate command.

The next failure was:
ld.so.1: ghc-pwd: fatal: libgmp.so.10: open failed: No such file or
directory

So I had to extend LD_LIBRARY_PATH manually (by /opt/csw/lib). After
this I got:
ld.so.1: ghc-pwd: fatal: relocation error: file
libraries/unix/dist-install/build/libHSunix-2.7.0.0-ghc7.8.20140130.so:
symbol clearenv: referenced symbol not found

Which of my libraries is wrong (or too old) despite a matching version
number?
libdl.so.1 = /lib/libdl.so.1
libgmp.so.10 = /opt/csw/lib/libgmp.so.10
libm.so.2 = /lib/libm.so.2
librt.so.1 = /lib/librt.so.1
libc.so.1 = /lib/libc.so.1
libgcc_s.so.1 = /opt/csw/lib/libgcc_s.so.1
libaio.so.1 = /lib/libaio.so.1
libmd.so.1 = /lib/libmd.so.1

I had to give up! (I'll try to build it from sources if I find time.)

Cheers Christian

Am 03.02.2014 23:35, schrieb Austin Seipp:

We are pleased to announce the first release candidate for GHC 7.8.1:

http://www.haskell.org/ghc/dist/7.8.1-rc1/
http://www.haskell.org/ghc/docs/7.8.1-rc1/html/

This includes the source tarball and bindists for Windows, Linux, OS
X, FreeBSD, and Solaris, on x86 and x86_64. There is a signed copy of
the SHA256 hashes available (attached) using my GPG key (keyid
0x3B58D86F).

We plan to make the 7.8.1 RC2 release quite soon, as we're aware of
some existing issues.

Please test as much as possible; bugs are much cheaper if we find them
before the release!



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users








log.gz
Description: GNU Zip compressed data
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


RC1 build failures on Debian

2014-02-06 Thread Joachim Breitner
Hi,

with RC1 in experimental, the Debian auto-builders have now picked up
building 7.8, and it is failing on armel, hurd-i386, mips and mipsel:

armel 
(https://buildd.debian.org/status/fetch.php?pkg=ghcarch=armelver=7.8.20140130-1stamp=1391666879)
inplace/bin/ghc-stage2 -o utils/haddock/dist/build/tmp/haddock -hisuf hi 
-osuf  o -hcsuf hc -static  -H32m -O -lffi -optl-pthread -optc-mlong-calls
-hide-all-packages -i -iutils/haddock/driver -iutils/haddock/src 
-iutils/haddock/vendor/attoparsec-0.10.4.0 -iutils/haddock/dist/build 
-iutils/haddock/dist/build/autogen -Iutils/haddock/dist/build 
-Iutils/haddock/dist/build/autogen-optP-DIN_GHC_TREE -optP-include 
-optPutils/haddock/dist/build/autogen/cabal_macros.h -package Cabal-1.18.1.3 
-package array-0.5.0.0 -package base-4.7.0.0 -package bytestring-0.10.4.0 
-package containers-0.5.4.0 -package deepseq-1.3.0.2 -package directory-1.2.0.2 
-package filepath-1.3.0.2 -package ghc-7.8.20140130 -package xhtml-3000.2.1 
-funbox-strict-fields -Wall -fwarn-tabs -O2 -XHaskell2010  -no-user-package-db 
-rtsopts  -odir utils/haddock/dist/build -hidir utils/haddock/dist/build 
-stubdir utils/haddock/dist/build utils/haddock/dist/build/Main.o 
utils/haddock/dist/build/Documentation/Haddock.o 
utils/haddock/dist/build/Data/Attoparsec.o 
utils/haddock/dist/build/Data/Attoparsec/ByteString.o 
utils/haddock/dist/build/Data/Attoparsec/ByteString/Char8.o 
utils/haddock/dist/build/Data/Attoparsec/Combinator.o 
utils/haddock/dist/build/Data/Attoparsec/Number.o 
utils/haddock/dist/build/Data/Attoparsec/ByteString/FastSet.o 
utils/haddock/dist/build/Data/Attoparsec/ByteString/Internal.o 
utils/haddock/dist/build/Data/Attoparsec/Internal.o 
utils/haddock/dist/build/Data/Attoparsec/Internal/Types.o 
utils/haddock/dist/build/Haddock.o utils/haddock/dist/build/Haddock/Interface.o 
utils/haddock/dist/build/Haddock/Interface/Rename.o 
utils/haddock/dist/build/Haddock/Interface/Create.o 
utils/haddock/dist/build/Haddock/Interface/AttachInstances.o 
utils/haddock/dist/build/Haddock/Interface/LexParseRn.o 
utils/haddock/dist/build/Haddock/Interface/ParseModuleHeader.o 
utils/haddock/dist/build/Haddock/Parser.o 
utils/haddock/dist/build/Haddock/Parser/Util.o 
utils/haddock/dist/build/Haddock/Utf8.o 
utils/haddock/dist/build/Haddock/Utils.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Decl.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/DocMarkup.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Layout.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Names.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Themes.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Types.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Utils.o 
utils/haddock/dist/build/Haddock/Backends/LaTeX.o 
utils/haddock/dist/build/Haddock/Backends/HaddockDB.o 
utils/haddock/dist/build/Haddock/Backends/Hoogle.o 
utils/haddock/dist/build/Haddock/ModuleTree.o 
utils/haddock/dist/build/Haddock/Types.o utils/haddock/dist/build/Haddock/Doc.o 
utils/haddock/dist/build/Haddock/Version.o 
utils/haddock/dist/build/Haddock/InterfaceFile.o 
utils/haddock/dist/build/Haddock/Options.o 
utils/haddock/dist/build/Haddock/GhcUtils.o 
utils/haddock/dist/build/Haddock/Convert.o 
utils/haddock/dist/build/Paths_haddock.o
/«PKGBUILDDIR»/compiler/stage2/build/libHSghc-7.8.20140130.a(genSym.o): In 
function `genSym':
genSym.c:(.text+0x84): undefined reference to `arm_atomic_spin_lock'
genSym.c:(.text+0x88): undefined reference to `arm_atomic_spin_unlock'
collect2: error: ld returned 1 exit status
make[2]: *** [utils/haddock/dist/build/tmp/haddock] Error 1
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2


hurd 
(https://buildd.debian.org/status/fetch.php?pkg=ghcarch=hurd-i386ver=7.8.20140130-1stamp=1391625204)
inplace/bin/ghc-stage1 -optc-Wall -optc-Wextra -optc-Wstrict-prototypes 
-optc-Wmissing-prototypes -optc-Wmissing-declarations -optc-Winline 
-optc-Waggregate-return -optc-Wpointer-arith -optc-Wmissing-noreturn 
-optc-Wnested-externs -optc-Wredundant-decls -optc-Iincludes 
-optc-Iincludes/dist -optc-Iincludes/dist-derivedconstants/header 
-optc-Iincludes/dist-ghcconstants/header -optc-Irts -optc-Irts/dist/build 
-optc-DCOMPILING_RTS -optc-fno-strict-aliasing -optc-fno-common -optc-O2 
-optc-fomit-frame-pointer -optc-DDYNAMIC -optc-DRtsWay=\rts_dyn\ -fPIC 
-dynamic  -H32m -O -lffi -optl-pthread -Iincludes -Iincludes/dist 
-Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header 
-Irts -Irts/dist/build -DCOMPILING_RTS -package-name rts -dcmm-lint  -i 
-irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build 
-Irts/dist/build/autogen   -O2-c rts/hooks/StackOverflow.c -o 
rts/dist/build/hooks/StackOverflow.dyn_o
ghc-stage1: panic! (the 'impossible' happened)
  (GHC version 7.8.20140130 for i386-unknown-gnu):
howToAccessLabel: PIC not defined for this 

Re: [Solaris bindist] Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-06 Thread Karel Gardas


Hi Christian,

honestly speaking I've not touched ghc-pwd-bindist script at all. 
Everything I did was Austin's recommended: get the source in appropriate 
way, make, make binary-dist. It produced tarball and I've uploaded it.


Generally speaking if you are not satisfied with support for Solaris 10, 
please change it as you like and submit your patch to 
ghc-d...@haskell.org, people there are very friendly to merge if they 
see patch is all right...


Thanks!
Karel

On 02/ 6/14 10:33 AM, Christian Maeder wrote:

Hi Karel,

Ok, yet I suppose that the #!/bin/sh script in ghc-pwd-bindist will
still fail for me on Solaris 10, even if I build ghc from sources.

Why was this script changed? (Or was it not?)

Is still a (non-trivial) haskell binary needed to compute the current
directory for ./configure?

Alternatively, if one does not want to make export LD_LIBRARY_PATH ...
Bourne shell compatible, one should start the script with:

#!/bin/bash

or (as I've seen elsewhere) better (?)

#!/usr/bin/env bash

Cheers Christian

Am 05.02.2014 23:43, schrieb Karel Gardas:


Hi Christian,

the bindist is compiled on Solaris 11.0 so probably of no use for you on
Solaris 10. Also I needed to provide separate tarball of compiled and
installed libgmp.so as the Solaris 11's provided does not satisfy GHC
requirements and GHC refuses to use that...

Karel

On 02/ 5/14 04:28 PM, Christian Maeder wrote:

Hi, I was surprised to find a Solaris bindist. However, on our SunOS
5.10 ./configure failed miserably.

-bash-3.2$ ./configure
checking for path to top of build tree...
utils/ghc-pwd/dist-install/build/tmp/ghc-pwd-bindist:
LD_LIBRARY_PATH=libraries/directory/dist-install/build:libraries/unix/dist-install/build:libraries/time/dist-install/build:libraries/old-locale/dist-install/build:libraries/filepath/dist-install/build:libraries/bytestring/dist-install/build:libraries/deepseq/dist-install/build:libraries/array/dist-install/build:libraries/base/dist-install/build:libraries/integer-gmp/dist-install/build:libraries/ghc-prim/dist-install/build:rts/dist/build:/opt/csw/lib:


is not an identifier
configure: error: cannot determine current directory

This happens, because our /bin/sh is a real sh (and not a bash) that
only allows to export LD_LIBRARY_PATH as a separate command.

The next failure was:
ld.so.1: ghc-pwd: fatal: libgmp.so.10: open failed: No such file or
directory

So I had to extend LD_LIBRARY_PATH manually (by /opt/csw/lib). After
this I got:
ld.so.1: ghc-pwd: fatal: relocation error: file
libraries/unix/dist-install/build/libHSunix-2.7.0.0-ghc7.8.20140130.so:
symbol clearenv: referenced symbol not found

Which of my libraries is wrong (or too old) despite a matching version
number?
libdl.so.1 = /lib/libdl.so.1
libgmp.so.10 = /opt/csw/lib/libgmp.so.10
libm.so.2 = /lib/libm.so.2
librt.so.1 = /lib/librt.so.1
libc.so.1 = /lib/libc.so.1
libgcc_s.so.1 = /opt/csw/lib/libgcc_s.so.1
libaio.so.1 = /lib/libaio.so.1
libmd.so.1 = /lib/libmd.so.1

I had to give up! (I'll try to build it from sources if I find time.)

Cheers Christian

Am 03.02.2014 23:35, schrieb Austin Seipp:

We are pleased to announce the first release candidate for GHC 7.8.1:

http://www.haskell.org/ghc/dist/7.8.1-rc1/
http://www.haskell.org/ghc/docs/7.8.1-rc1/html/

This includes the source tarball and bindists for Windows, Linux, OS
X, FreeBSD, and Solaris, on x86 and x86_64. There is a signed copy of
the SHA256 hashes available (attached) using my GPG key (keyid
0x3B58D86F).

We plan to make the 7.8.1 RC2 release quite soon, as we're aware of
some existing issues.

Please test as much as possible; bugs are much cheaper if we find them
before the release!

...



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


[OS X mavericks and lifted-base] Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-06 Thread Christian Maeder

cabal install lifted-base

  finally fails with:

[5 of 6] Compiling Control.Exception.Lifted ( 
Control/Exception/Lifted.hs, dist/build/Control/Exception/Lifted.p_o )


Control/Exception/Lifted.hs:82:1: Warning:
The import of ‛Monad’ from module ‛Control.Monad’ is redundant
[6 of 6] Compiling Control.Concurrent.Lifted ( 
Control/Concurrent/Lifted.hs, dist/build/Control/Concurrent/Lifted.p_o )

ld: library not found for -lHSmonad-control-0.3.2.2-ghc7.8.20140130
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)

Failed to install lifted-base-0.2.1.1

   base-unicode-symbols-0.2.2.4
   monad-control-0.3.2.2
   transformers-base-0.4.1

are properly installed.

There is a library libHSmonad-control-0.3.2.2.a
(but no libHSmonad-control-0.3.2.2-ghc7.8.20140130.a)

Cheers Christian

Am 03.02.2014 23:35, schrieb Austin Seipp:

We are pleased to announce the first release candidate for GHC 7.8.1:

 http://www.haskell.org/ghc/dist/7.8.1-rc1/
 http://www.haskell.org/ghc/docs/7.8.1-rc1/html/

This includes the source tarball and bindists for Windows, Linux, OS
X, FreeBSD, and Solaris, on x86 and x86_64. There is a signed copy of
the SHA256 hashes available (attached) using my GPG key (keyid
0x3B58D86F).

We plan to make the 7.8.1 RC2 release quite soon, as we're aware of
some existing issues.

Please test as much as possible; bugs are much cheaper if we find them
before the release!



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users



___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: RC1 build failures on Debian

2014-02-06 Thread Karel Gardas

On 02/ 6/14 02:36 PM, Joachim Breitner wrote:

Hi,

with RC1 in experimental, the Debian auto-builders have now picked up
building 7.8, and it is failing on armel, hurd-i386, mips and mipsel:

armel 
(https://buildd.debian.org/status/fetch.php?pkg=ghcarch=armelver=7.8.20140130-1stamp=1391666879)
inplace/bin/ghc-stage2 -o utils/haddock/dist/build/tmp/haddock -hisuf hi 
-osuf  o -hcsuf hc -static  -H32m -O -lffi -optl-pthread -optc-mlong-calls
-hide-all-packages -i -iutils/haddock/driver -iutils/haddock/src 
-iutils/haddock/vendor/attoparsec-0.10.4.0 -iutils/haddock/dist/build 
-iutils/haddock/dist/build/autogen -Iutils/haddock/dist/build 
-Iutils/haddock/dist/build/autogen-optP-DIN_GHC_TREE -optP-include 
-optPutils/haddock/dist/build/autogen/cabal_macros.h -package Cabal-1.18.1.3 -package 
array-0.5.0.0 -package base-4.7.0.0 -package bytestring-0.10.4.0 -package 
containers-0.5.4.0 -package deepseq-1.3.0.2 -package directory-1.2.0.2 -package 
filepath-1.3.0.2 -package ghc-7.8.20140130 -package xhtml-3000.2.1 -funbox-strict-fields 
-Wall -fwarn-tabs -O2 -XHaskell2010  -no-user-package-db -rtsopts  -odir 
utils/haddock/dist/build -hidir utils/haddock/dist/build -stubdir 
utils/haddock/dist/build utils/haddock/dist/build/Main.o 
utils/haddock/dist/build/Documenta

tion/Hadd
ock.o utils/haddock/dist/build/Data/Attoparsec.o 
utils/haddock/dist/build/Data/Attoparsec/ByteString.o 
utils/haddock/dist/build/Data/Attoparsec/ByteString/Char8.o 
utils/haddock/dist/build/Data/Attoparsec/Combinator.o 
utils/haddock/dist/build/Data/Attoparsec/Number.o 
utils/haddock/dist/build/Data/Attoparsec/ByteString/FastSet.o 
utils/haddock/dist/build/Data/Attoparsec/ByteString/Internal.o 
utils/haddock/dist/build/Data/Attoparsec/Internal.o 
utils/haddock/dist/build/Data/Attoparsec/Internal/Types.o 
utils/haddock/dist/build/Haddock.o utils/haddock/dist/build/Haddock/Interface.o 
utils/haddock/dist/build/Haddock/Interface/Rename.o 
utils/haddock/dist/build/Haddock/Interface/Create.o 
utils/haddock/dist/build/Haddock/Interface/AttachInstances.o 
utils/haddock/dist/build/Haddock/Interface/LexParseRn.o 
utils/haddock/dist/build/Haddock/Interface/ParseModuleHeader.o 
utils/haddock/dist/build/Haddock/Parser.o 
utils/haddock/dist/build/Haddock/Parser/Util.o 
utils/haddock/dist/build/Haddock/Ut
f8.o util
s/haddock/dist/build/Haddock/Utils.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Decl.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/DocMarkup.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Layout.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Names.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Themes.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Types.o 
utils/haddock/dist/build/Haddock/Backends/Xhtml/Utils.o 
utils/haddock/dist/build/Haddock/Backends/LaTeX.o 
utils/haddock/dist/build/Haddock/Backends/HaddockDB.o 
utils/haddock/dist/build/Haddock/Backends/Hoogle.o 
utils/haddock/dist/build/Haddock/ModuleTree.o 
utils/haddock/dist/build/Haddock/Types.o utils/haddock/dist/build/Haddock/Doc.o 
utils/haddock/dist/build/Haddock/Version.o 
utils/haddock/dist/build/Haddock/InterfaceFile.o 
utils/haddock/dist/build/Haddock/Options.o 
utils/haddock/dist/build/Haddock/GhcUtils.o 
utils/haddock/dist/build/Haddock/Convert.o uti
ls/haddoc
k/dist/build/Paths_haddock.o

/«PKGBUILDDIR»/compiler/stage2/build/libHSghc-7.8.20140130.a(genSym.o): In 
function `genSym':
genSym.c:(.text+0x84): undefined reference to `arm_atomic_spin_lock'
genSym.c:(.text+0x88): undefined reference to `arm_atomic_spin_unlock'
collect2: error: ld returned 1 exit status
make[2]: *** [utils/haddock/dist/build/tmp/haddock] Error 1
make[1]: *** [all] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2


Looks like this is for pre-ARMv6 platform. Also it looks like probably 
OldARMAtomic.c is not compiled or/not linked into the RTS?


Karel
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: [Solaris bindist] ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-06 Thread Merijn Verstraaten

On Feb 6, 2014, at 10:33 , Christian Maeder wrote:
 or (as I've seen elsewhere) better (?)
 
 #!/usr/bin/env bash

Definitely use this, FreeBSD (for example) does not ship with bash so /bin/bash 
will *not* exist.

Cheers,
Merijn


signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


GHC iOS 7.8.1 RC1 for Device Simulator

2014-02-06 Thread Luke Iannini
Hi folks,

RC builds of GHC iOS are now ready for devices and the iOS simulator.

https://github.com/ghc-ios/ghc-ios-scripts/releases/download/7.8-rc1-device/ghc-7.8.20140129-arm-apple-ios.tar.bz2
https://github.com/ghc-ios/ghc-ios-scripts/releases/download/7.8-rc1-simulator/ghc-7.8.20140130-i386-apple-ios.tar.bz2

You'll find complete instructions on their usage here, including compiling
cabal packages:
https://github.com/ghc-ios/ghc-ios-scripts/blob/master/README.md

Please let me know how it goes!
Cheers
Luke
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: [Solaris bindist] ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-06 Thread Páli Gábor János
On Thu, Feb 6, 2014 at 1:39 PM, Merijn Verstraaten
mer...@inconsistent.nl wrote:

 On Feb 6, 2014, at 10:33 , Christian Maeder wrote:
 or (as I've seen elsewhere) better (?)

 #!/usr/bin/env bash

 Definitely use this, FreeBSD (for example) does not ship with bash so 
 /bin/bash will *not* exist.

Please, do not introduce dependency on bash unless it is really necessary.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-06 Thread harry
Would it be possible for the bindist to link to libgmp.so instead of
libgmp.so.10? Are you expecting core dumps with the wrong version?



--
View this message in context: 
http://haskell.1045720.n5.nabble.com/ANNOUNCE-GHC-7-8-1-Release-Candidate-1-tp5743256p5743506.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive at 
Nabble.com.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: ANNOUNCE: GHC 7.8.1 Release Candidate 1

2014-02-06 Thread harry
 Would it be possible for the bindist to link to libgmp.so instead of
libgmp.so.10? Are you expecting core dumps with the wrong version?

I tried faking it, and now it's complaining about GLIBC_2.15. Seems like I
might just have to build from source on Red Hat.



--
View this message in context: 
http://haskell.1045720.n5.nabble.com/ANNOUNCE-GHC-7-8-1-Release-Candidate-1-tp5743256p5743507.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive at 
Nabble.com.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


7.8.1-candidate fail

2014-02-06 Thread Sergei Meshveliani
Dear GHC team,

I am trying to testghc-7.8.20140130-src.tar.bz2

I make it from source with   ghc-7.6.3  on Debian Linux (64 bit).

./configure  looks all right.

And `make' reports after 40 minutes:

---
...
...
inplace/bin/ghc-stage1 -optc-Ilibraries/integer-gmp/.
-optc-I'/home/mechvel/g.
...
...
/usr/bin/ld: libraries/integer-gmp/gmp/objs/aors.o: relocation
R_X86_64_32 against `__gmpz_sub' can not be used when making a shared
object; recompile with -fPIC
libraries/integer-gmp/gmp/objs/aors.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: ***
[libraries/integer-gmp/dist-install/build/libHSinteger-gmp-0.5.1.0\
-ghc7.8.20140130.so] Error 1
---


What might this mean? Need I to install a fresher  libgmp ?

Thanks,

--
Sergei

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: 7.8.1-candidate fail

2014-02-06 Thread Jan Stolarek
I had the same problem on Debian Squeeze:

https://ghc.haskell.org/trac/ghc/ticket/8666

What is your distro?

CCing ghc-devs.

Janek

Dnia czwartek, 6 lutego 2014, Sergei Meshveliani napisał:
 Dear GHC team,

 I am trying to testghc-7.8.20140130-src.tar.bz2

 I make it from source with   ghc-7.6.3  on Debian Linux (64 bit).

 ./configure  looks all right.

 And `make' reports after 40 minutes:

 ---
 ...
 ...
 inplace/bin/ghc-stage1 -optc-Ilibraries/integer-gmp/.
 -optc-I'/home/mechvel/g.
 ...
 ...
 /usr/bin/ld: libraries/integer-gmp/gmp/objs/aors.o: relocation
 R_X86_64_32 against `__gmpz_sub' can not be used when making a shared
 object; recompile with -fPIC
 libraries/integer-gmp/gmp/objs/aors.o: could not read symbols: Bad value
 collect2: ld returned 1 exit status
 make[1]: ***
 [libraries/integer-gmp/dist-install/build/libHSinteger-gmp-0.5.1.0\
 -ghc7.8.20140130.so] Error 1
 ---


 What might this mean? Need I to install a fresher  libgmp ?

 Thanks,

 --
 Sergei

 ___
 Glasgow-haskell-users mailing list
 Glasgow-haskell-users@haskell.org
 http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: RC1 build failures on Debian

2014-02-06 Thread Nikita Karetnikov
 In file included from rts/sm/Evac.c:21:0:
 rts/sm/GCTDecl.h:139:2: error: #error Cannot find a way to declare the 
 thread-local gc variable!
  #error Cannot find a way to declare the thread-local gc variable!
   ^

I built GHC from the source tarball on mips64el and hit the same error.
Any suggestions?

Funnily, the comment in the corresponding file says

/* Impossible! */


pgpxDqYRGsmEI.pgp
Description: PGP signature
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users