
Hello all, I've created a GHC team on Launchpad to manage the code imports and build recipes https://launchpad.net/~ghc Why? I recently was playing around with Launchpad's build recipes service, and realized that this could be another helpful source of builds for GHC (resulting in proper Ubuntu packages which then can be directly installed by installing a PPA). If you're not interested, you can just ignore (or remove yourself) from the group. Conversely, if I didn't find your Launchpad identifier, please ask to be added. Cheers, Edward

On 2014-04-04 at 09:05:42 +0200, Edward Z. Yang wrote:
Hello all,
I've created a GHC team on Launchpad to manage the code imports and build recipes https://launchpad.net/~ghc Why? I recently was playing around with Launchpad's build recipes service, and realized that this could be another helpful source of builds for GHC (resulting in proper Ubuntu packages which then can be directly installed by installing a PPA).
Just a reminder, as not everybody may be aware yet: There's already daily GHC HEAD packages for Debian at http://deb.haskell.org/ ...as well as (more or less) daily Ubuntu 12.04 LTS packages (which work for later Ubuntu releases as-is) over at https://launchpad.net/~hvr/+archive/ghc/+packages Cheers, hvr

Hi, Am Dienstag, den 08.04.2014, 10:31 +0200 schrieb Herbert Valerio Riedel:
Just a reminder, as not everybody may be aware yet:
There's already daily GHC HEAD packages for Debian at
thanks for the reminder. I guess I need to set up something that notifies me of failures... Since March 27 weeks, it seems, it is failing: [..] configure: Building in-tree ghc-pwd /usr/bin/ld: utils/ghc-pwd/dist-boot/Main.o: relocation R_X86_64_32 against `stg_CHARLIKE_closure' can not be used when making a shared object; recompile with -fPIC utils/ghc-pwd/dist-boot/Main.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status configure: error: Building ghc-pwd failed make: *** [configure-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 http://deb.haskell.org/dailies/2014-04-07/ghc_7.9.20140407-0.daily_amd64.bui... Any ideas? I’m not an expert on linker issues. Greetings, Joachim -- Joachim “nomeata” Breitner mail@joachim-breitner.de • http://www.joachim-breitner.de/ Jabber: nomeata@joachim-breitner.de • GPG-Key: 0x4743206C Debian Developer: nomeata@debian.org

Hi,
On Apr 8, 2014, at 8:58, Joachim Breitner
wrote: Hi,
Am Dienstag, den 08.04.2014, 10:31 +0200 schrieb Herbert Valerio Riedel:
Just a reminder, as not everybody may be aware yet:
There's already daily GHC HEAD packages for Debian at
thanks for the reminder. I guess I need to set up something that notifies me of failures...
Since March 27 weeks, it seems, it is failing:
[..] configure: Building in-tree ghc-pwd /usr/bin/ld: utils/ghc-pwd/dist-boot/Main.o: relocation R_X86_64_32 against `stg_CHARLIKE_closure' can not be used when making a shared object; recompile with -fPIC
It looks to me like -fPIC needs to be added in LDFLAGS or wherever the launchpad build system sources the linker's flags from.
utils/ghc-pwd/dist-boot/Main.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status configure: error: Building ghc-pwd failed make: *** [configure-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 http://deb.haskell.org/dailies/2014-04-07/ghc_7.9.20140407-0.daily_amd64.bui...
Any ideas? I’m not an expert on linker issues.
Greetings, Joachim
-- Joachim “nomeata” Breitner mail@joachim-breitner.de • http://www.joachim-breitner.de/ Jabber: nomeata@joachim-breitner.de • GPG-Key: 0x4743206C Debian Developer: nomeata@debian.org _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

On 2014-04-08 at 10:58:11 +0200, Joachim Breitner wrote: [...]
[..] configure: Building in-tree ghc-pwd /usr/bin/ld: utils/ghc-pwd/dist-boot/Main.o: relocation R_X86_64_32 against `stg_CHARLIKE_closure' can not be used when making a shared object; recompile with -fPIC utils/ghc-pwd/dist-boot/Main.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status configure: error: Building ghc-pwd failed make: *** [configure-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 http://deb.haskell.org/dailies/2014-04-07/ghc_7.9.20140407-0.daily_amd64.bui...
Any ideas? I’m not an expert on linker issues.
I'm rather surprised about that (it doesn't occur on the Ubuntu 12.04 LTS PPA builds)... is this occuring on a vanilla Debian Wheezy? Btw, I've got proper 7.8.1 PPA .debs: https://launchpad.net/~hvr/+archive/ghc/+build/5888874 https://launchpad.net/~hvr/+archive/ghc/+build/5888875 ...when do you plan to build respective 7.8.1 debs for http://deb.haskell.org/stable/ ?

On 08/04/2014 09:58, Joachim Breitner wrote:
Hi,
Am Dienstag, den 08.04.2014, 10:31 +0200 schrieb Herbert Valerio Riedel:
Just a reminder, as not everybody may be aware yet:
There's already daily GHC HEAD packages for Debian at
thanks for the reminder. I guess I need to set up something that notifies me of failures...
Since March 27 weeks, it seems, it is failing:
[..] configure: Building in-tree ghc-pwd /usr/bin/ld: utils/ghc-pwd/dist-boot/Main.o: relocation R_X86_64_32 against `stg_CHARLIKE_closure' can not be used when making a shared object; recompile with -fPIC utils/ghc-pwd/dist-boot/Main.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status configure: error: Building ghc-pwd failed make: *** [configure-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 http://deb.haskell.org/dailies/2014-04-07/ghc_7.9.20140407-0.daily_amd64.bui...
Any ideas? I’m not an expert on linker issues.
What LDFLAGS are being passed to the configure script? This change I made recently forwards LDFLAGS to GHC when building ghc-pwd: https://ghc.haskell.org/trac/ghc/changeset/2aa78106ae8f3c9b71d7b85c2a8a5558c... Cheers, Simon
participants (6)
-
Alain O'Dea
-
Edward Z. Yang
-
Herbert Valerio Riedel
-
Herbert Valerio Riedel
-
Joachim Breitner
-
Simon Marlow