Package: ghc6 Version: 6.12.1-13 Severity: important Hello,
I'm trying to build new GHC on the debian testing on armel running inside Qemu with installed provided ghc6. The problem is that linking of any GHC application fails with: Linking <application> ... /usr/bin/ld: /usr/lib/ghc-6.12.1/unix-2.4.0.0./libHSunix-2.3.0.0.a(Semaphore.o): undefined reference to symbol 'sem_post@@GLIBC_2.4' /usr/bin/ld: note: 'sem_post@@GLIBC_2.4' s defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line /lib/libpthread.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status the workaround is to add -lpthread to the linking command-line, but this is not possible to do to cabal generated commands which makes compilation of own ghc impossible -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: armel (armv5tejl) Kernel: Linux 2.6.38-2-versatile Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash Versions of packages ghc6 depends on: ii gcc 4:4.5.2-2 The GNU C compiler ii libbsd-dev 0.2.0-1 utility functions from BSD systems ii libc6 2.13-4 Embedded GNU C Library: Shared lib ii libc6-dev 2.13-4 Embedded GNU C Library: Developmen ii libffi-dev 3.0.9-4 Foreign Function Interface library ii libffi5 3.0.9-4 Foreign Function Interface library ii libgcc1 1:4.6.0-10 GCC support library ii libgmp3-dev 2:5.0.1+dfsg-7 Multiprecision arithmetic library ii libgmp3c2 2:4.3.2+dfsg-2 Multiprecision arithmetic library ii libncurses5 5.9-1 shared libraries for terminal hand ii perl [perl5] 5.12.3-7 Larry Wall's Practical Extraction ghc6 recommends no packages. Versions of packages ghc6 suggests: pn ghc6-doc <none> (no description available) pn ghc6-prof <none> (no description available) pn haskell-doc <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org