From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 950 invoked by alias); 2 Feb 2015 19:52:52 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 881 invoked by uid 48); 2 Feb 2015 19:52:48 -0000 From: "boger at us dot ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/64876] Regressions in gcc-testresults for powerpc64 gccgo in 5.0 due to change for static chain for closures (219776) Date: Mon, 02 Feb 2015 19:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: boger at us dot ibm.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg00156.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64876 boger at us dot ibm.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gcc dot gnu.org, | |amodra at gmail dot com --- Comment #1 from boger at us dot ibm.com --- I found some notes I had from Alan on his change related to GO closures for powerpc and found that all his changes for libffi are in but this gcc patch is not in gcc trunk: Index: gcc/config/rs6000/linux64.h =================================================================== --- gcc/config/rs6000/linux64.h (revision 217330) +++ gcc/config/rs6000/linux64.h (working copy) @@ -115,6 +115,14 @@ if (dot_symbols) \ error ("-mcall-aixdesc incompatible with -mabi=elfv2"); \ } \ + if (DEFAULT_ABI == ABI_AIX \ + && strcmp (lang_hooks.name, "GNU Go") == 0) \ + { \ + if (global_options_set.x_TARGET_POINTERS_TO_NESTED_FUNCTIONS \ + && TARGET_POINTERS_TO_NESTED_FUNCTIONS) \ + error ("-mpointers-to-nested-functions is incompatible with Go"); \ + TARGET_POINTERS_TO_NESTED_FUNCTIONS = 0; \ + } \ if (rs6000_isa_flags & OPTION_MASK_RELOCATABLE) \ { \ rs6000_isa_flags &= ~OPTION_MASK_RELOCATABLE; \ After applying this patch and rebuilding the regressions go away.