Re: GHC haskell support for arm64 and ppc64el

2014-04-12 Thread Colin Watson
On Fri, Apr 04, 2014 at 05:04:18PM +0100, Colin Watson wrote:
> ppc64el is a different matter.  In that case I can't even get to a
> working cross-compiled stage2: the compiler segfaults after child
> processes return.  I've asked for help from toolchain engineers who know
> their way around ppc64el, but I don't know what their schedules are like
> and so I don't know when somebody will be available to help.  In the
> absence of help, a bootstrap is not likely to happen.

I managed to figure this out, bootstrapped 7.8 then 7.6, sent a patch
upstream (https://ghc.haskell.org/trac/ghc/ticket/8965), uploaded the
patch to Debian, and synced it into Ubuntu.  The Haskell stack is now
building on ppc64el.  GHCi is probably feasible on ppc64el next cycle,
but it will take some porting work that I *really* don't have time for
right now.

Hopefully this is the last of the bootstrapping for a while!

Cheers,

-- 
Colin Watson   [cjwat...@ubuntu.com]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: GHC haskell support for arm64 and ppc64el

2014-04-05 Thread Colin Watson
On Fri, Apr 04, 2014 at 05:04:18PM +0100, Colin Watson wrote:
> At this point there is a pretty good chance that I'll be able to get
> arm64 GHC bootstrapped in the archive in time for 14.04.

  $ rmadison -s trusty ghc
   ghc | 7.6.3-9 | trusty/universe | source, amd64, arm64, armhf, i386, powerpc

The rest of the stack is building now; it'll fail on anything that
requires GHCi, of course, but that's a minority.  Thanks everyone
(especially Karel) for your help!

-- 
Colin Watson   [cjwat...@ubuntu.com]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: GHC haskell support for arm64 and ppc64el

2014-04-04 Thread Colin Watson
On Thu, Mar 27, 2014 at 12:28:54PM +, Colin Watson wrote:
> On Wed, Mar 26, 2014 at 10:34:04AM +, Gianfranco Costamagna wrote:
> >Seems that fedora is bootstrapping ghc for ppc64
> >http://pkgs.fedoraproject.org/cgit/ghc.git/log/?h=epel7
> > 
> >Revert "bootstrap from ghc-7.4.2-11.2.fc19 x86_64 and ppc64"epel7
> >use cpio --make-directories
> >install ghc-base.ppc64 on ppc64
> >bootstrap from ghc-7.4.2-11.2.fc19 x86_64 and ppc64
> >do you think it is enough for trying in ubuntu?
> 
> ppc64 (i.e. big-endian) isn't the same as ppc64el (i.e. little-endian).
> The architecture isn't endian-switchable in userspace.  So no, I'm
> afraid that doesn't help much; it still leaves us bootstrapping from
> scratch.

OK, so I need to go round a couple more build passes to get everything
into a coherent state; but after a good deal of back-and-forward with
Karel (thanks!) I now have a fully-bootstrapped GHC 7.8 on arm64, and
based on that I've been able to get a stage1 GHC 7.6 and am most of the
way to stage2.  I had to disable profiling in my first pass, but I'm
hopeful that that's due to bootstrapping hacks and I'll be able to do a
more normal build next time round.  At this point there is a pretty good
chance that I'll be able to get arm64 GHC bootstrapped in the archive in
time for 14.04.


ppc64el is a different matter.  In that case I can't even get to a
working cross-compiled stage2: the compiler segfaults after child
processes return.  I've asked for help from toolchain engineers who know
their way around ppc64el, but I don't know what their schedules are like
and so I don't know when somebody will be available to help.  In the
absence of help, a bootstrap is not likely to happen.  For the record,
here's the report I sent with my procedure so far:

  1) Bootstrap a dedicated trusty chroot on a reasonably fast amd64
 system (e.g. with mk-sbuild).  Then, in that chroot:
  2) sudo apt-get build-dep ghc
  3) sudo dpkg --add-architecture ppc64el
  4) Make /etc/apt/sources.list look like this (modulo mirroring):
 deb [arch=amd64] http://archive.ubuntu.com/ubuntu trusty main restricted 
universe multiverse
 deb [arch=ppc64el] http://ports.ubuntu.com/ubuntu-ports trusty main 
restricted universe multiverse
 deb-src http://archive.ubuntu.com/ubuntu trusty main restricted universe 
multiverse
  5) sudo apt-get update
  6) sudo apt-get install libc6:ppc64el gcc-powerpc64le-linux-gnu
  7) Prepare ~/ppc64el-sysroot by creating it, changing to it, and
 running:
 apt-get download libncurses5-dev:ppc64el libtinfo-dev:ppc64el 
libffi-dev:ppc64el
 for x in *.deb; do dpkg -x "$x" .; done
 mv usr/include/powerpc64le-linux-gnu/* usr/include/
 rmdir usr/include/powerpc64le-linux-gnu
  8) Create ~/powerpc64le-linux-gnu-gccsysroot with the following
 contents:
 #! /bin/sh
 /usr/bin/powerpc64le-linux-gnu-gcc --sysroot="$HOME/ppc64el-sysroot" "$@"
  9) Get hold of the ghc-7.8 upstream git branch using something along
 the lines of
 https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources.
 Put it in ~/ghc-ppc64el (it's simplest for this to be near the top
 of your home directory to make things easier later).
 10) cd ~/ghc-ppc64el
 11) Copy mk/build.mk.sample to mk/build.mk and uncomment "BuildFlavour
 = quick-cross"; find the 'ifeq "$(BuildFlavour)" "quick-cross"'
 block, and in that, remove the three -fllvm options and comment out
 "Stage1Only = YES".
 12) Download libffi-3.0.13.tar.gz into libffi-tarballs/ and remove
 libffi-3.0.11.tar.gz from that directory.
 13) Apply ghc-ppc64el.patch attached to this bug (most of this is from
 the current Ubuntu libffi source package; the rts bit is my attempt
 to get started on ELF ABI v2 porting in GHC itself).
 14) perl boot
 15) ./configure --target=powerpc64le-linux-gnu 
--with-gcc="$HOME/powerpc64le-linux-gnu-gccsysroot" --enable-unregisterised
 16) make -j.  If this works then it should finish up with an
 exec format error trying to execute ghc-stage2, which you can
 ignore.  If not, figure out what's wrong and fix it.
 17) rsync all this over to an Ubuntu ppc64el system, making sure that
 it goes in exactly the same path on the other side.  On the ppc64el
 system, in a chroot if necessary:
 18) Install all the build-dependencies of the ghc source package (as
 shown by "apt-get source ghc") except for ghc and hscolour.
 19) Edit ~/ghc-ppc64el/inplace/lib/settings and change "C compiler
 command" to "/usr/bin/gcc", "ld command" to "/usr/bin/ld", and "ar
 command" to "/usr/bin/ar".
 20) In ~/ghc-ppc64el/utils/unlit, run "gcc -o ../../inplace/lib/unlit
 unlit.c" to replace the amd64 binary previously in that location.
 21) In ~/ghc-ppc64el/bindisttest, run "LC_ALL=C.UTF-8
 ../inplace/lib/bin/ghc-stage2 +RTS -V0 -RTS
 -B$HOME/ghc-ppc64el/inplace/lib -v4 --make HelloWorld.lhs" (I've
 expanded this out a bit so that it's in a

Re: GHC haskell support for arm64 and ppc64el

2014-03-27 Thread Colin Watson
On Wed, Mar 26, 2014 at 10:34:04AM +, Gianfranco Costamagna wrote:
>Seems that fedora is bootstrapping ghc for ppc64
>http://pkgs.fedoraproject.org/cgit/ghc.git/log/?h=epel7
> 
>Revert "bootstrap from ghc-7.4.2-11.2.fc19 x86_64 and ppc64"epel7
>use cpio --make-directories
>install ghc-base.ppc64 on ppc64
>bootstrap from ghc-7.4.2-11.2.fc19 x86_64 and ppc64
>do you think it is enough for trying in ubuntu?

ppc64 (i.e. big-endian) isn't the same as ppc64el (i.e. little-endian).
The architecture isn't endian-switchable in userspace.  So no, I'm
afraid that doesn't help much; it still leaves us bootstrapping from
scratch.

-- 
Colin Watson   [cjwat...@ubuntu.com]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: GHC haskell support for arm64 and ppc64el

2014-03-26 Thread Gianfranco Costamagna
Hi All,

Seems that fedora is bootstrapping ghc for ppc64
http://pkgs.fedoraproject.org/cgit/ghc.git/log/?h=epel7

Revert "bootstrap from ghc-7.4.2-11.2.fc19 x86_64 and ppc64"epel7
use cpio --make-directories
install ghc-base.ppc64 on ppc64
bootstrap from ghc-7.4.2-11.2.fc19 x86_64 and ppc64


do you think it is enough for trying in ubuntu?


thanks

Gianfranco 




Il Domenica 23 Marzo 2014 5:04, James Haigh  ha 
scritto:
 
Hello,
>    I've just realised that there's a bit more hope for this.
>On 6 March 2014 11:47:41 GMT+00:00, Colin Watson  wrote:
>>On Wed, Mar 05, 2014 at 05:18:16PM +, Colin Watson wrote:
>>> The best information I can find is in
>>>
>>https://ghcarm.wordpress.com/2014/01/18/unregisterised-ghc-head-build-for-arm64-platform/,
>>> which does suggest that there might be some hope, […]
>>I've left a comment on the ghcarm blog asking for more information on
>>the patch set they used.
>I too left a comment, and emailed the author, Karel Gardas. I didn't realise 
>until now that Karel had replied to me and answered everyone's comments within 
>less than 4 hours of my email; all 6 comments were posted or 
>moderation-approved on the 6th. I'm disappointed with myself for missing 
>Karel's replies, but nevertheless, at least I can now say that you should now 
>have the information you asked for. The replies seem to be in depth.
>On 5 March 2014 16:40:59 GMT+00:00, Colin Watson  wrote:
>>[…] Realistically, in the absence of
>>a real Haskell expert interested in Ubuntu with access to this
>>hardware, […]
>I'm not sure about the hardware access, but Karel seems to have made a lot of 
>progress in this respect, having a blog about it, and tells me is also 
>interested in and uses Ubuntu.
>    Hopefully you should now be able to solve the problems in the way of 
>getting this to work. Good luck with your efforts; I'm very enthusiastic to 
>see if you can solve this!
>Best regards,
>James Haigh.
>
>-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: GHC haskell support for arm64 and ppc64el

2014-03-23 Thread James Haigh
On 23/03/14 04:52, Stephen P. Villano wrote:
>
> On 3/23/14, 12:04 AM, James Haigh wrote:
>>
>> Hello,
>> I've just realised that there's a bit more hope for this.
>>
> The very words I say every morning when I look in the mirror.
> The later results were dubious.  ;)
Not sure what you mean, or I don't get your joke. I just couldn't help
noticing that the things I quoted from Colin were not actually dead-ends
and that Karel's apparent willingness to help out here could mean that
this makes progress.
I actually assumed that the reason that this thread dried up was
because there was no reply or no further info had been found. When I
decided to check through March emails yesterday to see if I'd missed
any, I had indeed missed a few important/interesting emails from the
last 3 weeks due to being busy.
So I was very happy to see that actually this isn't a dead-end.

Best regards,
James Haigh.

>> On 6 March 2014 11:47:41 GMT+00:00, Colin Watson > > wrote:
>> >On Wed, Mar 05, 2014 at 05:18:16PM +, Colin Watson wrote:
>> >> The best information I can find is in
>> >>
>> >https://ghcarm.wordpress.com/2014/01/18/unregisterised-ghc-head-build-for-arm64-platform/,
>> >> which does suggest that there might be some hope, […]
>> >I've left a comment on the ghcarm blog asking for more information on
>> >the patch set they used.
>>
>> I too left a comment, and emailed the author, Karel Gardas. I didn't
>> realise until now that Karel had replied to me and answered
>> everyone's comments within less than 4 hours of my email; all 6
>> comments were posted or moderation-approved on the 6th. I'm
>> disappointed with myself for missing Karel's replies, but
>> nevertheless, at least I can now say that you should now have the
>> information you asked for. The replies seem to be in depth.
>>
>> On 5 March 2014 16:40:59 GMT+00:00, Colin Watson > > wrote:
>> >[…] Realistically, in the absence of
>> >a real Haskell expert interested in Ubuntu with access to this
>> >hardware, […]
>>
>> I'm not sure about the hardware access, but Karel seems to have made
>> a lot of progress in this respect, having a blog about it, and tells
>> me is also interested in and uses Ubuntu.
>> Hopefully you should now be able to solve the problems in the way
>> of getting this to work. Good luck with your efforts; I'm very
>> enthusiastic to see if you can solve this!
>>
>> Best regards,
>> James Haigh.
>>
>>
>>
>
>
>

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: GHC haskell support for arm64 and ppc64el

2014-03-22 Thread Stephen P. Villano

On 3/23/14, 12:04 AM, James Haigh wrote:
>
> Hello,
> I've just realised that there's a bit more hope for this.
>
The very words I say every morning when I look in the mirror.
The later results were dubious.  ;)
>
> On 6 March 2014 11:47:41 GMT+00:00, Colin Watson  > wrote:
> >On Wed, Mar 05, 2014 at 05:18:16PM +, Colin Watson wrote:
> >> The best information I can find is in
> >>
> >https://ghcarm.wordpress.com/2014/01/18/unregisterised-ghc-head-build-for-arm64-platform/,
> >> which does suggest that there might be some hope, [...]
> >I've left a comment on the ghcarm blog asking for more information on
> >the patch set they used.
>
> I too left a comment, and emailed the author, Karel Gardas. I didn't
> realise until now that Karel had replied to me and answered everyone's
> comments within less than 4 hours of my email; all 6 comments were
> posted or moderation-approved on the 6th. I'm disappointed with myself
> for missing Karel's replies, but nevertheless, at least I can now say
> that you should now have the information you asked for. The replies
> seem to be in depth.
>
> On 5 March 2014 16:40:59 GMT+00:00, Colin Watson  > wrote:
> >[...] Realistically, in the absence of
> >a real Haskell expert interested in Ubuntu with access to this
> >hardware, [...]
>
> I'm not sure about the hardware access, but Karel seems to have made a
> lot of progress in this respect, having a blog about it, and tells me
> is also interested in and uses Ubuntu.
> Hopefully you should now be able to solve the problems in the way
> of getting this to work. Good luck with your efforts; I'm very
> enthusiastic to see if you can solve this!
>
> Best regards,
> James Haigh.
>
>
>

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: GHC haskell support for arm64 and ppc64el

2014-03-22 Thread James Haigh
Hello,
I've just realised that there's a bit more hope for this.

On 6 March 2014 11:47:41 GMT+00:00, Colin Watson 
wrote:
>On Wed, Mar 05, 2014 at 05:18:16PM +, Colin Watson wrote:
>> The best information I can find is in
>>
>
https://ghcarm.wordpress.com/2014/01/18/unregisterised-ghc-head-build-for-arm64-platform/
,
>> which does suggest that there might be some hope, […]
>I've left a comment on the ghcarm blog asking for more information on
>the patch set they used.

I too left a comment, and emailed the author, Karel Gardas. I didn't
realise until now that Karel had replied to me and answered everyone's
comments within less than 4 hours of my email; all 6 comments were posted
or moderation-approved on the 6th. I'm disappointed with myself for missing
Karel's replies, but nevertheless, at least I can now say that you should
now have the information you asked for. The replies seem to be in depth.

On 5 March 2014 16:40:59 GMT+00:00, Colin Watson 
wrote:
>[…] Realistically, in the absence of
>a real Haskell expert interested in Ubuntu with access to this
>hardware, […]

I'm not sure about the hardware access, but Karel seems to have made a lot
of progress in this respect, having a blog about it, and tells me is also
interested in and uses Ubuntu.
Hopefully you should now be able to solve the problems in the way of
getting this to work. Good luck with your efforts; I'm very enthusiastic to
see if you can solve this!

Best regards,
James Haigh.
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: GHC haskell support for arm64 and ppc64el

2014-03-06 Thread Colin Watson
On Wed, Mar 05, 2014 at 05:18:16PM +, Colin Watson wrote:
> The best information I can find is in
> https://ghcarm.wordpress.com/2014/01/18/unregisterised-ghc-head-build-for-arm64-platform/,
> which does suggest that there might be some hope, but it's not at all
> clear whether GHC will get beyond stage1 - it'll still have to go round
> some more to rebuild itself and we'd have to confirm that it can build
> other Haskell packages as well before uploading it.  To get started,
> I've uploaded an llvm-toolchain-3.4 change with the patch from LLVM HEAD
> referred to in that post, and then I suppose I can see if I can get our
> current package to bootstrap.

OK, I tried this.  The author of that post is evidently using something
newer than GHC 7.6, as the --enable-unregisterised configure option
doesn't exist in 7.6.  When I adjust for that, I quickly get:

  Unknown CPU aarch64

Looking at git master, even the GHC_CONVERT_CPU macro there doesn't
support aarch64 (== arm64).  So the author of that post is evidently
working with at least some patches that aren't in master yet.  After I
adjust for all that, I do get a ghc-stage1, but the build stops right
after that with:

  CROSS_COMPILE="aarch64-unknown-linux-gnu-" "inplace/bin/ghc-cabal" configure 
--with-ghc="/home/cjwatson/ghc-arm64/inplace/bin/ghc-stage1" 
--with-ghc-pkg="/home/cjwatson/ghc-arm64/inplace/bin/ghc-pkg" 
--flag=include-ghc-prim --disable-library-for-ghci 
--with-hscolour="/usr/bin/HsColour" --configure-option=CFLAGS=" 
-fno-stack-protector   " --configure-option=LDFLAGS=" -Wl,--hash-size=31 
-Wl,--reduce-memory-overheads  " --configure-option=CPPFLAGS="   " 
--with-gcc="/home/cjwatson/aarch64-linux-gnu-gccsysroot" 
--configure-option=--with-cc="/home/cjwatson/aarch64-linux-gnu-gccsysroot" 
--with-ar="/usr/bin/ar" --with-ranlib="true" --with-alex="/usr/bin/alex" 
--with-happy="/usr/bin/happy" -- dist-install libraries/ghc-prim
  Configuring ghc-prim-0.3.0.0...
  ghc-cabal: /tmp/28824.o: does not exist

And the suggested "hello world" test fails with:

  $ ../inplace/bin/ghc-stage1 --make HelloWorld.lhs
  
  HelloWorld.lhs:1:1:
  Could not find module `Prelude'
  Use -v to see a list of the files searched for.

I've left a comment on the ghcarm blog asking for more information on
the patch set they used.

I suspect this is doomed until upstream has better support, and in any
case the bootstrap is likely to be very painful until we're on 7.8
(which won't be until trusty+1) - I found with my abortive ppc64el
attempt that even getting the initial cross-build working was quite a
laborious exercise because of various errors in 7.6's build system.

This sort of thing is a real time-sink; it's a great way to heat my
study, but realistically I don't think it's really achieving a whole
lot.  I understand that you're enthusiastic about this, and thank you
for that, but please don't ask for GHC bootstrapping again unless you
can supply a tested recipe for getting to at least somewhat working
cross-compiled binaries, or can point to ghc binaries that other
distributions have got working on these architectures.  It's unlikely
that simply asking us to try again is going to help at this point.

Cheers,

-- 
Colin Watson   [cjwat...@ubuntu.com]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: GHC haskell support for arm64 and ppc64el

2014-03-05 Thread Colin Watson
On Wed, Mar 05, 2014 at 04:55:08PM +, Gianfranco Costamagna wrote:
> Il Mercoledì 5 Marzo 2014 17:47, Colin Watson  ha 
> scritto:
> >I spent considerable time a while back trying to bootstrap ghc on
> >ppc64el and I'm afraid I got nowhere.  Realistically, in the absence of
> >a real Haskell expert interested in Ubuntu with access to this hardware,
> >the best bet may be to wait for some other distribution to bootstrap ghc
> >and then use their binaries to get started.  If you can find such
> >binaries lying around then please do let me know.
> 
> Don't know, maybe the debian maintainer can help?

Kind of unlikely given that neither arm64 nor ppc64el exists in Debian
yet.  If it were bootstrapped in Debian then of course I'd have used
their binaries to get started.

> I was thinking more about arm64, is it difficult to bootstrap here?
> there was already support for armel and armhf, I don't think it is
> impossible to find a binary for it...

Really?  If you can find a binary then please do point me at it.
https://ghc.haskell.org/trac/ghc/ticket/7942 is still open upstream, and
I don't see anything in the usual candidates for this sort of thing
(Fedora, openSUSE, Gentoo).

The best information I can find is in
https://ghcarm.wordpress.com/2014/01/18/unregisterised-ghc-head-build-for-arm64-platform/,
which does suggest that there might be some hope, but it's not at all
clear whether GHC will get beyond stage1 - it'll still have to go round
some more to rebuild itself and we'd have to confirm that it can build
other Haskell packages as well before uploading it.  To get started,
I've uploaded an llvm-toolchain-3.4 change with the patch from LLVM HEAD
referred to in that post, and then I suppose I can see if I can get our
current package to bootstrap.

I'm not promising anything, though; ghc is one of the most difficult
packages in the archive to bootstrap from scratch.

Cheers,

-- 
Colin Watson   [cjwat...@ubuntu.com]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: GHC haskell support for arm64 and ppc64el

2014-03-05 Thread Gianfranco Costamagna


Il Mercoledì 5 Marzo 2014 17:47, Colin Watson  ha scritto:

On Wed, Mar 05, 2014 at 01:24:43PM +, Gianfranco Costamagna wrote:
>
>> I write here to ask if is it possible to have haskell also in arm64
>> and ppc64el
>> 
>> the new 7.6.3-8 release should fix a random build failure on 64 bit
>> architectures that was preventing ghc to build on s390x and similar.
>> 
>> Now that this bug is fixed, is anybody planning to upload on those two
>> archs?
>
>That upload makes no difference.  It only affects *big-endian*
>architectures, and both arm64 and ppc64el are little-endian.


Ops, didn't catch that, thanks :)

>
>I spent considerable time a while back trying to bootstrap ghc on
>ppc64el and I'm afraid I got nowhere.  Realistically, in the absence of
>a real Haskell expert interested in Ubuntu with access to this hardware,
>the best bet may be to wait for some other distribution to bootstrap ghc
>and then use their binaries to get started.  If you can find such
>binaries lying around then please do let me know.


Don't know, maybe the debian maintainer can help?

Anyway ppc64el is a new born arch, so time will help for sure...

I was thinking more about arm64, is it difficult to bootstrap here?
there was already support for armel and armhf, I don't think it is impossible 
to find a binary for it...

Cheers,

Gianfranco

>
>-- 
>Colin Watson                                       [cjwat...@ubuntu.com
>]
>
>
>  

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: GHC haskell support for arm64 and ppc64el

2014-03-05 Thread Colin Watson
On Wed, Mar 05, 2014 at 01:24:43PM +, Gianfranco Costamagna wrote:
> I write here to ask if is it possible to have haskell also in arm64
> and ppc64el
> 
> the new 7.6.3-8 release should fix a random build failure on 64 bit
> architectures that was preventing ghc to build on s390x and similar.
> 
> Now that this bug is fixed, is anybody planning to upload on those two
> archs?

That upload makes no difference.  It only affects *big-endian*
architectures, and both arm64 and ppc64el are little-endian.

I spent considerable time a while back trying to bootstrap ghc on
ppc64el and I'm afraid I got nowhere.  Realistically, in the absence of
a real Haskell expert interested in Ubuntu with access to this hardware,
the best bet may be to wait for some other distribution to bootstrap ghc
and then use their binaries to get started.  If you can find such
binaries lying around then please do let me know.

-- 
Colin Watson   [cjwat...@ubuntu.com]

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


GHC haskell support for arm64 and ppc64el

2014-03-05 Thread Gianfranco Costamagna
Hi Ubuntu Developers!

I write here to ask if is it possible to have haskell also in arm64 and ppc64el

the new 7.6.3-8 release should fix a random build failure on 64 bit 
architectures that was preventing ghc to build on s390x and similar.

Now that this bug is fixed, is anybody planning to upload on those two archs?

 
I know you need to manually upload the package, I don't know how to do it and I 
don't have enough privileges, then I'm asking you :)

Would be nice to have the next upcoming LTS with this support!

thanks,

Gianfranco
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss