Re: Fix Solaris bootstrap: lto-common.c, lto-dump.c format mismatches

2019-05-07 Thread Richard Biener
On Tue, May 7, 2019 at 9:32 AM Rainer Orth wrote: > > Hi Richard, > > > On Mon, May 6, 2019 at 10:39 PM Jakub Jelinek wrote: > >> > >> On Mon, May 06, 2019 at 08:46:05PM +0200, Richard Biener wrote: > >> > >Fixed as follows. i386-pc-solaris2.11 bootstrap has completed with > >> > >this > >> > >

Re: Fix Solaris bootstrap: lto-common.c, lto-dump.c format mismatches

2019-05-07 Thread Rainer Orth
er -- - Rainer Orth, Center for Biotechnology, Bielefeld University 2019-05-06 Rainer Orth * lto-common.c (lto_file_read): Print section->start as int64_t, section->len as uint64_t. * lto-d

Re: Fix Solaris bootstrap: lto-common.c, lto-dump.c format mismatches

2019-05-07 Thread Richard Biener
On Mon, May 6, 2019 at 10:39 PM Jakub Jelinek wrote: > > On Mon, May 06, 2019 at 08:46:05PM +0200, Richard Biener wrote: > > >Fixed as follows. i386-pc-solaris2.11 bootstrap has completed with > > >this > > >patch, sparc-sun-solaris2.11 is running the testsuite and > > >x86_64-pc-linux-gnu is bui

Re: Fix Solaris bootstrap: lto-common.c, lto-dump.c format mismatches

2019-05-06 Thread Jakub Jelinek
On Mon, May 06, 2019 at 08:46:05PM +0200, Richard Biener wrote: > >Fixed as follows. i386-pc-solaris2.11 bootstrap has completed with > >this > >patch, sparc-sun-solaris2.11 is running the testsuite and > >x86_64-pc-linux-gnu is building the runtime libs. > > > >Ok for mainline? > > Can you use t

Re: Fix Solaris bootstrap: lto-common.c, lto-dump.c format mismatches

2019-05-06 Thread Richard Biener
On May 6, 2019 8:35:15 PM GMT+02:00, Rainer Orth wrote: >The recent LTO patches broke Solaris bootstrap (both sparc and x86): > >/vol/gcc/src/hg/trunk/local/gcc/lto/lto-common.c: In function >'lto_file_decl_data* lto_file_read(lto_file*, std::FILE*, int*)': >/vol/gcc/src/hg/trunk/local/gcc/lto/lt

Fix Solaris bootstrap: lto-common.c, lto-dump.c format mismatches

2019-05-06 Thread Rainer Orth
* lto-common.c (lto_file_read): Cast section->start, section->len to match format. * lto-dump.c (symbol_entry::dump): Cast sz to match format. # HG changeset patch # Parent 48cc59b91c89bd75e69175e99802075208e54e51 Fix Solaris bootstrap: lto-common.c, lto-dump.