public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
@ 2010-07-23 20:36 Dennis Clarke
  0 siblings, 0 replies; 18+ messages in thread
From: Dennis Clarke @ 2010-07-23 20:36 UTC (permalink / raw)
  To: Eric Botcazou; +Cc: dclarke, gcc, Richard Guenther, Rainer Orth


>>                 === gcc Summary ===
>>
>> # of expected passes            57009
>> # of unexpected failures        67
>> # of unexpected successes       7
>> # of expected failures          197
>> # of unsupported tests          518
>>
>>                 === g++ Summary ===
>>
>> # of expected passes            20118
>> # of unexpected failures        29
>> # of unexpected successes       4
>> # of expected failures          158
>> # of unsupported tests          136
>
> I meant "make check" for GMP and MPFR, not for GCC.
>

did that too :-)


-- 
Dennis

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
@ 2010-07-24  6:28 Dennis Clarke
  0 siblings, 0 replies; 18+ messages in thread
From: Dennis Clarke @ 2010-07-24  6:28 UTC (permalink / raw)
  To: Rainer Orth; +Cc: dclarke, Richard Guenther, gcc


> Dennis Clarke <dclarke@blastwave.org> writes:
>
>> FYI , bug 44455 is a show stopper in the Solaris world.
>>
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
>
> This is
>
> bootstrap/44455	GCC fails to build if MPFR 3.0.0 (Release Candidate) is
> used
>
> Why would this be a showstopper?  Who forces you to build and install
> mpfr 3.0.0?   OpenSolaris comes with 2.4.1, and older versions don't
> have mpfr bundled at all, so just use a version that works with GCC,
> building it in-tree if you must.
>

Sorted things out and all is well now :

http://gcc.gnu.org/ml/gcc-testresults/2010-07/msg02266.html

Thanks all for the lectures/pointers/edification :-)

-- 
Dennis Clarke
dclarke@opensolaris.ca  <- Email related to the open source Solaris
dclarke@blastwave.org   <- Email related to open source for Solaris


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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
  2010-07-23 19:53 Dennis Clarke
@ 2010-07-23 19:57 ` Eric Botcazou
  0 siblings, 0 replies; 18+ messages in thread
From: Eric Botcazou @ 2010-07-23 19:57 UTC (permalink / raw)
  To: dclarke; +Cc: gcc, Richard Guenther, Rainer Orth

>                 === gcc Summary ===
>
> # of expected passes            57009
> # of unexpected failures        67
> # of unexpected successes       7
> # of expected failures          197
> # of unsupported tests          518
>
>                 === g++ Summary ===
>
> # of expected passes            20118
> # of unexpected failures        29
> # of unexpected successes       4
> # of expected failures          158
> # of unsupported tests          136

I meant "make check" for GMP and MPFR, not for GCC.

-- 
Eric Botcazou

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
@ 2010-07-23 19:53 Dennis Clarke
  2010-07-23 19:57 ` Eric Botcazou
  0 siblings, 1 reply; 18+ messages in thread
From: Dennis Clarke @ 2010-07-23 19:53 UTC (permalink / raw)
  To: Eric Botcazou; +Cc: Richard Guenther, gcc, Dennis Clarke, Rainer Orth


>> Use GMP from the 4.2.x series and MPFR from the 2.3.x series.  Or do
>> not build these libraries in-tree.
>
> Yes, and verify that GMP and MPFR are correctly compiled with
> "make check". Recent versions are miscompiled on SPARC/Solaris
> by GCC 4.3.x for x < 3 or 4.
>
> The recommended versions (GMP 4.3.2, MPFR 2.4.2, MPC 0.8.1) also
> work fine if compiled by the latest GCC 4.3.x compilers (or
> compilers of later series).

                === gcc Summary ===

# of expected passes            57009
# of unexpected failures        67
# of unexpected successes       7
# of expected failures          197
# of unsupported tests          518

                === g++ Summary ===

# of expected passes            20118
# of unexpected failures        29
# of unexpected successes       4
# of expected failures          158
# of unsupported tests          136

Dennis

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
  2010-07-23 15:39 ` Richard Guenther
  2010-07-23 17:43   ` Toon Moene
@ 2010-07-23 19:06   ` Eric Botcazou
  1 sibling, 0 replies; 18+ messages in thread
From: Eric Botcazou @ 2010-07-23 19:06 UTC (permalink / raw)
  To: Richard Guenther; +Cc: gcc, Dennis Clarke, Rainer Orth

> Use GMP from the 4.2.x series and MPFR from the 2.3.x series.  Or do
> not build these libraries in-tree.

Yes, and verify that GMP and MPFR are correctly compiled with "make check".  
Recent versions are miscompiled on SPARC/Solaris by GCC 4.3.x for x < 3 or 4.

The recommended versions (GMP 4.3.2, MPFR 2.4.2, MPC 0.8.1) also work fine if 
compiled by the latest GCC 4.3.x compilers (or compilers of later series).

-- 
Eric Botcazou

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
  2010-07-23 17:47 Dennis Clarke
@ 2010-07-23 18:07 ` Toon Moene
  0 siblings, 0 replies; 18+ messages in thread
From: Toon Moene @ 2010-07-23 18:07 UTC (permalink / raw)
  To: dclarke; +Cc: Richard Guenther, Rainer Orth, gcc

Dennis Clarke wrote:

 > I wrote:

>> [ You can't imagine the pain working with a 1.5 year old OS ]
>>
> 
>                 Have you seen Solaris 8 ?
> 
> [titan]uname -a
> SunOS titan 5.8 Generic_127722-03 i86pc i386 i86pc
> 
> [titan]cat /etc/release
>                        Solaris 8 2/02 s28x_u7wos_08a INTEL
>            Copyright 2002 Sun Microsystems, Inc.  All Rights Reserved.
>                            Assembled 18 December 2001

Yeah, but that was at *work* (2006-ish).  At work I get paid for tending 
to the past (hey, I'm 53).  At home I just want to be productive.

-- 
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html#Fortran

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
@ 2010-07-23 17:47 Dennis Clarke
  2010-07-23 18:07 ` Toon Moene
  0 siblings, 1 reply; 18+ messages in thread
From: Dennis Clarke @ 2010-07-23 17:47 UTC (permalink / raw)
  To: Toon Moene; +Cc: Richard Guenther, Dennis Clarke, Rainer Orth, gcc


> Richard Guenther wrote:
>
>> On Fri, 23 Jul 2010, Dennis Clarke wrote:
>
>>> GMP: include 4.3.2, lib 4.3.2
>>> MPFR: include 3.0.0-p3, lib 3.0.0-p3
>>> MPC: include 0.8.2, lib 0.8.2
>
> fails,
>
> Richard recommends:
>
>> Use GMP from the 4.2.x series and MPFR from the 2.3.x series.  Or do
>> not build these libraries in-tree.
>
> Recently, I was thrown back to Debian Lenny, out of a mistake of my own
> regard 1) (which dates back to 14 February 2009, so over 1.5 years ago).
>
> What I did was downloading:
>
> gmp-4.3.2.tar.bz2
> mpfr-2.4.2.tar.bz2
> mpc-0.8.2.tar.gz
>
> unpack them into their own directories and adding:
>
> lrwxrwxrwx 1 toon toon 15 2010-07-14 15:19 gmp -> ../../gmp-4.3.2
> lrwxrwxrwx 1 toon toon 15 2010-07-14 14:51 mpc -> ../../mpc-0.8.2
> lrwxrwxrwx 1 toon toon 16 2010-07-14 15:24 mpfr -> ../../mpfr-2.4.2
>
> as those source directories were two levels up from my 'gcc' source
> directory.
>
> That worked (I never got it working with mpfr 3.0.0 and gmp 5.0.x)

> [ You can't imagine the pain working with a 1.5 year old OS ]
>

                Have you seen Solaris 8 ?

[titan]uname -a
SunOS titan 5.8 Generic_127722-03 i86pc i386 i86pc

[titan]cat /etc/release
                       Solaris 8 2/02 s28x_u7wos_08a INTEL
           Copyright 2002 Sun Microsystems, Inc.  All Rights Reserved.
                           Assembled 18 December 2001
[titan]
[titan]psrinfo -v
Status of virtual processor 0 as of: 07/23/10 17:46:33
  on-line since 06/15/10 20:44:18.
  The i386 processor operates at 400 MHz,
        and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 07/23/10 17:46:33
  on-line since 06/15/10 20:44:22.
  The i386 processor operates at 400 MHz,
        and has an i387 compatible floating point processor.
[titan]



-- 
Dennis

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
  2010-07-23 15:39 ` Richard Guenther
@ 2010-07-23 17:43   ` Toon Moene
  2010-07-23 19:06   ` Eric Botcazou
  1 sibling, 0 replies; 18+ messages in thread
From: Toon Moene @ 2010-07-23 17:43 UTC (permalink / raw)
  To: Richard Guenther; +Cc: Dennis Clarke, Rainer Orth, gcc

Richard Guenther wrote:

> On Fri, 23 Jul 2010, Dennis Clarke wrote:

>> GMP: include 4.3.2, lib 4.3.2
>> MPFR: include 3.0.0-p3, lib 3.0.0-p3
>> MPC: include 0.8.2, lib 0.8.2

fails,

Richard recommends:

> Use GMP from the 4.2.x series and MPFR from the 2.3.x series.  Or do
> not build these libraries in-tree.

Recently, I was thrown back to Debian Lenny, out of a mistake of my own 
regard 1) (which dates back to 14 February 2009, so over 1.5 years ago).

What I did was downloading:

gmp-4.3.2.tar.bz2
mpfr-2.4.2.tar.bz2
mpc-0.8.2.tar.gz

unpack them into their own directories and adding:

lrwxrwxrwx 1 toon toon 15 2010-07-14 15:19 gmp -> ../../gmp-4.3.2
lrwxrwxrwx 1 toon toon 15 2010-07-14 14:51 mpc -> ../../mpc-0.8.2
lrwxrwxrwx 1 toon toon 16 2010-07-14 15:24 mpfr -> ../../mpfr-2.4.2

as those source directories were two levels up from my 'gcc' source 
directory.

That worked (I never got it working with mpfr 3.0.0 and gmp 5.0.x)

Cheers,

1) As Steve Bourne says: When logged in as the superuser, the prompt
    turns into '#', to remind you of your responsibilities 2).

2) Throwing away /usr/sbin is a bad move, even if it's just a keystroke
    away from removing /usr/snp (and you're using command line
    completion).

[ You can't imagine the pain working with a 1.5 year old OS ]

-- 
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html#Fortran

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
@ 2010-07-23 17:32 Dennis Clarke
  0 siblings, 0 replies; 18+ messages in thread
From: Dennis Clarke @ 2010-07-23 17:32 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: dclarke, Richard Guenther, Rainer Orth, gcc


> On Jul 23, 2010, at 9:58 AM, Dennis Clarke <dclarke@blastwave.org>
> wrote:
>>>>>> GMP: include 5.0.1, lib 5.0.1
>>>>>> MPFR: include 3.0.0-p3, lib 3.0.0-p3
>>>>>> MPC: include 0.8.2, lib 0.8.2
>>>>>
>>>>> Use GMP from the 4.2.x series and MPFR from the 2.3.x series.  Or
>>>>> do
>>>>> not build these libraries in-tree.
>>>>
>>>> I built and tested them separate.
>>>
>>> You forgot to set LD_LIBRARY_PATH.
>>>
>>>
>>
>> That is considered evil on Solaris.
>>
>> http://blogs.sun.com/ali/entry/avoiding_ld_library_path_the
>>
>> http://blogs.sun.com/rie/entry/tt_ld_library_path_tt
>>
>> I did set LD_RUN_PATH and LD_OPTIONS however.
>
> -R and run path has bigger issues than ld library path. But then you
> should look into config.log and see why it fails. I bet a beer it is
> not finding the shared libraries.

Now this is serious !

Would you bet a case of beer ?

gcc -v
Using built-in specs.
Target: i386-pc-solaris2.10
Configured with: ../gcc-4.4.4/configure --host=i386-pc-solaris2.10
--build=i386-pc-solaris2.10 --with-gnu-as --with-as=/opt/csw/bin/gas
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --with-cpu-32=i386
--with-cpu-64=opteron --with-arch-32=i386 --with-arch-64=opteron
--enable-stage1-languages=c --enable-nls --with-libiconv-prefix=/usr/local
--enable-threads=posix --with-gmp=/usr/local --with-mpfr=/usr/local
--with-mpc=/usr/local --prefix=/usr/local/gcc4
--with-local-prefix=/usr/local --enable-shared --enable-multilib
--with-system-zlib --with-pkgversion='Blastwave.org Inc. Fri Jul 23
15:32:37 GMT 2010' --with-bugurl=http://www.blastwave.org/support
--enable-languages=c,c++,objc,fortran --enable-bootstrap
Thread model: posix
gcc version 4.4.4 (Blastwave.org Inc. Fri Jul 23 15:32:37 GMT 2010)
$

I'll run the testsuite , post the results and then make install.

Then I'll rebuild binutils and try gcc 4.5.1 release candidate again with
the exact same environment settings.

By the way .. I did not use LD_LIBRARY_PATH at all.

I was thinking Grolsch. I love that stuff and the bottles are cool.

-- 
Dennis

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
  2010-07-23 16:58 Dennis Clarke
@ 2010-07-23 17:09 ` Andrew Pinski
  0 siblings, 0 replies; 18+ messages in thread
From: Andrew Pinski @ 2010-07-23 17:09 UTC (permalink / raw)
  To: dclarke; +Cc: dclarke, Richard Guenther, Rainer Orth, gcc



On Jul 23, 2010, at 9:58 AM, Dennis Clarke <dclarke@blastwave.org>  
wrote:

>
>>>>> GMP: include 5.0.1, lib 5.0.1
>>>>> MPFR: include 3.0.0-p3, lib 3.0.0-p3
>>>>> MPC: include 0.8.2, lib 0.8.2
>>>>
>>>> Use GMP from the 4.2.x series and MPFR from the 2.3.x series.  Or  
>>>> do
>>>> not build these libraries in-tree.
>>>
>>> I built and tested them separate.
>>
>> You forgot to set LD_LIBRARY_PATH.
>>
>>
>
> That is considered evil on Solaris.
>
> http://blogs.sun.com/ali/entry/avoiding_ld_library_path_the
>
> http://blogs.sun.com/rie/entry/tt_ld_library_path_tt
>
> I did set LD_RUN_PATH and LD_OPTIONS however.

-R and run path has bigger issues than ld library path. But then you  
should look into config.log and see why it fails. I bet a beer it is  
not finding the shared libraries.

>
>
> -- 
> Dennis
>

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
@ 2010-07-23 16:58 Dennis Clarke
  2010-07-23 17:09 ` Andrew Pinski
  0 siblings, 1 reply; 18+ messages in thread
From: Dennis Clarke @ 2010-07-23 16:58 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: dclarke, Richard Guenther, Rainer Orth, gcc


>>>> GMP: include 5.0.1, lib 5.0.1
>>>> MPFR: include 3.0.0-p3, lib 3.0.0-p3
>>>> MPC: include 0.8.2, lib 0.8.2
>>>
>>> Use GMP from the 4.2.x series and MPFR from the 2.3.x series.  Or do
>>> not build these libraries in-tree.
>>
>> I built and tested them separate.
>
> You forgot to set LD_LIBRARY_PATH.
>
>

That is considered evil on Solaris.

http://blogs.sun.com/ali/entry/avoiding_ld_library_path_the

http://blogs.sun.com/rie/entry/tt_ld_library_path_tt

I did set LD_RUN_PATH and LD_OPTIONS however.


-- 
Dennis

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
  2010-07-23 16:38 Dennis Clarke
@ 2010-07-23 16:55 ` Andrew Pinski
  0 siblings, 0 replies; 18+ messages in thread
From: Andrew Pinski @ 2010-07-23 16:55 UTC (permalink / raw)
  To: dclarke; +Cc: Richard Guenther, Dennis Clarke, Rainer Orth, gcc



On Jul 23, 2010, at 9:37 AM, Dennis Clarke <dclarke@blastwave.org>  
wrote:

>
>>> If I go back and rebuild gmp mpfr and mpc thus :
>>>
>>>
>>> GMP: include 5.0.1, lib 5.0.1
>>> MPFR: include 3.0.0-p3, lib 3.0.0-p3
>>> MPC: include 0.8.2, lib 0.8.2
>>
>> Use GMP from the 4.2.x series and MPFR from the 2.3.x series.  Or do
>> not build these libraries in-tree.
>
> I built and tested them separate.

You forgot to set LD_LIBRARY_PATH.


>
> -- 
> Dennis
>

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
@ 2010-07-23 16:38 Dennis Clarke
  2010-07-23 16:55 ` Andrew Pinski
  0 siblings, 1 reply; 18+ messages in thread
From: Dennis Clarke @ 2010-07-23 16:38 UTC (permalink / raw)
  To: Richard Guenther; +Cc: Dennis Clarke, Rainer Orth, gcc


>> If I go back and rebuild gmp mpfr and mpc thus :
>>
>>
>> GMP: include 5.0.1, lib 5.0.1
>> MPFR: include 3.0.0-p3, lib 3.0.0-p3
>> MPC: include 0.8.2, lib 0.8.2
>
> Use GMP from the 4.2.x series and MPFR from the 2.3.x series.  Or do
> not build these libraries in-tree.

I built and tested them separate.

-- 
Dennis

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
  2010-07-23 15:35 Dennis Clarke
@ 2010-07-23 15:39 ` Richard Guenther
  2010-07-23 17:43   ` Toon Moene
  2010-07-23 19:06   ` Eric Botcazou
  0 siblings, 2 replies; 18+ messages in thread
From: Richard Guenther @ 2010-07-23 15:39 UTC (permalink / raw)
  To: Dennis Clarke; +Cc: Rainer Orth, gcc

On Fri, 23 Jul 2010, Dennis Clarke wrote:

> > Dennis Clarke <dclarke@blastwave.org> writes:
> >
> >> FYI , bug 44455 is a show stopper in the Solaris world.
> >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
> >
> > This is
> >
> > bootstrap/44455	GCC fails to build if MPFR 3.0.0 (Release Candidate) is
> used
> >
> > Why would this be a showstopper?  Who forces you to build and install
> mpfr 3.0.0?   OpenSolaris comes with 2.4.1, and older versions don't
> 
> OpenSolaris is not a production release run by anyone anywhere :-)
> 
> > have mpfr bundled at all, so just use a version that works with GCC,
> building it in-tree if you must.
> 
> OKay .. I guess details are needed.
> 
> If I place the latest mpfr and gmp and mpc and ppl and cloog in tree then
> the build fails in stage one very early with bizarre warning about not
> being able to find gmp rev greater than 4.3.1 despite the face that I have
> already built and tested :
> 
> GMP: include 4.3.2, lib 4.3.2
> MPFR: include 3.0.0-p3, lib 3.0.0-p3
> MPC: include 0.8.2, lib 0.8.2
> 
> Those would all be installed in /usr/local with no surprises.
> 
> Regardless .. the build fails with the same message as bugid 44455.
> 
> Of course I try with gmp-5.0.1 first and that also fails so long as ppl is
> around in the tree.
> 
> So I throw away ppl and cloog ( which I have *never* seen build on Solaris
> 10 anyways ) and then the build fails a little later with :
> 
> make[3]: Leaving directory
> `/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/gcc'
> mkdir i386-pc-solaris2.10/libgcc
> Checking multilib configuration for libgcc...
> Configuring stage 1 in i386-pc-solaris2.10/libgcc
> configure: creating cache ./config.cache
> checking for --enable-version-specific-runtime-libs... no
> checking for a BSD-compatible install...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722/install-sh -c
> checking for gawk... nawk
> checking build system type... i386-pc-solaris2.10
> checking host system type... i386-pc-solaris2.10
> checking for i386-pc-solaris2.10-ar... ar
> checking for i386-pc-solaris2.10-lipo... lipo
> checking for i386-pc-solaris2.10-nm...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/nm
> checking for i386-pc-solaris2.10-ranlib... ranlib
> checking for i386-pc-solaris2.10-strip... strip
> checking whether ln -s works... yes
> checking for i386-pc-solaris2.10-gcc...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
> -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
> -B/usr/local/gcc4/i386-pc-solaris2.10/bin/
> -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/include -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/sys-include
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
> -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
> -B/usr/local/gcc4/i386-pc-solaris2.10/bin/
> -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/include -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/sys-include    accepts -g... yes
> checking for
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
> -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
> -B/usr/local/gcc4/i386-pc-solaris2.10/bin/
> -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/include -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/sys-include    option to accept ISO
> C89... none needed
> checking how to run the C preprocessor...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
> -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
> -B/usr/local/gcc4/i386-pc-solaris2.10/bin/
> -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/include -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/sys-include    -E
> checking whether decimal floating point is supported... no
> checking whether fixed-point is supported... no
> checking for __attribute__((visibility("hidden")))... no
> checking whether the target assembler supports thread-local storage... yes
> checking whether the thread-local storage support is from emutls... no
> configure: updating cache ./config.cache
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: executing default commands
> Adding multilib support to Makefile in
> ../../../gcc-4.5.1-RC-20100722/libgcc
> multidirs=amd64
> with_multisubdir=
> Running configure in multilib subdirs amd64
> pwd:
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/i386-pc-solaris2.10/libgcc
> Running configure in multilib subdir amd64
> pwd:
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/i386-pc-solaris2.10
> mkdir amd64
> configure: creating cache ./config.cache
> checking for --enable-version-specific-runtime-libs... no
> checking for a BSD-compatible install...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722/install-sh -c
> checking for gawk... nawk
> checking build system type... i386-pc-solaris2.10
> checking host system type... i386-pc-solaris2.10
> checking for i386-pc-solaris2.10-ar... ar
> checking for i386-pc-solaris2.10-lipo... lipo
> checking for i386-pc-solaris2.10-nm...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/nm
> checking for i386-pc-solaris2.10-ranlib... ranlib
> checking for i386-pc-solaris2.10-strip... strip
> checking whether ln -s works... yes
> checking for i386-pc-solaris2.10-gcc...
> /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
> -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
> -B/usr/local/gcc4/i386-pc-solaris2.10/bin/
> -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/include -isystem
> /usr/local/gcc4/i386-pc-solaris2.10/sys-include  -m64
> checking for suffix of object files... configure: error: in
> `/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/i386-pc-solaris2.10/amd64/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> make[2]: *** [configure-stage1-target-libgcc] Error 1
> make[2]: Leaving directory
> `/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory
> `/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001'
> make: *** [all] Error 2
> [fortius]
> 
> My configure line was :
> 
> ../gcc-4.5.1-RC-20100722/configure --with-gnu-as \
> --with-as=/opt/csw/bin/gas --without-gnu-ld \
> --with-ld=/usr/ccs/bin/ld --with-cpu-32=i386 \
> --with-cpu-64=opteron --with-arch-32=i386 \
> --with-arch-64=opteron --enable-stage1-languages=c \
> --enable-nls --with-libiconv-prefix=/usr/local \
> --enable-threads=posix --with-gmp=/usr/local \
> --with-mpfr=/usr/local --with-mpc=/usr/local \
> --prefix=/usr/local/gcc4 --with-local-prefix=/usr/local \
> --enable-shared --enable-multilib --with-system-zlib \
> --with-pkgversion=Blastwave.org\ Inc.\ Fri\ Jul\ 23\ 03\:16\:26\ GMT\ 2010 \
> --with-bugurl=http\:\/\/www.blastwave.org\/support \
> --enable-languages=c,c++,objc,fortran --enable-bootstrap
> 
> If I go back and rebuild gmp mpfr and mpc thus :
> 
> 
> GMP: include 5.0.1, lib 5.0.1
> MPFR: include 3.0.0-p3, lib 3.0.0-p3
> MPC: include 0.8.2, lib 0.8.2

Use GMP from the 4.2.x series and MPFR from the 2.3.x series.  Or do
not build these libraries in-tree.

Richard.

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
@ 2010-07-23 15:35 Dennis Clarke
  2010-07-23 15:39 ` Richard Guenther
  0 siblings, 1 reply; 18+ messages in thread
From: Dennis Clarke @ 2010-07-23 15:35 UTC (permalink / raw)
  To: Rainer Orth; +Cc: dclarke, Richard Guenther, gcc

> Dennis Clarke <dclarke@blastwave.org> writes:
>
>> FYI , bug 44455 is a show stopper in the Solaris world.
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455
>
> This is
>
> bootstrap/44455	GCC fails to build if MPFR 3.0.0 (Release Candidate) is
used
>
> Why would this be a showstopper?  Who forces you to build and install
mpfr 3.0.0?   OpenSolaris comes with 2.4.1, and older versions don't

OpenSolaris is not a production release run by anyone anywhere :-)

> have mpfr bundled at all, so just use a version that works with GCC,
building it in-tree if you must.

OKay .. I guess details are needed.

If I place the latest mpfr and gmp and mpc and ppl and cloog in tree then
the build fails in stage one very early with bizarre warning about not
being able to find gmp rev greater than 4.3.1 despite the face that I have
already built and tested :

GMP: include 4.3.2, lib 4.3.2
MPFR: include 3.0.0-p3, lib 3.0.0-p3
MPC: include 0.8.2, lib 0.8.2

Those would all be installed in /usr/local with no surprises.

Regardless .. the build fails with the same message as bugid 44455.

Of course I try with gmp-5.0.1 first and that also fails so long as ppl is
around in the tree.

So I throw away ppl and cloog ( which I have *never* seen build on Solaris
10 anyways ) and then the build fails a little later with :

make[3]: Leaving directory
`/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/gcc'
mkdir i386-pc-solaris2.10/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in i386-pc-solaris2.10/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install...
/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722/install-sh -c
checking for gawk... nawk
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking for i386-pc-solaris2.10-ar... ar
checking for i386-pc-solaris2.10-lipo... lipo
checking for i386-pc-solaris2.10-nm...
/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/nm
checking for i386-pc-solaris2.10-ranlib... ranlib
checking for i386-pc-solaris2.10-strip... strip
checking whether ln -s works... yes
checking for i386-pc-solaris2.10-gcc...
/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
-B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
-B/usr/local/gcc4/i386-pc-solaris2.10/bin/
-B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
/usr/local/gcc4/i386-pc-solaris2.10/include -isystem
/usr/local/gcc4/i386-pc-solaris2.10/sys-include
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether
/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
-B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
-B/usr/local/gcc4/i386-pc-solaris2.10/bin/
-B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
/usr/local/gcc4/i386-pc-solaris2.10/include -isystem
/usr/local/gcc4/i386-pc-solaris2.10/sys-include    accepts -g... yes
checking for
/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
-B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
-B/usr/local/gcc4/i386-pc-solaris2.10/bin/
-B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
/usr/local/gcc4/i386-pc-solaris2.10/include -isystem
/usr/local/gcc4/i386-pc-solaris2.10/sys-include    option to accept ISO
C89... none needed
checking how to run the C preprocessor...
/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
-B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
-B/usr/local/gcc4/i386-pc-solaris2.10/bin/
-B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
/usr/local/gcc4/i386-pc-solaris2.10/include -isystem
/usr/local/gcc4/i386-pc-solaris2.10/sys-include    -E
checking whether decimal floating point is supported... no
checking whether fixed-point is supported... no
checking for __attribute__((visibility("hidden")))... no
checking whether the target assembler supports thread-local storage... yes
checking whether the thread-local storage support is from emutls... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: executing default commands
Adding multilib support to Makefile in
../../../gcc-4.5.1-RC-20100722/libgcc
multidirs=amd64
with_multisubdir=
Running configure in multilib subdirs amd64
pwd:
/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/i386-pc-solaris2.10/libgcc
Running configure in multilib subdir amd64
pwd:
/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/i386-pc-solaris2.10
mkdir amd64
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install...
/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722/install-sh -c
checking for gawk... nawk
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking for i386-pc-solaris2.10-ar... ar
checking for i386-pc-solaris2.10-lipo... lipo
checking for i386-pc-solaris2.10-nm...
/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/nm
checking for i386-pc-solaris2.10-ranlib... ranlib
checking for i386-pc-solaris2.10-strip... strip
checking whether ln -s works... yes
checking for i386-pc-solaris2.10-gcc...
/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc
-B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/
-B/usr/local/gcc4/i386-pc-solaris2.10/bin/
-B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem
/usr/local/gcc4/i386-pc-solaris2.10/include -isystem
/usr/local/gcc4/i386-pc-solaris2.10/sys-include  -m64
checking for suffix of object files... configure: error: in
`/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/i386-pc-solaris2.10/amd64/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory
`/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory
`/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001'
make: *** [all] Error 2
[fortius]

My configure line was :

../gcc-4.5.1-RC-20100722/configure --with-gnu-as \
--with-as=/opt/csw/bin/gas --without-gnu-ld \
--with-ld=/usr/ccs/bin/ld --with-cpu-32=i386 \
--with-cpu-64=opteron --with-arch-32=i386 \
--with-arch-64=opteron --enable-stage1-languages=c \
--enable-nls --with-libiconv-prefix=/usr/local \
--enable-threads=posix --with-gmp=/usr/local \
--with-mpfr=/usr/local --with-mpc=/usr/local \
--prefix=/usr/local/gcc4 --with-local-prefix=/usr/local \
--enable-shared --enable-multilib --with-system-zlib \
--with-pkgversion=Blastwave.org\ Inc.\ Fri\ Jul\ 23\ 03\:16\:26\ GMT\ 2010 \
--with-bugurl=http\:\/\/www.blastwave.org\/support \
--enable-languages=c,c++,objc,fortran --enable-bootstrap

If I go back and rebuild gmp mpfr and mpc thus :


GMP: include 5.0.1, lib 5.0.1
MPFR: include 3.0.0-p3, lib 3.0.0-p3
MPC: include 0.8.2, lib 0.8.2

Then try to bootstrap GCC 4.4.4 and it all just works.

-- 
Dennis Clarke
dclarke@opensolaris.ca  <- Email related to the open source Solaris
dclarke@blastwave.org   <- Email related to open source for Solaris




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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
  2010-07-23  2:42 Dennis Clarke
@ 2010-07-23  8:17 ` Rainer Orth
  0 siblings, 0 replies; 18+ messages in thread
From: Rainer Orth @ 2010-07-23  8:17 UTC (permalink / raw)
  To: dclarke; +Cc: Richard Guenther, gcc

Dennis Clarke <dclarke@blastwave.org> writes:

> FYI , bug 44455 is a show stopper in the Solaris world.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455

This is

bootstrap/44455	GCC fails to build if MPFR 3.0.0 (Release Candidate) is used

Why would this be a showstopper?  Who forces you to build and install
mpfr 3.0.0?   OpenSolaris comes with 2.4.1, and older versions don't
have mpfr bundled at all, so just use a version that works with GCC,
building it in-tree if you must.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

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

* Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org
@ 2010-07-23  2:42 Dennis Clarke
  2010-07-23  8:17 ` Rainer Orth
  0 siblings, 1 reply; 18+ messages in thread
From: Dennis Clarke @ 2010-07-23  2:42 UTC (permalink / raw)
  To: Richard Guenther; +Cc: gcc


>
> A release canidate for GCC 4.5.1 is available from
>
> ftp://gcc.gnu.org/pub/gcc/snapshots/4.5.1-RC-20100722/
>
> and shortly its mirrors.  It has been generated from SVN revision 162408.
>
> I have sofar bootstrapped and tested the release candidate on
> x86_64-unknown-linux-gnu.  Please test it and report any issues to
> bugzilla.
>
> The branch remains frozen and all checkins until after the final
> release of GCC 4.5.1 require explicit RM approval.
>
> If all goes well, I'd like to release 4.5.1 before Aug 1st.
>

FYI , bug 44455 is a show stopper in the Solaris world.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455

-- 
Dennis Clarke
dclarke@opensolaris.ca  <- Email related to the open source Solaris
dclarke@blastwave.org   <- Email related to open source for Solaris


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

* GCC 4.5.1 Release Candidate available from gcc.gnu.org
@ 2010-07-22 11:06 Richard Guenther
  0 siblings, 0 replies; 18+ messages in thread
From: Richard Guenther @ 2010-07-22 11:06 UTC (permalink / raw)
  To: gcc


A release canidate for GCC 4.5.1 is available from

ftp://gcc.gnu.org/pub/gcc/snapshots/4.5.1-RC-20100722/

and shortly its mirrors.  It has been generated from SVN revision 162408.

I have sofar bootstrapped and tested the release candidate on
x86_64-unknown-linux-gnu.  Please test it and report any issues to
bugzilla.

The branch remains frozen and all checkins until after the final
release of GCC 4.5.1 require explicit RM approval.

If all goes well, I'd like to release 4.5.1 before Aug 1st.

Richard.

-- 
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex

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

end of thread, other threads:[~2010-07-24  6:28 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-23 20:36 GCC 4.5.1 Release Candidate available from gcc.gnu.org Dennis Clarke
  -- strict thread matches above, loose matches on Subject: below --
2010-07-24  6:28 Dennis Clarke
2010-07-23 19:53 Dennis Clarke
2010-07-23 19:57 ` Eric Botcazou
2010-07-23 17:47 Dennis Clarke
2010-07-23 18:07 ` Toon Moene
2010-07-23 17:32 Dennis Clarke
2010-07-23 16:58 Dennis Clarke
2010-07-23 17:09 ` Andrew Pinski
2010-07-23 16:38 Dennis Clarke
2010-07-23 16:55 ` Andrew Pinski
2010-07-23 15:35 Dennis Clarke
2010-07-23 15:39 ` Richard Guenther
2010-07-23 17:43   ` Toon Moene
2010-07-23 19:06   ` Eric Botcazou
2010-07-23  2:42 Dennis Clarke
2010-07-23  8:17 ` Rainer Orth
2010-07-22 11:06 Richard Guenther

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