From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75041 invoked by alias); 29 Jan 2017 01:11:55 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 75025 invoked by uid 89); 29 Jan 2017 01:11:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=incantation, gcc-6.12, GCC-6.12, gcc612 X-HELO: mail-qt0-f172.google.com Received: from mail-qt0-f172.google.com (HELO mail-qt0-f172.google.com) (209.85.216.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 29 Jan 2017 01:11:44 +0000 Received: by mail-qt0-f172.google.com with SMTP id k15so178306790qtg.3 for ; Sat, 28 Jan 2017 17:11:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UMKhJ6qhH2Ca37V0bScldIp2iqrL7r7CPUHOGikguI4=; b=oD+7H6SrTmm+2d57twuRykzqyy9qQbnboeaUaAWaGEKQjFrHljIdX+8iaSw48mMB+1 99JlI0U/HWO5TklaEWLkfJPOC493IHELYOATksYzATXcBjb+8fwaamRvRAxV94l7a1HB iYSMxOtyuygDWM0gbZS9cpKpa3ysQH1G2myR4ujcKSChGmjEEXgGcA6Dg3u6hDJpnVOE WnCztv5M8aa9WnCaDa8EhGy5I7vOZBxdWDtwBT99XV3y/VFe11N3ANnuXO7bM3IJXnVO DJIWgwefgce2q6iu9oMRNkakEXPF0dHg6Pf22n2+SBFFGwDWCv2b8vDyeYpI/mT8wYLt 7K3g== X-Gm-Message-State: AIkVDXKD2pN7i5WUKvyJb4L/wV2KjDtUtZagFC7lHTtzmdoIOovlkedVIjQ6/QwkbGkQ1nOkYUQkoQs1VQ77jg== X-Received: by 10.237.55.97 with SMTP id i88mr15005424qtb.143.1485652302556; Sat, 28 Jan 2017 17:11:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.181.202 with HTTP; Sat, 28 Jan 2017 17:11:42 -0800 (PST) In-Reply-To: References: From: David Edelsohn Date: Sun, 29 Jan 2017 01:11:00 -0000 Message-ID: Subject: Re: Issue with Latest GDB on AIX with GCC-6.12 To: Pedro Alves , Nitish Kumar Mishra Cc: "gdb@sourceware.org" , Yao Qi Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2017-01/txt/msg00053.txt.bz2 On Sat, Jan 28, 2017 at 6:56 PM, David Edelsohn wrote: > If the problem is throwing an exception through a function called via > pointer, then the solution should be to follow the suggestion in > comment #8 and add an appropriate incantation of > > -Wl,-bkeepfile: > > to the link step for GDB, something like > > gdb/config/powerpc/aix.mh > MH_LDFLAGS = -Wl,-bkeepfile:event-top.o -bkeepfile for the obvious candidates does not fix the problem. And -bexpfull fails to links. FYI, there is a ramdisk filesystem mounted as /scratch that greatly speeds up Git checkout and builds, although the underlying filesystem obviously is transient and should not be used for persistent files. I am waiting for an Emacs build without the incorrect dependency. For BS/DEL, at worst you can remap it with stty erase ^? . Note that std::terminate() is called specifically because there was an unwind failure and no handler was found in eh_throw.cc in libsupc++ (part of libstdc++). Is this code trying to propagate an exception through a signal handler, in which case GCC MD_FALLBACK_FRAME_STATE_FOR needs to be tweaked to find more AIX kernel signal handler signatures. - David