[parrot/parrot] 379fab: Fix solaris gcc build: int3 trap not supported

GitHub noreply at github.com
Mon Sep 17 18:20:12 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 379faba3e871ea9ff0a57611fa4a3bad91b9a6be
      https://github.com/parrot/parrot/commit/379faba3e871ea9ff0a57611fa4a3bad91b9a6be
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2012-09-17 (Mon, 17 Sep 2012)

  Changed paths:
    M src/ops/core_ops.c
    M src/ops/experimental.ops

  Log Message:
  -----------
  Fix solaris gcc build: int3 trap not supported

Apparently the solaris 10 gcc assembler does not define the
int3 (0xCC) opcode. Disable it for solaris, i.e defined(sun).
gcc (GCC) 4.5.2 SunOS solaris 5.11 11.0 i86pc i386 i86pc
   "<stdin>", line 127437 : Illegal mnemonic
  Near line: "    int3"
  "<stdin>", line 127437 : Syntax error
  Near line: "    int3"





More information about the parrot-commits mailing list