Re: [MacPorts] #30555: GHC build error: LLVM cannot handle register variable ‘R1’
MacPorts
noreply at macports.org
Tue Aug 2 19:01:28 PDT 2011
#30555: GHC build error: LLVM cannot handle register variable ‘R1’
-------------------------------------+--------------------------------------
Reporter: dmm@… | Owner: gwright@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: | Port: ghc
-------------------------------------+--------------------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => gwright@…
Old description:
> Can't build GHC under MacPorts 2.0.1, gives this error.
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4/ghc/stage1-inplace/ghc
> -optc-O -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-
> prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-
> return -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism -optc-
> DCOMPILING_RTS -optc-fomit-frame-pointer -optc-I/opt/local/include
> -optc-I../gmp/gmpbuild -optc-I../libffi/build/include -optc-fno-strict-
> aliasing -H32m -O
> -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4/libffi
> -I/opt/local/include -L/opt/local/lib -optc-O2 -I../includes -I.
> -Iparallel -Ism -DCOMPILING_RTS -package-name rts -static
> -I/opt/local/include -I../gmp/gmpbuild -I../libffi/build/include -I.
> -optc-fno-stack-protector -dcmm-lint -c Task.c -o Task.o
> :info:build In file included from ../includes/Stg.h:206,
> :info:build
> :info:build from StgCRun.c:71:0:
> :info:build
> :info:build ../includes/Regs.h:217:0:
> :info:build sorry, unimplemented: LLVM cannot handle register
> variable ‘R1’, report a bug
> :info:build make[1]: *** [StgCRun.o] Error 1
>
> OS Mac OS 10.6.8, Xcode 4.0.2
New description:
Can't build GHC under MacPorts 2.0.1, gives this error.
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4/ghc/stage1-inplace/ghc
-optc-O -optc-Wall -optc-W -optc-Wstrict-prototypes -optc-Wmissing-
prototypes -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-
return -optc-I../includes -optc-I. -optc-Iparallel -optc-Ism -optc-
DCOMPILING_RTS -optc-fomit-frame-pointer -optc-I/opt/local/include
-optc-I../gmp/gmpbuild -optc-I../libffi/build/include -optc-fno-strict-
aliasing -H32m -O
-L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4/libffi
-I/opt/local/include -L/opt/local/lib -optc-O2 -I../includes -I.
-Iparallel -Ism -DCOMPILING_RTS -package-name rts -static
-I/opt/local/include -I../gmp/gmpbuild -I../libffi/build/include -I.
-optc-fno-stack-protector -dcmm-lint -c Task.c -o Task.o
:info:build In file included from ../includes/Stg.h:206,
:info:build
:info:build from StgCRun.c:71:0:
:info:build
:info:build ../includes/Regs.h:217:0:
:info:build sorry, unimplemented: LLVM cannot handle register
variable ‘R1’, report a bug
:info:build make[1]: *** [StgCRun.o] Error 1
}}}
OS Mac OS 10.6.8, Xcode 4.0.2
--
Comment:
Use WikiFormatting please and preview before submitting, and Cc the port's
maintainer.
--
Ticket URL: <https://trac.macports.org/ticket/30555#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list