[Haskell-cafe] [hmatrix] build error

Xiao-Yong Jin xj2106 at columbia.edu
Wed Oct 8 07:20:27 EDT 2008

Hi, looks like I hit a bug, but I'm not sure which software
it belongs to, gcc, ghc or atlas?

---------- error doing "runhaskell Setup build" ----------
Preprocessing library hmatrix-
/usr/bin/ld: dist/build/Numeric/GSL/Special/Internal_hsc_make: hidden symbol `__powidf2' in /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/libgcc.a(_powidf2.o) isreferenced by DSO
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
linking dist/build/Numeric/GSL/Special/Internal_hsc_make.o failed
command was: /usr/bin/ghc -optl-lgsl -optl-llapack dist/build/Numeric/GSL/Special/Internal_hsc_make.o -o dist/build/Numeric/GSL/Special/Internal_hsc_make
---------- error doing "runhaskell Setup build" ----------

I believe `__powidf2' is a internal symbol in gcc and it is

The system is archlinux x86_64 and the software I used are

atlas-lapack 3.8.2-1

gcc 4.3.2-1
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
Thread model: posix
gcc version 4.3.2 (GCC)

ghc 6.8.2-2
 [("Project name","The Glorious Glasgow Haskell Compilation System")
 ,("Project version","6.8.2")
 ,("Booter version","6.8.2")
 ,("Interface file version","6")
 ,("Have interpreter","YES")
 ,("Object splitting","YES")
 ,("Have native code generator","YES")
 ,("Support SMP","YES")
 ,("Tables next to code","YES")
 ,("Win32 DLLs","")
 ,("RTS ways"," debug  thr thr_p thr_debug")
 ,("Leading underscore","NO")

I googled but no useful information.

    c/*    __o/*
    <\     * (__
    */\      <

More information about the Haskell-Cafe mailing list