#1361: When trying to run yi, it fails to compile main, and exits with an error
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Os: Linux | Testcase:
Architecture: x86 |
-------------------------+--------------------------------------------------
Comment (by guest):
I have a similar setup and a similar problem. It manifests itself slightly
differently. I have a gentoo system with my own ebuilds for ghc-6.6.1
(simply renaming the 6.6 ebuild from the haskell overlay) and
cabal-1.1.6.2 (likewise).
When I try to install yi (using the 0.2 ebuild from the overlay)
everything goes (apparently) fine until the linking stage when the
following output ensues:
{{{
1 of 4] Compiling Yi.Kernel ( Yi/Kernel.hs, dist/build/yi/yi-
tmp/Yi/Kernel.o )
[2 of 4] Compiling Yi.Debug ( Yi/Debug.hs, dist/build/yi/yi-
tmp/Yi/Debug.o )
[3 of 4] Compiling Yi.Boot ( Yi/Boot.hs, dist/build/yi/yi-
tmp/Yi/Boot.o )
[4 of 4] Compiling Main ( Main.hs, dist/build/yi/yi-tmp/Main.o
)
Linking dist/build/yi/yi ...
/usr/lib/ghc-6.6.1/libHSghc.a(HeaderInfo.o): In function `r6kr_info':
: undefined reference to
`Cabalzm1zi1zi6zi2_LanguageziHaskellziExtension_optional_info'
/usr/lib/ghc-6.6.1/libHSghc.a(HeaderInfo.o): In function `s6sB_info':
: undefined reference to
`Cabalzm1zi1zi6zi2_LanguageziHaskellziExtension_zdwshowsPrec_info'
/usr/lib/ghc-6.6.1/libHSghc.a(HeaderInfo.o): In function `s6ub_info':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziCompiler_lvl31_info'
/usr/lib/ghc-6.6.1/libHSghc.a(HeaderInfo.o): In function `s6uf_info':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziCompiler_zddEq_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(HeaderInfo.o): In function `s6Ka_0_alt':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziCompiler_polyzugo_info'
/usr/lib/ghc-6.6.1/libHSghc.a(HeaderInfo.o): In function `s6Kd_0_alt':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziCompiler_polyzugo1_info'
/usr/lib/ghc-6.6.1/libHSghc.a(HeaderInfo.o):(.rodata+0x0): undefined
reference to
`Cabalzm1zi1zi6zi2_LanguageziHaskellziExtension_optional_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(HeaderInfo.o):(.rodata+0x1cc): undefined
reference to
`Cabalzm1zi1zi6zi2_LanguageziHaskellziExtension_zdwshowsPrec_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(HeaderInfo.o):(.rodata+0x1dc): undefined
reference to `Cabalzm1zi1zi6zi2_DistributionziCompiler_lvl31_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(PackageConfig.o): In function `s23p_1_alt':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziPackage_a_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(Packages.o): In function `s79o_1_alt':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziPackage_a_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(Packages.o): In function `s7be_1_alt':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziPackage_a_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(Packages.o): In function `s7jH_1_alt':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziPackage_a_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(Packages.o): In function `s7xm_1_alt':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziPackage_a_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(Packages.o): In function `s7zp_info':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziPackage_zeze_info'
/usr/lib/ghc-6.6.1/libHSghc.a(Packages.o): In function `s7HJ_1_alt':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziPackage_a_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(Linker.o): In function `s93a_1_alt':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziPackage_a_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(Linker.o): In function `s94C_1_alt':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziPackage_a_closure'
/usr/lib/ghc-6.6.1/libHSghc.a(Finder.o): In function `s7lE_1_alt':
: undefined reference to
`Cabalzm1zi1zi6zi2_DistributionziPackage_a_closure'
collect2: ld returned 1 exit status
}}}
Getting the darcs version and making with "make emacs" ends the same way.
Is this the same issue?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1361>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs