public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13
       [not found] <bug-84257-4@http.gcc.gnu.org/bugzilla/>
@ 2020-05-07 22:43 ` egallager at gcc dot gnu.org
  2021-07-31 22:07 ` egallager at gcc dot gnu.org
  2021-07-31 22:42 ` iains at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: egallager at gcc dot gnu.org @ 2020-05-07 22:43 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to 191919 from comment #2)
> I tried with the combination of the following settings under macOS 10.13.3:
> 
> internal SSD / external HD
> HFS+ / APFS
> SIP enabled / SIP disabled
> 
> The only factor that affects is SIP status. Once I disable it,
> DYLD_LIBRARY_PATH will be exported, then the scripts run slowly.
> 
> I have reported the problem to Apple, but since turning off SIP is not
> recommended, I don't think they are going to fix it in short future.

This is a great example of why it'd be so good to have a fully-FOSS fork of
Darwin that can make different recommendations about things like that.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13
       [not found] <bug-84257-4@http.gcc.gnu.org/bugzilla/>
  2020-05-07 22:43 ` [Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13 egallager at gcc dot gnu.org
@ 2021-07-31 22:07 ` egallager at gcc dot gnu.org
  2021-07-31 22:42 ` iains at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: egallager at gcc dot gnu.org @ 2021-07-31 22:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> ---
the MacPorts project applies the following patch to work around this issue:
https://github.com/macports/macports-ports/commit/0641e588e989b7b3e5049ca79e354339ccb403ca

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13
       [not found] <bug-84257-4@http.gcc.gnu.org/bugzilla/>
  2020-05-07 22:43 ` [Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13 egallager at gcc dot gnu.org
  2021-07-31 22:07 ` egallager at gcc dot gnu.org
@ 2021-07-31 22:42 ` iains at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: iains at gcc dot gnu.org @ 2021-07-31 22:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #8)
> the MacPorts project applies the following patch to work around this issue:
> https://github.com/macports/macports-ports/commit/
> 0641e588e989b7b3e5049ca79e354339ccb403ca

Well, that disables the use of DYLD_LIBRARY_PATH, but does not provide a
replacement (i.e. it's a workaround only).

---

I have patches that resolve this by using @rpath for libraries on macOS
versions that support it - and switch off the use of DYLD_LIBRARY_PATH there
(which isn't acted on).  This solution also restores the ability to test the
compiler without first installing it.

The patches are on trial branches (they are needed on the arm64 port) - and
AFAIK the build problems with a couple of packages were resolved.  It remains
to tidy them up for application / posting as needed.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-31 22:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-84257-4@http.gcc.gnu.org/bugzilla/>
2020-05-07 22:43 ` [Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13 egallager at gcc dot gnu.org
2021-07-31 22:07 ` egallager at gcc dot gnu.org
2021-07-31 22:42 ` iains at gcc dot gnu.org

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).