From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id 9FC123850406 for ; Thu, 25 Feb 2021 22:46:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9FC123850406 Received: by mail-wr1-x435.google.com with SMTP id b18so308170wrn.6 for ; Thu, 25 Feb 2021 14:46:08 -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:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vq9w8SEtuf8j3WWDg1+IjZpwEwpHhR3fyT1YapY0ekk=; b=cYK6frpRcUJ8eAENfCIA2rvnUtQwXpyB+aA/+gTSLgxQaUpCkrqQJ2KQcNWHDYOY13 MAbTXaW9UU+Xx/hnWgKondcEHnAP8WjvcxWjMqgE8FBeaGagTJ4os42NgV+IAsunjXf6 ofWpT9LP1YQsDtJrEeiMzof9wFn3G6igwb4nDEGbRCk7wnlNwViCfl7KXMeSDmZZ1Xjz OoPC/+65FlIi7qIx26Z30dO8c/PWZSof8DiUow2McC/tziZn3+fdCwzdQ75YnqPZwRe+ un4J861pKPivvvAX8mllMz0HUJsI17w3quEt5ZHzzlmifE32PRDKmPKQzkStOKIdirbe zjTA== X-Gm-Message-State: AOAM532TBmy4mI0Mb3qoy9XqAtWwS8+HGctNiSpokYxqpx/0OsPQbmgI RImKb+miHqBdnLGfr3vsoAfDo2/3xCXtaO1vSP8= X-Google-Smtp-Source: ABdhPJzEnPo1+1lHTWS2ahGeBYfN3fHOekhGl4ogARBzlO/H+Sw62qSBVVw+hHt9LYj6cAtIJmn/RhnwVQXj6QzkvL4= X-Received: by 2002:a5d:6803:: with SMTP id w3mr189542wru.300.1614293167772; Thu, 25 Feb 2021 14:46:07 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: David Edelsohn Date: Thu, 25 Feb 2021 17:45:56 -0500 Message-ID: Subject: Re: What is pex_run To: Gary Oblock Cc: "gcc@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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 X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2021 22:46:10 -0000 On Thu, Feb 25, 2021 at 5:26 PM Gary Oblock via Gcc wrote: > > I've got collect2 finding a linker error and I'm out of > other options so I'm poking around in the collect2 > sources. I'm wondering what pex_run is (since it's > getting handed the arguments this might mater?) > I figure if I can get collect2 to spill its guts > about what arguments are fed to "ld" I'll have > at least a chance figuring out what in the bleep > is going on... alternate debugging strategies > are welcome. collect2 will dump out a lot of extra information and save temporary files if passed "-debug" option to collect2 (not to GCC). In other words $ gcc -Wl,-debug -o foo foo.o Thanks, David