[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#616494: git-annex: FTBFS on various archs: undefined reference to symbol 'sem_close@@GLIBC_…'



Cyril Brulebois wrote:
> your package no longer builds on various archs. Example on armel:
> | make[1]: Entering directory `/build/buildd-git-annex_0.22-mipsel-Yh1YgB/git-annex-0.22'
> | ghc -O2 -Wall -ignore-package monads-fd --make configure
> | [1 of 2] Compiling TestConfig       ( TestConfig.hs, TestConfig.o )
> | [2 of 2] Compiling Main             ( configure.hs, configure.o )
> | Linking configure ...
> | /usr/bin/ld: /usr/lib/ghc-6.12.1/unix-2.4.0.0/libHSunix-2.4.0.0.a(Semaphore.o): undefined reference to symbol 'sem_post@@GLIBC_2.2'
> | /usr/bin/ld: note: 'sem_post@@GLIBC_2.2' is 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
> | make[1]: *** [SysConfig.hs] Error 1

This must be some sort of ghc problem on those arches. The configure
program is some quite simple haskell code with no use of libraries
outside the System haskell libraries. ghc already has one other open bug
regarding problems with libpthread, that affected static compilation.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: