public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin.
       [not found] <bug-88590-4@http.gcc.gnu.org/bugzilla/>
@ 2020-05-07 11:56 ` jakub at gcc dot gnu.org
  2020-07-23  6:51 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-05-07 11:56 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.0                        |10.2

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.1 has been released.

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

* [Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin.
       [not found] <bug-88590-4@http.gcc.gnu.org/bugzilla/>
  2020-05-07 11:56 ` [Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin jakub at gcc dot gnu.org
@ 2020-07-23  6:51 ` rguenth at gcc dot gnu.org
  2021-04-08 12:02 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-07-23  6:51 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.2                        |10.3

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10.2 is released, adjusting target milestone.

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

* [Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin.
       [not found] <bug-88590-4@http.gcc.gnu.org/bugzilla/>
  2020-05-07 11:56 ` [Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin jakub at gcc dot gnu.org
  2020-07-23  6:51 ` rguenth at gcc dot gnu.org
@ 2021-04-08 12:02 ` rguenth at gcc dot gnu.org
  2021-11-18 12:55 ` iains at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-08 12:02 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.3                        |10.4

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10.3 is being released, retargeting bugs to GCC 10.4.

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

* [Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin.
       [not found] <bug-88590-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-04-08 12:02 ` rguenth at gcc dot gnu.org
@ 2021-11-18 12:55 ` iains at gcc dot gnu.org
  2022-06-28 10:36 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: iains at gcc dot gnu.org @ 2021-11-18 12:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #0)

> Possible fix #1
> ===============
> 
> This is what I've been tinkering with
> 
> 1) convert all the target libraries to use @rpath/libxxxxx.dylib as their
> install names
> 2) get GCC to emit the necessary rpaths into executables during build and
> test (and, obviously, at install time).
> 
> Actually, this is sensibly in line with a useful macOS deployment model -
> since the "approved" way to package shared libraries on macOS / Darwin is to
> place them alongside the executables and use rpaths.
> 
> unfortunately:
>  * it's quite an involved set of changes and almost certainly not going to
> happen for 9.
>  * there are details to work out to make sure that build-time paths don't
> leak into installed libraries/exes.

tested and working fix posted here:
https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584775.html


> Possible fix #2
> ===============
> 
> Have a build environment where all the used executables and paths are
> outside the remit of SIP.  This is untested so far, and might not suit the
> casual user of GCC - since it would involve building at least a shell / make
> / GCC prerequisites etc.

Not going to work - /bin/sh is hardwired into configure scripts.

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

* [Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin.
       [not found] <bug-88590-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2021-11-18 12:55 ` iains at gcc dot gnu.org
@ 2022-06-28 10:36 ` jakub at gcc dot gnu.org
  2023-07-07  8:18 ` rguenth at gcc dot gnu.org
  2024-03-17  4:15 ` iains at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:36 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |10.5

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

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

* [Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin.
       [not found] <bug-88590-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2022-06-28 10:36 ` jakub at gcc dot gnu.org
@ 2023-07-07  8:18 ` rguenth at gcc dot gnu.org
  2024-03-17  4:15 ` iains at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07  8:18 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.5                        |---

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

* [Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin.
       [not found] <bug-88590-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2023-07-07  8:18 ` rguenth at gcc dot gnu.org
@ 2024-03-17  4:15 ` iains at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: iains at gcc dot gnu.org @ 2024-03-17  4:15 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Build|x86_64-apple-darwin1[5678]  |x86_64-apple-darwin1[56789]
                   |                            |, *-apple-darwin2*

--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> ---
fixed on trunk using the @rpath mechanism;
TODO - determine if this might reasonably be back-ported.

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

end of thread, other threads:[~2024-03-17  4:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-88590-4@http.gcc.gnu.org/bugzilla/>
2020-05-07 11:56 ` [Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin jakub at gcc dot gnu.org
2020-07-23  6:51 ` rguenth at gcc dot gnu.org
2021-04-08 12:02 ` rguenth at gcc dot gnu.org
2021-11-18 12:55 ` iains at gcc dot gnu.org
2022-06-28 10:36 ` jakub at gcc dot gnu.org
2023-07-07  8:18 ` rguenth at gcc dot gnu.org
2024-03-17  4:15 ` 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).