[GHC] #14278: undefined symbol: gsl_multiroot_fsolver_broyden

#14278: undefined symbol: gsl_multiroot_fsolver_broyden ----------------------------------------+------------------------------- Reporter: smyds | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Keywords: | Operating System: Linux Architecture: Unknown/Multiple | Type of failure: GHCi crash Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: ----------------------------------------+------------------------------- Hi, I am trying to compile the package [https://hackage.haskell.org/package/hmatrix hmatrix]. After cloning the [https://github.com/albertoruiz/hmatrix git repository], I ran {{{$ stack setup}}} and {{{$ stack build}}} successfully but then I ran into this : {{{ $ stack repl Configuring GHCi with the following packages: hmatrix, hmatrix-glpk, hmatrix-gsl, hmatrix-special, hmatrix-tests GHCi, version 8.0.2: http://www.haskell.org/ghc/ :? for help ghc: panic! (the 'impossible' happened) (GHC version 8.0.2 for i386-unknown-linux): Loading temp shared object failed: /tmp/ghc25335_0/libghc_7.so: undefined symbol: gsl_multiroot_fsolver_broyden Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} I am running this on a devuan x86 machine, but I have tried the same procedure on a debian x86_64 with a similar result. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14278 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14278: undefined symbol: gsl_multiroot_fsolver_broyden -------------------------------+---------------------------------------- Reporter: smyds | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+---------------------------------------- Changes (by smyds): * version: 8.2.1 => 8.0.2 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14278#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14278: undefined symbol: gsl_multiroot_fsolver_broyden -------------------------------+---------------------------------------- Reporter: smyds | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+---------------------------------------- Comment (by bgamari): What `libgsl2` version do you have installed? e.g., what does, {{{ dpkg -l libgsl2 }}} say? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14278#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14278: undefined symbol: gsl_multiroot_fsolver_broyden -------------------------------+---------------------------------------- Reporter: smyds | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+---------------------------------------- Comment (by smyds): 2.3 and 2.4 on the 2 machines {{{ $ dpkg -l libgsl2 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig- pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=========================-=================-=================-======================================================= ii libgsl2:i386 2.3+dfsg-1 i386 GNU Scientific Library (GSL) -- library package }}} {{{ $ dpkg -l libgsl2 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig- pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=========================-=================-=================-======================================================= ii libgsl2:amd64 2.4+dfsg-2 amd64 GNU Scientific Library (GSL) -- library package }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14278#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14278: undefined symbol: gsl_multiroot_fsolver_broyden -------------------------------+---------------------------------------- Reporter: smyds | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+---------------------------------------- Comment (by bgamari): Hmm, odd. What does, {{{ objdump -T /usr/lib/x86_64-linux-gnu/libgsl.so | grep broyden }}} say? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14278#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14278: undefined symbol: gsl_multiroot_fsolver_broyden -------------------------------+---------------------------------------- Reporter: smyds | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+---------------------------------------- Comment (by smyds): machine 1 (x86) : {{{ $ objdump -T /usr/lib/i386-linux-gnu/libgsl.so | grep broyden 00281738 g DO .data 00000004 Base gsl_multiroot_fsolver_broyden }}} machine 2 (x86_64) (libgsl.so doesn't exists here, only libgsl.so.19) : {{{ $ objdump -T /usr/lib/x86_64-linux-gnu/libgsl.so.19 | grep broyden 00000000004670e0 g DO .data 0000000000000008 Base gsl_multiroot_fsolver_broyden }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14278#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14278: undefined symbol: gsl_multiroot_fsolver_broyden -------------------------------+---------------------------------------- Reporter: smyds | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Linux | Architecture: Unknown/Multiple Type of failure: GHCi crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------+---------------------------------------- Comment (by bgamari): Hmm, unfortunately I can't reproduce this locally. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14278#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC