Ticket #4944 (closed bug: wontfix)

Opened 2 years ago

Last modified 2 years ago

-fvia-C/asm mangler broken on registerised powerpc-linux build

Reported by: kgardas Owned by:
Priority: normal Milestone:
Component: Compiler Version: 7.0.1
Keywords: Cc:
Operating System: Linux Architecture: powerpc
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Hello, I've build 7.0.1 on powerpc-linux platform, but a lot (if not all) tests compiled with -fvia-C fails with:

Prologue junk?: 	.type	s166_ret, @function
s166_ret:
 # 27 "/tmp/ghc17899_0/ghc17899_0.hc" 1

Change History

Changed 2 years ago by kgardas

  • summary changed from -fvia-C/asm mangler broken on regiserised powerpc-linux build to -fvia-C/asm mangler broken on registerised powerpc-linux build

Changed 2 years ago by igloo

  • status changed from new to closed
  • resolution set to wontfix

Registerised PPC/Linux isn't a supported platform, I'm afraid.

Note too that registerised -fvia-C is deprecated, so if anyone wishes to work on fixing registerised PPC/Linux you'll need to add a native code generator instead.

Changed 2 years ago by kgardas

Ian, I completely do not understand your comment. First of all, I agree with your closing/will not fix since I put it here just for the reference. On the other hand IMHO powerpc-linux registerised build is using PPC NCG successfully and on by default:

$ uname -a
Linux gcc40 2.6.26-2-powerpc64 #1 SMP Thu May 13 07:29:31 UTC 2010 ppc64 GNU/Linux
$ pwd
/home/kgardas/src/ghc-7.0.1/testsuite/tests/ghc-regress/codeGen/should_run
$ ../../../../../inplace/bin/ghc-stage2 -S cgrun001.hs 
$ grep "ident" cgrun001.s
.ident "GHC 7.0.1"
$ 

Changed 2 years ago by igloo

Oh, if there is already a working PPC/Linux NCG then that's great!

Note: See TracTickets for help on using tickets.