Bootstrap broken on Cygwin, fix on the way.

2010-10-06 Thread Dave Korn
FYI, in case anyone else runs into this and comes here looking for information: a fix is on the way for the "multiple definitions of various include-path-related things" problem currently breaking bootstrap on Cygwin. Hope to have it working again within the next few hours. cheers, D

Re: Regarding the GCC Binaries and Build status pages

2010-10-06 Thread Gerald Pfeifer
On Wed, 11 Aug 2010, Richard Guenther wrote: > On Wed, Aug 11, 2010 at 9:32 AM, Dennis Clarke wrote: >> This is just a friendly letter. There probably will not be another GCC >> update from the Sunfreeware site ( which is still showing 3.4.6 ) for a >> long time now that Oracle has pulled finances

Re: constant string changed

2010-10-06 Thread Robert Dewar
On 10/6/2010 6:54 PM, Matt Thomas wrote: On Oct 6, 2010, at 3:02 PM, Robert Dewar wrote: On 10/6/2010 5:43 PM, Richard Guenther wrote: On Wed, Oct 6, 2010 at 11:34 PM, Phung Nguyen wrote: How can I turn this optimization off? Use -fno-builtin-printf. I'm curious, it's obviously a corre

Re: constant string changed

2010-10-06 Thread Matt Thomas
On Oct 6, 2010, at 3:02 PM, Robert Dewar wrote: > On 10/6/2010 5:43 PM, Richard Guenther wrote: >> On Wed, Oct 6, 2010 at 11:34 PM, Phung Nguyen wrote: >>> How can I turn this optimization off? >> >> Use -fno-builtin-printf. > > I'm curious, it's obviously a correct optimization, so why > woul

Re: constant string changed

2010-10-06 Thread Robert Dewar
On 10/6/2010 5:43 PM, Richard Guenther wrote: On Wed, Oct 6, 2010 at 11:34 PM, Phung Nguyen wrote: How can I turn this optimization off? Use -fno-builtin-printf. I'm curious, it's obviously a correct optimization, so why would you want to turn if off?

Re: constant string changed

2010-10-06 Thread Richard Guenther
On Wed, Oct 6, 2010 at 11:34 PM, Phung Nguyen wrote: > How can I turn this optimization off? Use -fno-builtin-printf. Richard. > Phung > > On Wed, Oct 6, 2010 at 10:04 PM, Jakub Jelinek wrote: >> On Wed, Oct 06, 2010 at 09:59:29PM +0700, Phung Nguyen wrote: >>> When porting GCC on xc16x, I met

Re: constant string changed

2010-10-06 Thread Phung Nguyen
How can I turn this optimization off? Phung On Wed, Oct 6, 2010 at 10:04 PM, Jakub Jelinek wrote: > On Wed, Oct 06, 2010 at 09:59:29PM +0700, Phung Nguyen wrote: >> When porting GCC on xc16x, I met a problem with a constant string. The >> following is the C code: >> #include "stdio.h" >> >> int

Re: %pc relative addressing of string literals/const data

2010-10-06 Thread Matt Thomas
On Oct 6, 2010, at 6:52 AM, Ian Lance Taylor wrote: > Joakim Tjernlund writes: > >> I really wish mrelocatable is added to all archs. The normal ELF relocs >> are too big to fit well in u-boot. > > Every architecture is different and requires a thoughtful approach to > determine the best way t

Re: constant string changed

2010-10-06 Thread Jakub Jelinek
On Wed, Oct 06, 2010 at 09:59:29PM +0700, Phung Nguyen wrote: > When porting GCC on xc16x, I met a problem with a constant string. The > following is the C code: > #include "stdio.h" > > int main () { > > printf ("c\n"); > } > And the following is the generated assembly: > .xc16

constant string changed

2010-10-06 Thread Phung Nguyen
Dear all, When porting GCC on xc16x, I met a problem with a constant string. The following is the C code: #include "stdio.h" int main () { printf ("c\n"); } And the following is the generated assembly: .xc16x .section .rodata .LC0: .ascii "c\0" .

Re: %pc relative addressing of string literals/const data

2010-10-06 Thread Ian Lance Taylor
Joakim Tjernlund writes: > I really wish mrelocatable is added to all archs. The normal ELF relocs > are too big to fit well in u-boot. Every architecture is different and requires a thoughtful approach to determine the best way to handle these issues for that architecture. Also, since every ar

Re: %pc relative addressing of string literals/const data

2010-10-06 Thread Joakim Tjernlund
Gabriel Paubert wrote on 2010/10/06 10:15:26: > > On Tue, Oct 05, 2010 at 10:55:36PM +0200, Joakim Tjernlund wrote: > > Richard Henderson wrote on 2010/10/05 20:56:55: > > > > > > On 10/05/2010 06:54 AM, Joakim Tjernlund wrote: > > > > Ian Lance Taylor wrote on 2010/10/05 15:47:38: > > > >> Joak

Re: %pc relative addressing of string literals/const data

2010-10-06 Thread Gabriel Paubert
On Tue, Oct 05, 2010 at 10:55:36PM +0200, Joakim Tjernlund wrote: > Richard Henderson wrote on 2010/10/05 20:56:55: > > > > On 10/05/2010 06:54 AM, Joakim Tjernlund wrote: > > > Ian Lance Taylor wrote on 2010/10/05 15:47:38: > > >> Joakim Tjernlund writes: > > >>> While doing relocation work on

Re: %pc relative addressing of string literals/const data

2010-10-06 Thread Joakim Tjernlund
Alan Modra wrote on 2010/10/06 00:19:26: > > On Tue, Oct 05, 2010 at 11:40:11PM +0200, Joakim Tjernlund wrote: > > yes, but this could be a new PIC mode that uses a new better > > PIC mode for everything. Especially one that doesn't require each function > > to calculate the GOT address in the fun