From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by sourceware.org (Postfix) with ESMTPS id 36F1E385DC14 for ; Wed, 15 Apr 2020 01:48:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 36F1E385DC14 Received: by mail-ed1-x534.google.com with SMTP id m12so2300586edl.12 for ; Tue, 14 Apr 2020 18:48:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=3WQ9+3Tjw+tXgU3p4auh5Dh64099PHgJbFM+O581r/g=; b=A6EWzcbz+WnD7bUz2Jc9ucZMo5RJMJGhL4+iFrXB/TtEGo7v1BcABslvum4RinTNK+ RBAg0iJ6ewWK7cJZbiu5NsdLtSw11itmII8cgIhS/b0rmPPWqqm6z7okenkXRsCsnu2Z ndvRhIghT87DgytFz1nEwGd7BZ6F5AiSdpmsU+yhyvuUPu1kkMVYK4Nyjpp9OWolnUFH on5sEddWVJBB6PqyErG+82cKo7vKJ+jXp0aPHhaZUiqrfUPY/BGVUOvKu4xmuh+AkevU 2qC6XFyC+H9KLR5BuUqX7zE8G3NjJhAUUzFymV+6w8rKJiQFxMyfXTU13ym78ugy7f35 duFA== X-Gm-Message-State: AGi0PuY+OjuRS0qAN5lJPxzahPtf0psNqfpWDx+M+3x260SyFPs30f60 xlBu8pBqONI9SOqmBBR2gvrMT5strE3f6jZhgV/q2sJ/CvM= X-Google-Smtp-Source: APiQypJ7ALUAEBsTyEQOXxpB+QXLp8zq7WlnxuDXbQ/OpS1zFMpn/Atto/usxdb+m7rZavZR1yP5Y+UbZsGjiQFp8uM= X-Received: by 2002:a50:9f6b:: with SMTP id b98mr9290226edf.119.1586915328132; Tue, 14 Apr 2020 18:48:48 -0700 (PDT) MIME-Version: 1.0 References: <878633F1-77D9-46CD-BB6F-2FB064B2793A@comcast.net> <05B3AEF0-54D0-408F-97A4-19B2F3918611@comcast.net> In-Reply-To: <05B3AEF0-54D0-408F-97A4-19B2F3918611@comcast.net> From: krokus Date: Tue, 14 Apr 2020 20:48:35 -0500 Message-ID: Subject: Re: Building gdb-9.1 on OSX: gdb's exceptions are not getting caught To: gdb@sourceware.org X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 01:48:51 -0000 Paul, I tried to build with your configure flags; So far the same result, it does not catch the exceptions. I'm puzzled. Could you please run the test below to see which compiler and link flags are being active during clang complie and link? It should run clang in verbose mode and will show the flags and include/lib paths I will try to match your compile/link flags with my clang-8.0. TEST: ``` echo "int main() {return 0;}" > /tmp/x.cc && clang++ -v -Wl,-v /tmp/x.cc -o /dev/null && rm /tmp/x.cc ``` Thanks!