public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] PR debug/61352 back port from mainline
@ 2015-04-12 18:11 Jack Howarth
  2015-05-06  0:35 ` Mike Stump
  0 siblings, 1 reply; 3+ messages in thread
From: Jack Howarth @ 2015-04-12 18:11 UTC (permalink / raw)
  To: GCC Patches, Mike Stump

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

   The attached patch is a back port of the change from
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=211067 for
gcc-4_9-branch. Bootstrap and regression tested on
x86_64-apple-darwin14 with Xcode 6.3. Okay for gcc-4_9-branch?
           Jack

[-- Attachment #2: PR61352_backport.diff --]
[-- Type: text/plain, Size: 603 bytes --]

2015-04-12  Jack Howarth  <howarth.at.gcc@gmail.com>

	Backport from mainline
	2014-05-29  Mike Stump  <mikestump@comcast.net>
	PR debug/61352
	* collect2.c (maybe_run_lto_and_relink): Be sure to always run
	post ld passes when lto is used.

Index: gcc/collect2.c
===================================================================
--- gcc/collect2.c	(revision 222021)
+++ gcc/collect2.c	(working copy)
@@ -848,6 +848,8 @@ maybe_run_lto_and_relink (char **lto_ld_
       fork_execute ("ld", lto_ld_argv);
       post_ld_pass (false);
     }
+  else
+    post_ld_pass (true);
 }
 \f
 /* Main program.  */

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

* Re: [PATCH] PR debug/61352 back port from mainline
  2015-04-12 18:11 [PATCH] PR debug/61352 back port from mainline Jack Howarth
@ 2015-05-06  0:35 ` Mike Stump
  2015-05-07 18:03   ` Joel Brobecker
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Stump @ 2015-05-06  0:35 UTC (permalink / raw)
  To: Jack Howarth; +Cc: GCC Patches

On Apr 12, 2015, at 11:11 AM, Jack Howarth <howarth.at.gcc@gmail.com> wrote:
>   The attached patch is a back port of the change from
> https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=211067 for
> gcc-4_9-branch. Bootstrap and regression tested on
> x86_64-apple-darwin14 with Xcode 6.3. Okay for gcc-4_9-branch?
>           Jack
> <PR61352_backport.diff>

Ok.

Committed revision 222835.

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

* Re: [PATCH] PR debug/61352 back port from mainline
  2015-05-06  0:35 ` Mike Stump
@ 2015-05-07 18:03   ` Joel Brobecker
  0 siblings, 0 replies; 3+ messages in thread
From: Joel Brobecker @ 2015-05-07 18:03 UTC (permalink / raw)
  To: Mike Stump; +Cc: GCC Patches

> >   The attached patch is a back port of the change from
> > https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=211067 for
> > gcc-4_9-branch. Bootstrap and regression tested on
> > x86_64-apple-darwin14 with Xcode 6.3. Okay for gcc-4_9-branch?
> >           Jack
> > <PR61352_backport.diff>
> 
> Ok.
> 
> Committed revision 222835.

FTR - for those who do not follow bugzilla PRs, we have found that
dsymutil is not working well at all: missing DWARF dies, SEGVs, not
working well with -gno-strict-dwarf.

As said in the PR, I don't think this is the right solution,
particularly since we don't have any control on dsymutil's quality
and features. I suggest we revert this patch, and try to understand
why GDB wasn't able to pull the debugging info from the executable
(assuming that's still an issue).

Thanks,
-- 
Joel

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

end of thread, other threads:[~2015-05-07 18:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-12 18:11 [PATCH] PR debug/61352 back port from mainline Jack Howarth
2015-05-06  0:35 ` Mike Stump
2015-05-07 18:03   ` Joel Brobecker

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