Re: LTO on newlib targets w/o Gold

2011-02-02 Thread Joel Sherrill
On 02/01/2011 04:54 AM, Dave Korn wrote: On 01/02/2011 02:33, Joel Sherrill wrote: Should LTO work with a target not using gold? Yes, it should, but some work is needed at the binutils end. I am testing the attached two patches at the moment; the idea is to have fully-debugged support for

Re: LTO on newlib targets w/o Gold

2011-02-01 Thread H.J. Lu
On Tue, Feb 1, 2011 at 10:39 AM, Dave Korn wrote: > On 01/02/2011 18:01, H.J. Lu wrote: > FWIW, your recan linker patch doesn't fix LTO 8, which is: http://sourceware.org/bugzilla/show_bug.cgi?id=12277 >>>  It wasn't supposed to, we've been through this before.  It needs both the >>

Re: LTO on newlib targets w/o Gold

2011-02-01 Thread Dave Korn
On 01/02/2011 18:01, H.J. Lu wrote: >>> FWIW, your recan linker patch doesn't fix LTO 8, which is: >>> >>> http://sourceware.org/bugzilla/show_bug.cgi?id=12277 >> It wasn't supposed to, we've been through this before. It needs both the >> link-order fix *and* the rescan-libs fix. The combined p

Re: LTO on newlib targets w/o Gold

2011-02-01 Thread H.J. Lu
On Tue, Feb 1, 2011 at 9:52 AM, Dave Korn wrote: > On 01/02/2011 17:15, H.J. Lu wrote: >> On Tue, Feb 1, 2011 at 2:54 AM, Dave Korn wrote: >>> On 01/02/2011 02:33, Joel Sherrill wrote: Hi, There are ~100 failures on each *-rtems* target in the latest test runs when various lto

Re: LTO on newlib targets w/o Gold

2011-02-01 Thread Dave Korn
On 01/02/2011 17:15, H.J. Lu wrote: > On Tue, Feb 1, 2011 at 2:54 AM, Dave Korn wrote: >> On 01/02/2011 02:33, Joel Sherrill wrote: >>> Hi, >>> >>> There are ~100 failures on each *-rtems* target >>> in the latest test runs when various lto related >>> flags are on. The symbols in questions are i

Re: LTO on newlib targets w/o Gold

2011-02-01 Thread H.J. Lu
On Tue, Feb 1, 2011 at 2:54 AM, Dave Korn wrote: > On 01/02/2011 02:33, Joel Sherrill wrote: >> Hi, >> >> There are ~100 failures on each *-rtems* target >> in the latest test runs when various lto related >> flags are on.  The symbols in questions are in the >> RTEMS libraries which are picked up

Re: LTO on newlib targets w/o Gold

2011-02-01 Thread Dave Korn
On 01/02/2011 14:30, Joel Sherrill wrote: > On 02/01/2011 04:54 AM, Dave Korn wrote: >> On 01/02/2011 02:33, Joel Sherrill wrote: >>> Should LTO work with a target not using gold? >>Yes, it should, but some work is needed at the binutils end. I am >> testing >> the attached two patches at the

Re: LTO on newlib targets w/o Gold

2011-02-01 Thread Joel Sherrill
On 02/01/2011 04:54 AM, Dave Korn wrote: On 01/02/2011 02:33, Joel Sherrill wrote: Hi, There are ~100 failures on each *-rtems* target in the latest test runs when various lto related flags are on. The symbols in questions are in the RTEMS libraries which are picked up via the -B... argument.

Re: LTO on newlib targets w/o Gold

2011-02-01 Thread Richard Guenther
On Tue, Feb 1, 2011 at 11:54 AM, Dave Korn wrote: > On 01/02/2011 02:33, Joel Sherrill wrote: >> Hi, >> >> There are ~100 failures on each *-rtems* target >> in the latest test runs when various lto related >> flags are on.  The symbols in questions are in the >> RTEMS libraries which are picked u

Re: LTO on newlib targets w/o Gold

2011-02-01 Thread Dave Korn
On 01/02/2011 02:33, Joel Sherrill wrote: > Hi, > > There are ~100 failures on each *-rtems* target > in the latest test runs when various lto related > flags are on. The symbols in questions are in the > RTEMS libraries which are picked up via the > -B... argument. Other symbols from the same >

LTO on newlib targets w/o Gold

2011-01-31 Thread Joel Sherrill
Hi, There are ~100 failures on each *-rtems* target in the latest test runs when various lto related flags are on. The symbols in questions are in the RTEMS libraries which are picked up via the -B... argument. Other symbols from the same library are resolved. Should LTO work with a target not