#54217 closed defect (fixed)
gdb 7.12.1 does not work on macOS Sierra
Reported by: | plinss (Peter Linss) | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | haspatch | Cc: | uliano, rickyz (Ricky Zhou), plinss (Peter Linss), lks100 |
Port: | gdb |
Description
Apparently there's still a patch required for gdb to work on Sierra 10.12.4+
Applying this patch appear to work: https://raw.githubusercontent.com/Homebrew/formula-patches/9d3dbc2/gdb/0001-darwin-nat.c-handle-Darwin-16-aka-Sierra.patch
Also, setting the procmod group interferes with codesigning gdb (which is now required on Sierra).
Attaching a patch to the portfile to address these.
Attachments (2)
Change History (9)
Changed 7 years ago by plinss (Peter Linss)
Attachment: | Portfile-rrdtool.diff added |
---|
Changed 7 years ago by plinss (Peter Linss)
Attachment: | patch-gdb-darwin-nat.c.diff added |
---|
Patch to gdb (slight edit to correct path)
comment:1 Changed 7 years ago by plinss (Peter Linss)
Cc: | plinss added |
---|
comment:2 Changed 7 years ago by mf2k (Frank Schima)
Cc: | plinss removed |
---|---|
Keywords: | haspatch added; gdb removed |
Thanks!
As reporter, you do not need to Cc yourself.
comment:3 Changed 7 years ago by plinss (Peter Linss)
Neglected to mention this fixes the issue: "During startup program terminated with signal ?, unknown signal." while attempting to run any program.
FWIW, the same patch is being used by homebrew, see: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gdb.rb
comment:4 Changed 7 years ago by mf2k (Frank Schima)
Cc: | uliano rickyz plinss lks100 added |
---|
Has duplicate #52889.
comment:5 Changed 7 years ago by raimue (Rainer Müller)
Owner: | set to raimue |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:6 Changed 7 years ago by raimue (Rainer Müller)
Thank you for your contribution. Committed with an additional increase of revision
, since this changes files installed by the port.
Patch to portfile