Opened 13 years ago

Last modified 12 years ago

#30555 closed defect

GHC build error: LLVM cannot handle register variable ‘R1’ — at Version 2

Reported by: dmm@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: zdw@…
Port: ghc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (3)

Changed 13 years ago by dmm@…

Attachment: main.log added

compile error log

comment:1 Changed 13 years ago by zdw (Zack Williams)

Cc: zdw@… added

Cc Me!

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to gwright@…

Use WikiFormatting please and preview before submitting, and Cc the port's maintainer.

Note: See TracTickets for help on using tickets.