From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#47558: 28.0.50; dlopen 'image not found' gccemacs native-lisp macos Date: Wed, 7 Apr 2021 10:58:09 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28353"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bryan.m.obrien@gmail.com, 47558@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 07 11:59:24 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lU4y4-00076C-4t for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Apr 2021 11:59:24 +0200 Original-Received: from localhost ([::1]:39130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lU4y3-0004Un-7y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Apr 2021 05:59:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lU4xi-0004UU-PW for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2021 05:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lU4xi-0006T8-IG for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2021 05:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lU4xi-0003Wg-Ht for bug-gnu-emacs@gnu.org; Wed, 07 Apr 2021 05:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Apr 2021 09:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47558 X-GNU-PR-Package: emacs Original-Received: via spool by 47558-submit@debbugs.gnu.org id=B47558.161778951113506 (code B ref 47558); Wed, 07 Apr 2021 09:59:02 +0000 Original-Received: (at 47558) by debbugs.gnu.org; 7 Apr 2021 09:58:31 +0000 Original-Received: from localhost ([127.0.0.1]:43155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lU4x9-0003Vg-Ci for submit@debbugs.gnu.org; Wed, 07 Apr 2021 05:58:31 -0400 Original-Received: from outbound.soverin.net ([116.202.65.218]:57975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lU4x4-0003VL-AZ for 47558@debbugs.gnu.org; Wed, 07 Apr 2021 05:58:26 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 8449460191; Wed, 7 Apr 2021 09:58:16 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1617789495; bh=tfjN+7bB5T9CAIFwCW5cHgVq1v81eYeJfyNfkkNxav0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XAB0hvDP+ARVYa0GEjtnEaZfmkGxZj9O1vpmUj3BP+yaQyQ8JLxXQpg1jxkSFNjtR BfBQOEzAGHJpzireQygY+8jH5U1+6yFweYRcNJQ1IVFQNPI3p4IzO4Oq6avqivi0gP rQLUUZ7bx6rMm6A09k7vcY9rWY6xuxvNHAbm5GdB7o9QBkDkBLKwxbDdYUTycPtnHm hSyqsWzOmN7xV6jaDFxE8z/KD5jBuB+rdHQ4eLA6vhczFrByX2iJujk6/7F2I0I8qc fBx3HgwL95KQyMmSRxclw5QOAlTSVDHYTOq9L+TMGliZXUOJ+75mgeyLOVK05171KR hHfZ1YgNBqntA== Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 573CE202BABEDC; Wed, 7 Apr 2021 10:58:10 +0100 (BST) Mail-Followup-To: Alan Third , Andrea Corallo , Eli Zaretskii , bryan.m.obrien@gmail.com, 47558@debbugs.gnu.org Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:203673 Archived-At: On Wed, Apr 07, 2021 at 09:08:36AM +0000, Andrea Corallo wrote: > A curiosity looking at c35a515a2f: > > + LDFLAGS="$LDFLAGS -L${BREW_LIBGCCJIT_PREFIX}/lib/gcc/10 -I${BREW_LIBGCCJIT_PREFIX}/include" > ^^^ > > Does this mean will have to touch configure.ac when brew will provide gcc11? I think so. I can't see any way to get this path information out of the brew command. Perhaps we need to do some find magic to get the actual directory...? This appears to work, but I don't see anything else like it in configure.ac, so it's maybe not a good idea: brew_libdir=`dirname ${BREW_LIBGCCJIT_PREFIX}/lib/gcc/*/libgccjit.so` LDFLAGS="$LDFLAGS -L${brew_libdir} -I${BREW_LIBGCCJIT_PREFIX}/include" The alternative is just to leave people to set up these flags themselves, but I'd rather not if we can avoid it. -- Alan Third