public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "juergen.reuter at desy dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/97865] libtool needs to be updated for Darwin20.
Date: Thu, 19 Nov 2020 19:50:34 +0000	[thread overview]
Message-ID: <bug-97865-4-oBgSpOLGuH@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-97865-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865

--- Comment #23 from Jürgen Reuter <juergen.reuter at desy dot de> ---
(In reply to Iain Sandoe from comment #18)
> (In reply to Jürgen Reuter from comment #17)
> -----
> 
> * I found that there was one incorrect case in libgfortran (where there is a
> direct reference to **environ from the dylib, which is not allowed) - this
> was being hidden by the 'global dynamic_lookup' -- the
> master-wip-config-darwin20 branch has a patch now for that too.
> 
> My test setup
> 
> clean install of macOS11.0.1
> master-wip-config-darwin20
> command line install of XC12.2RC
> GMP/MPFR/PMC/ISL are built in-tree (the sources are symlinked into the root
> dir)
> 
> /src-local/gcc-master/configure
> --prefix=/opt/iains/x86_64-apple-darwin20/gcc-11-0-0
> --target=x86_64-apple-darwin20 --host=x86_64-apple-darwin20
> --build=x86_64-apple-darwin20
> --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
> --enable-languages=all CC=x86_64-apple-darwin19-gcc
> CXX=x86_64-apple-darwin19-g++
> 

> ====
> 
> The effort of testing a top-level configuration change across multiple
> platforms is quite significant - so I'd rather not hack a minimal change and
> then have to go back and fix it properly later - so let's get to the bottom
> of what's happening and find the correct solution.

So with that patch it works. Probably it worked even before your last fix, as I
think I cloned the first your repo just with the link above, but was on master,
not on the master-wip-config-darwin20, my fault. I compiled/bootstrapped now
with Apple clang version 12.0.0 (clang-1200.0.32.27), and just did make -i
install, skipping over the error, which I think is not relevant for me. I used
my patches for the gmp, mpfr, mpc, though I think it's not relevant for them.
In any case I notified their developers about the issue. Hope we get a stable
and convincing solution into 11.0.1. Will you then backport this for upcoming
10.3 and 9.4 as well? (for 8 it's probably too late).

  parent reply	other threads:[~2020-11-19 19:50 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 20:49 [Bug target/97865] New: MACOSX_DEPLOY_TARGET needs to be updated juergen.reuter at desy dot de
2020-11-16 21:12 ` [Bug target/97865] " egallager at gcc dot gnu.org
2020-11-16 21:56 ` juergen.reuter at desy dot de
2020-11-17  9:58 ` iains at gcc dot gnu.org
2020-11-17 10:12 ` juergen.reuter at desy dot de
2020-11-17 10:32 ` iains at gcc dot gnu.org
2020-11-17 10:36 ` juergen.reuter at desy dot de
2020-11-17 10:49 ` iains at gcc dot gnu.org
2020-11-17 13:05 ` iains at gcc dot gnu.org
2020-11-17 14:04 ` juergen.reuter at desy dot de
2020-11-17 21:23 ` iains at gcc dot gnu.org
2020-11-17 21:24 ` iains at gcc dot gnu.org
2020-11-17 22:02 ` [Bug target/97865] libtool needs to be updated for Darwin20 joseph at codesourcery dot com
2020-11-17 22:09 ` iains at gcc dot gnu.org
2020-11-18  8:39 ` juergen.reuter at desy dot de
2020-11-18 19:31 ` iains at gcc dot gnu.org
2020-11-19 11:00 ` juergen.reuter at desy dot de
2020-11-19 11:37 ` juergen.reuter at desy dot de
2020-11-19 12:53 ` iains at gcc dot gnu.org
2020-11-19 12:57 ` iains at gcc dot gnu.org
2020-11-19 13:01 ` iains at gcc dot gnu.org
2020-11-19 13:10 ` iains at gcc dot gnu.org
2020-11-19 16:12 ` iains at gcc dot gnu.org
2020-11-19 19:50 ` juergen.reuter at desy dot de [this message]
2020-11-19 23:46 ` iains at gcc dot gnu.org
2020-11-25 20:49 ` iains at gcc dot gnu.org
2020-12-03  9:49 ` juergen.reuter at desy dot de
2020-12-03  9:53 ` iains at gcc dot gnu.org
2020-12-05 13:25 ` cvs-commit at gcc dot gnu.org
2020-12-06 18:41 ` juergen.reuter at desy dot de
2021-01-03  9:28 ` cvs-commit at gcc dot gnu.org
2021-05-01 13:08 ` cvs-commit at gcc dot gnu.org
2021-05-17  8:08 ` jakub at gcc dot gnu.org
2021-10-01 23:11 ` iains at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-97865-4-oBgSpOLGuH@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).