#3679: ghc: panic! (the 'impossible' happened)
----------------------------------+-----------------------------------------
  Reporter:  elkner               |          Owner:                
      Type:  bug                  |         Status:  new           
  Priority:  normal               |      Milestone:                
 Component:  Compiler             |        Version:  6.10.4        
Resolution:                       |       Keywords:                
Difficulty:                       |             Os:  Solaris       
  Testcase:                       |   Architecture:  x86_64 (amd64)
   Failure:  Building GHC failed  |  
----------------------------------+-----------------------------------------
Changes (by igloo):

  * difficulty:  =>

Old description:

> SunOS q 5.11 snv_126 i86pc i386 i86pc
>
>     ./configure --prefix=/opt \
>         --disable-static \
>         --disable-rpath \
>         --enable-shared \
>         --with-ghc=$ROOT4BUILD/opt/bin/ghc \
>         --with-gmp-includes=/usr/include/gmp \
>         --with-gmp-libraries=/usr/lib/${ARCH_DIR}
>
>     gmake all | tee $MAKELOG
>
> ...
> /export/scratch/elkner/build/ghc-6.10.4/ghc-6.10.4/ghc/stage1-inplace/ghc
> -H32m -O -optc-O2 -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS
> -package-name rts  -I/usr/include/gmp -I../gmp/gmpbuild
> -I../libffi/build/include -I. -dcmm-lint  -hisuf dyn_hi -hcsuf dyn_hc
> -osuf dyn_o -fPIC -dynamic   -c Apply.cmm -o Apply.dyn_o
> ghc: panic! (the 'impossible' happened)
>   (GHC version 6.10.4 for i386-unknown-solaris2):
>         howToAccessLabel: PIC not defined for this platform
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
>
> gmake[2]: *** [Apply.dyn_o] Error 1
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory
> `/export/scratch/elkner/build/ghc-6.10.4/ghc-6.10.4/rts'
> gmake: *** [stage1] Error 2
> Skipping package make
> 432.09u 41.84s 9:58.28 79.2%

New description:

 {{{
 SunOS q 5.11 snv_126 i86pc i386 i86pc

     ./configure --prefix=/opt \
         --disable-static \
         --disable-rpath \
         --enable-shared \
         --with-ghc=$ROOT4BUILD/opt/bin/ghc \
         --with-gmp-includes=/usr/include/gmp \
         --with-gmp-libraries=/usr/lib/${ARCH_DIR}

     gmake all | tee $MAKELOG

 ...
 /export/scratch/elkner/build/ghc-6.10.4/ghc-6.10.4/ghc/stage1-inplace/ghc
 -H32m -O -optc-O2 -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS
 -package-name rts  -I/usr/include/gmp -I../gmp/gmpbuild
 -I../libffi/build/include -I. -dcmm-lint  -hisuf dyn_hi -hcsuf dyn_hc
 -osuf dyn_o -fPIC -dynamic   -c Apply.cmm -o Apply.dyn_o
 ghc: panic! (the 'impossible' happened)
   (GHC version 6.10.4 for i386-unknown-solaris2):
         howToAccessLabel: PIC not defined for this platform

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 gmake[2]: *** [Apply.dyn_o] Error 1
 gmake[1]: *** [all] Error 1
 gmake[1]: Leaving directory
 `/export/scratch/elkner/build/ghc-6.10.4/ghc-6.10.4/rts'
 gmake: *** [stage1] Error 2
 Skipping package make
 432.09u 41.84s 9:58.28 79.2%
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3679#comment:1>
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

Reply via email to