public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: MPC version 0.8 released!
@ 2009-11-05 17:22 Dennis Clarke
  2009-11-05 17:53 ` Rainer Orth
  2009-11-05 20:59 ` Eric Botcazou
  0 siblings, 2 replies; 34+ messages in thread
From: Dennis Clarke @ 2009-11-05 17:22 UTC (permalink / raw)
  To: Rainer Orth; +Cc: Kaveh R. GHAZI, gcc


> "Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> writes:
>
>> Please test this version and report back in this thread (not to me
>> privately) the results of "make check".  Also include your target
>> triplet,
>> and the versions of your compiler, gmp and mpfr.
>
> target			GCC	GMP	MPFR
>
> sparc-sun-solaris2.11	4.1.1	4.2.1	2.3.2
> i386-pc-solaris2.10	4.1.1	4.2.1	2.3.2
> mips-sgi-irix6.5	3.4.5	4.3.0	2.3.2
> alpha-dec-osf4.0f	3.4.4	4.2.1	2.3.2
>
> All tests passed everywhere.

what about sparc-sun-solaris2.10 ? sparc-sun-solaris2.9 and 2.8 ?



-- 
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] 34+ messages in thread

* Re: MPC version 0.8 released!
  2009-11-05 17:22 MPC version 0.8 released! Dennis Clarke
@ 2009-11-05 17:53 ` Rainer Orth
  2009-11-05 20:59 ` Eric Botcazou
  1 sibling, 0 replies; 34+ messages in thread
From: Rainer Orth @ 2009-11-05 17:53 UTC (permalink / raw)
  To: dclarke; +Cc: Kaveh R. GHAZI, gcc

Dennis Clarke writes:

> > "Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> writes:
> >
> >> Please test this version and report back in this thread (not to me
> >> privately) the results of "make check".  Also include your target
> >> triplet,
> >> and the versions of your compiler, gmp and mpfr.
> >
> > target			GCC	GMP	MPFR
> >
> > sparc-sun-solaris2.11	4.1.1	4.2.1	2.3.2
> > i386-pc-solaris2.10	4.1.1	4.2.1	2.3.2
> > mips-sgi-irix6.5	3.4.5	4.3.0	2.3.2
> > alpha-dec-osf4.0f	3.4.4	4.2.1	2.3.2
> >
> > All tests passed everywhere.
> 
> what about sparc-sun-solaris2.10 ? sparc-sun-solaris2.9 and 2.8 ?

I don't have Solaris 8 anymore and no Solaris 9/SPARC system appropriate
for GCC testing.  I don't expect differences between Solaris 10 and 11
here, and frankly, I don't have the cycles (human, not machine) to do all
this testing, so I'm relying on user reports should unexpected problems
occur.

	Rainer

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

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

* Re: MPC version 0.8 released!
  2009-11-05 17:22 MPC version 0.8 released! Dennis Clarke
  2009-11-05 17:53 ` Rainer Orth
@ 2009-11-05 20:59 ` Eric Botcazou
  1 sibling, 0 replies; 34+ messages in thread
From: Eric Botcazou @ 2009-11-05 20:59 UTC (permalink / raw)
  To: dclarke; +Cc: gcc, Rainer Orth, Kaveh R. GHAZI

> what about sparc-sun-solaris2.10 ? sparc-sun-solaris2.9 and 2.8 ?

sparc-sun-solaris2.8 and sparc64-sun-solaris2.8 are OK as well (GCC 4.3.3, GMP 
4.2.4, MPFR 2.3.2).

-- 
Eric Botcazou

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

* Re: MPC version 0.8 released!
  2009-11-07 17:39   ` Kaveh R. Ghazi
                       ` (2 preceding siblings ...)
  2009-11-08  4:40     ` Weddington, Eric
@ 2009-11-09  2:49     ` John David Anglin
  3 siblings, 0 replies; 34+ messages in thread
From: John David Anglin @ 2009-11-09  2:49 UTC (permalink / raw)
  To: Kaveh R. Ghazi; +Cc: gerald, dave.korn.cygwin, dje.gcc, Eric.Weddington, gcc

> The platforms still needed for mpc-0.8 release testing are:
> 
> i386-unknown-freebsd (have results for mpc-0.8dev)
> 
> i686-pc-cygwin (have results for mpc-0.8dev)
> hppa2.0w-hp-hpux11.11 (have results for mpc-0.8dev)

mpc-0.8 builds and all tests pass on:
hppa1.1-hp-hpux10.20
hppa2.0w-hp-hpux11.00
hppa64-hp-hpux11.00
hppa2.0w-hp-hpux11.11
hppa64-hp-hpux11.11

Builds have been installed for GCC testing.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

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

* Re: MPC version 0.8 released!
  2009-11-05 15:54 Kaveh R. GHAZI
                   ` (2 preceding siblings ...)
  2009-11-08 10:43 ` Janus Weil
@ 2009-11-08 22:57 ` Kaz Kojima
  3 siblings, 0 replies; 34+ messages in thread
From: Kaz Kojima @ 2009-11-08 22:57 UTC (permalink / raw)
  To: ghazi; +Cc: gcc

"Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> wrote:
> Please test this version and report back in this thread (not to me
> privately) the results of "make check".  Also include your target triplet,
> and the versions of your compiler, gmp and mpfr.

===================
All 57 tests passed
===================

sh4-unknown-linux-gnu
gcc 4.2.4
gmp 4.2.2
mpfr 2.3.2

Regards,
	kaz

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

* Re: MPC version 0.8 released!
  2009-11-05 15:54 Kaveh R. GHAZI
  2009-11-05 17:20 ` Rainer Orth
  2009-11-06 17:13 ` Paolo Carlini
@ 2009-11-08 10:43 ` Janus Weil
  2009-11-08 22:57 ` Kaz Kojima
  3 siblings, 0 replies; 34+ messages in thread
From: Janus Weil @ 2009-11-08 10:43 UTC (permalink / raw)
  To: Kaveh R. GHAZI; +Cc: gcc

> Please test this version and report back in this thread (not to me
> privately) the results of "make check".  Also include your target triplet,
> and the versions of your compiler, gmp and mpfr.

I just tested on i386-apple-darwin10.0.0 with:

 * gcc version 4.2.1 (Apple Inc. build 5646)
 * GMP 4.3.1
 * MPFR 2.4.1

===================
All 57 tests passed
===================

Cheers,
Janus

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

* RE: MPC version 0.8 released!
  2009-11-07 17:39   ` Kaveh R. Ghazi
  2009-11-07 19:38     ` Gerald Pfeifer
  2009-11-07 22:06     ` Dave Korn
@ 2009-11-08  4:40     ` Weddington, Eric
  2009-11-09  2:49     ` John David Anglin
  3 siblings, 0 replies; 34+ messages in thread
From: Weddington, Eric @ 2009-11-08  4:40 UTC (permalink / raw)
  To: Kaveh R. Ghazi; +Cc: gcc

 

> -----Original Message-----
> From: Kaveh R. Ghazi [mailto:ghazi@caip.rutgers.edu] 
> Sent: Saturday, November 07, 2009 10:40 AM
> To: Gerald Pfeifer; dave.korn.cygwin@googlemail.com; 
> dave@hiauly1.hia.nrc.ca; David Edelsohn; Weddington, Eric
> Cc: gcc@gcc.gnu.org
> Subject: Re: MPC version 0.8 released!
> 
> Wow we've gotten a lot of results, thanks everyone!  But 
> we're still missing
> a few of the GCC primary and secondary platforms for the mpc-0.8 final
> release.  Some of you provided results for the missing 
> systems either for
> the mpc-0.8dev prerelease or a previous full release.  I 
> would very much
> appreciate it if you would try out the latest package.
> 
> i686-mingw32 (have results for mpc-0.7)
> 

mpc-0.8 passed all tests on i686-mingw32:

===================
All 57 tests passed
===================

gcc.exe (GCC) 3.4.5 (mingw-vista special r3)
gmp 4.3.1
mpfr 2.4.1

Eric Weddington

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

* Re: MPC version 0.8 released!
  2009-11-07 19:38     ` Gerald Pfeifer
@ 2009-11-08  2:33       ` Gerald Pfeifer
  0 siblings, 0 replies; 34+ messages in thread
From: Gerald Pfeifer @ 2009-11-08  2:33 UTC (permalink / raw)
  To: Kaveh R. Ghazi
  Cc: dave.korn.cygwin, dave, David Edelsohn, Eric.Weddington, gcc

On Sat, 7 Nov 2009, Gerald Pfeifer wrote:
>> i386-unknown-freebsd (have results for mpc-0.8dev)
> Watch gcc-testresults, my first submission of building GCC trunk with 
> mpc-0.8 (release) should appear there in a third of a day.

http://gcc.gnu.org/ml/gcc-testresults/2009-11/msg00664.html

Gerald

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

* Re: MPC version 0.8 released!
  2009-11-07 17:39   ` Kaveh R. Ghazi
  2009-11-07 19:38     ` Gerald Pfeifer
@ 2009-11-07 22:06     ` Dave Korn
  2009-11-08  4:40     ` Weddington, Eric
  2009-11-09  2:49     ` John David Anglin
  3 siblings, 0 replies; 34+ messages in thread
From: Dave Korn @ 2009-11-07 22:06 UTC (permalink / raw)
  To: Kaveh R. Ghazi; +Cc: dave.korn.cygwin, gcc

Kaveh R. Ghazi wrote:
>> "Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> writes:
>> 
>>> Please test this version and report back in this thread (not to me 
>>> privately) the results of "make check".  Also include your target 
>>> triplet, and the versions of your compiler, gmp and mpfr.

> i686-pc-cygwin 

===================
All 57 tests passed
===================

$ cygcheck -cd gcc4 gmp mpfr
Cygwin Package Information
Package              Version
gcc4                 4.3.4-1
gmp                  4.3.1-3
mpfr                 2.4.1-4


    cheers,
      DaveK

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

* Re: MPC version 0.8 released!
  2009-11-07 17:39   ` Kaveh R. Ghazi
@ 2009-11-07 19:38     ` Gerald Pfeifer
  2009-11-08  2:33       ` Gerald Pfeifer
  2009-11-07 22:06     ` Dave Korn
                       ` (2 subsequent siblings)
  3 siblings, 1 reply; 34+ messages in thread
From: Gerald Pfeifer @ 2009-11-07 19:38 UTC (permalink / raw)
  To: Kaveh R. Ghazi
  Cc: dave.korn.cygwin, dave, David Edelsohn, Eric.Weddington, gcc

On Sat, 7 Nov 2009, Kaveh R. Ghazi wrote:
> The platforms still needed for mpc-0.8 release testing are:
> 
> i386-unknown-freebsd (have results for mpc-0.8dev)

Watch gcc-testresults, my first submission of building GCC trunk with 
mpc-0.8 (release) should appear there in a third of a day.

Also, after I updated the math/mpc port in FreeBSD yesterday, FreeBSD
users who remain up-to-date generally will adopt this.

Gerald

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

* Re: MPC version 0.8 released!
  2009-11-05 17:20 ` Rainer Orth
@ 2009-11-07 17:39   ` Kaveh R. Ghazi
  2009-11-07 19:38     ` Gerald Pfeifer
                       ` (3 more replies)
  0 siblings, 4 replies; 34+ messages in thread
From: Kaveh R. Ghazi @ 2009-11-07 17:39 UTC (permalink / raw)
  To: Gerald Pfeifer, dave.korn.cygwin, dave, David Edelsohn, Eric.Weddington
  Cc: gcc

> "Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> writes:
>
>> Please test this version and report back in this thread (not to me
>> privately) the results of "make check".  Also include your target
>> triplet,
>> and the versions of your compiler, gmp and mpfr.

Wow we've gotten a lot of results, thanks everyone!  But we're still missing
a few of the GCC primary and secondary platforms for the mpc-0.8 final
release.  Some of you provided results for the missing systems either for
the mpc-0.8dev prerelease or a previous full release.  I would very much
appreciate it if you would try out the latest package.

The platforms still needed for mpc-0.8 release testing are:

i386-unknown-freebsd (have results for mpc-0.8dev)

i686-pc-cygwin (have results for mpc-0.8dev)
hppa2.0w-hp-hpux11.11 (have results for mpc-0.8dev)

i686-apple-darwin (have results for mpc-0.7)
powerpc-ibm-aix5.3.0.0 (have results for mpc-0.7)
i686-mingw32 (have results for mpc-0.7)

        Thanks!
        --Kaveh
--
Kaveh R. Ghazi

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

* Re: MPC version 0.8 released!
  2009-11-06 21:58                           ` Kaveh R. Ghazi
@ 2009-11-06 23:25                             ` Joseph S. Myers
  0 siblings, 0 replies; 34+ messages in thread
From: Joseph S. Myers @ 2009-11-06 23:25 UTC (permalink / raw)
  To: Kaveh R. Ghazi
  Cc: Paolo Carlini, Ian Lance Taylor, Richard Guenther,
	Basile STARYNKEVITCH, Eric Botcazou, gcc

On Fri, 6 Nov 2009, Kaveh R. Ghazi wrote:

> If I'm building these libraries myself, I get around this by always
> configuring GMP/MPFR/MPC with --disable-shared.  But I seem to recall that
> shared libraries are mandatory for one of the other dependencies. (?)  I
> forget which one...

You can link with static versions of all the host libraries, including 
libstdc++; I added --with-host-libstdcxx to make sure that was possible.  
I'd generally recommend doing so for whichever libraries you aren't 
getting pre-installed in system directories on your system.

> I think a more general solution would be to use libtool to link cc1 et al. so
> that the magic incantation to embed the rpath is done in a portable fashion.

Linking with RPATHs is often not a good idea (there are uses for people 
building software for their own use, but distributors keep having to 
override it to avoid the RPATHs causing problems).  However, if the user 
does want an RPATH, it's a great pain to embed a relative one using 
$ORIGIN; see <http://sourceware.org/ml/binutils/2009-10/msg00257.html> for 
a suggestion on how to make that easier.

-- 
Joseph S. Myers
joseph@codesourcery.com

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

* Re: MPC version 0.8 released!
  2009-11-06 19:33                         ` Paolo Carlini
@ 2009-11-06 21:58                           ` Kaveh R. Ghazi
  2009-11-06 23:25                             ` Joseph S. Myers
  0 siblings, 1 reply; 34+ messages in thread
From: Kaveh R. Ghazi @ 2009-11-06 21:58 UTC (permalink / raw)
  To: Paolo Carlini, Ian Lance Taylor
  Cc: Richard Guenther, Basile STARYNKEVITCH, Eric Botcazou, gcc

From: "Paolo Carlini" <paolo.carlini@oracle.com>

> Ian Lance Taylor wrote:
>> My guess is that /usr/local/lib is in /etc/ld.so.conf, and that
>> ldconfig gets run by a cron job periodically, and that it wasn't run
>> between the time Paolo built mpc and the time he tried to use it.
>>
> Right Ian, that was it: I ran ldconfig by hand and now it works. Gosh,
> may years ago I knew everything about ldconfig, these polished distros
> are making my mind lazy ;)
>
> Paolo.

I'm glad it sounds like you got it all figured out.

FWIW, this general issue with shared libraries is noted in PR 21547 and 
applies to all library dependencies including GMP/MPFR.  It's just that most 
people have these from their distro in /usr/lib so there's no problem 
finding them.  The issue may temporarily resurface with MPC until you can 
get it automatically.

If I'm building these libraries myself, I get around this by always 
configuring GMP/MPFR/MPC with --disable-shared.  But I seem to recall that 
shared libraries are mandatory for one of the other dependencies. (?)  I 
forget which one...

I think a more general solution would be to use libtool to link cc1 et al. 
so that the magic incantation to embed the rpath is done in a portable 
fashion.

I don't know what's involved.  Any takers?

        Thanks,
        --Kaveh

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

* Re: MPC version 0.8 released!
  2009-11-06 19:24                       ` Ian Lance Taylor
@ 2009-11-06 19:33                         ` Paolo Carlini
  2009-11-06 21:58                           ` Kaveh R. Ghazi
  0 siblings, 1 reply; 34+ messages in thread
From: Paolo Carlini @ 2009-11-06 19:33 UTC (permalink / raw)
  To: Ian Lance Taylor
  Cc: Richard Guenther, Basile STARYNKEVITCH, Eric Botcazou, gcc,
	Kaveh R. GHAZI

Ian Lance Taylor wrote:
> My guess is that /usr/local/lib is in /etc/ld.so.conf, and that
> ldconfig gets run by a cron job periodically, and that it wasn't run
> between the time Paolo built mpc and the time he tried to use it.
>   
Right Ian, that was it: I ran ldconfig by hand and now it works. Gosh,
may years ago I knew everything about ldconfig, these polished distros
are making my mind lazy ;)

Paolo.

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

* Re: MPC version 0.8 released!
  2009-11-06 19:07                     ` Paolo Carlini
@ 2009-11-06 19:24                       ` Ian Lance Taylor
  2009-11-06 19:33                         ` Paolo Carlini
  0 siblings, 1 reply; 34+ messages in thread
From: Ian Lance Taylor @ 2009-11-06 19:24 UTC (permalink / raw)
  To: Paolo Carlini
  Cc: Richard Guenther, Basile STARYNKEVITCH, Eric Botcazou, gcc,
	Kaveh R. GHAZI

Paolo Carlini <paolo.carlini@oracle.com> writes:

> Richard Guenther wrote:
>> Hm, so what's the difference with libmpc then?
>>   
> Good, now both a C++ library and a middle-end guy are curious ;)

My guess is that /usr/local/lib is in /etc/ld.so.conf, and that
ldconfig gets run by a cron job periodically, and that it wasn't run
between the time Paolo built mpc and the time he tried to use it.

Ian

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

* Re: MPC version 0.8 released!
  2009-11-06 19:05                   ` Richard Guenther
@ 2009-11-06 19:07                     ` Paolo Carlini
  2009-11-06 19:24                       ` Ian Lance Taylor
  0 siblings, 1 reply; 34+ messages in thread
From: Paolo Carlini @ 2009-11-06 19:07 UTC (permalink / raw)
  To: Richard Guenther; +Cc: Basile STARYNKEVITCH, Eric Botcazou, gcc, Kaveh R. GHAZI

Richard Guenther wrote:
> Hm, so what's the difference with libmpc then?
>   
Good, now both a C++ library and a middle-end guy are curious ;)

Paolo.

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

* Re: MPC version 0.8 released!
  2009-11-06 19:04                 ` Paolo Carlini
@ 2009-11-06 19:05                   ` Richard Guenther
  2009-11-06 19:07                     ` Paolo Carlini
  0 siblings, 1 reply; 34+ messages in thread
From: Richard Guenther @ 2009-11-06 19:05 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: Basile STARYNKEVITCH, Eric Botcazou, gcc, Kaveh R. GHAZI

On Fri, Nov 6, 2009 at 8:03 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Richard Guenther wrote:
>> I guess you have both lto and graphite support disabled.  Check by
>> running ldd on cc1 and lto1.
>>
> Oh, and of course lto works fine, I already did some experiments, it says:
>
>       libelf.so.0 => /usr/local/lib/libelf.so.0 (0x00007f59e5ea1000)
>
> For lto1 is exactly the same.

Hm, so what's the difference with libmpc then?

Richard.

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

* Re: MPC version 0.8 released!
  2009-11-06 18:51               ` Richard Guenther
  2009-11-06 19:01                 ` Paolo Carlini
@ 2009-11-06 19:04                 ` Paolo Carlini
  2009-11-06 19:05                   ` Richard Guenther
  1 sibling, 1 reply; 34+ messages in thread
From: Paolo Carlini @ 2009-11-06 19:04 UTC (permalink / raw)
  To: Richard Guenther; +Cc: Basile STARYNKEVITCH, Eric Botcazou, gcc, Kaveh R. GHAZI

Richard Guenther wrote:
> I guess you have both lto and graphite support disabled.  Check by
> running ldd on cc1 and lto1.
>   
Oh, and of course lto works fine, I already did some experiments, it says:

       libelf.so.0 => /usr/local/lib/libelf.so.0 (0x00007f59e5ea1000)

For lto1 is exactly the same.

Paolo.

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

* Re: MPC version 0.8 released!
  2009-11-06 18:51               ` Richard Guenther
@ 2009-11-06 19:01                 ` Paolo Carlini
  2009-11-06 19:04                 ` Paolo Carlini
  1 sibling, 0 replies; 34+ messages in thread
From: Paolo Carlini @ 2009-11-06 19:01 UTC (permalink / raw)
  To: Richard Guenther; +Cc: Basile STARYNKEVITCH, Eric Botcazou, gcc, Kaveh R. GHAZI

Richard Guenther wrote:
> I guess you have both lto and graphite support disabled.  Check by
> running ldd on cc1 and lto1.
>   
Well, at configure time, the messages say both ppl an cloog are fine...

Anyway, this is for cc1:

        libcloog.so.0 => /usr/local/lib/libcloog.so.0 (0x00007f1949991000)
        libppl_c.so.2 => /usr/local/lib/libppl_c.so.2 (0x00007f1949418000)
        libppl.so.7 => /usr/local/lib/libppl.so.7 (0x00007f1949154000)

Paolo.

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

* Re: MPC version 0.8 released!
  2009-11-06 18:37             ` Paolo Carlini
@ 2009-11-06 18:51               ` Richard Guenther
  2009-11-06 19:01                 ` Paolo Carlini
  2009-11-06 19:04                 ` Paolo Carlini
  0 siblings, 2 replies; 34+ messages in thread
From: Richard Guenther @ 2009-11-06 18:51 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: Basile STARYNKEVITCH, Eric Botcazou, gcc, Kaveh R. GHAZI

On Fri, Nov 6, 2009 at 7:36 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Basile STARYNKEVITCH wrote:
>> On many Linux distributions you could configure /etc/ld.so.conf to add
>> /usr/local/lib (or lib64).
>>
>> I always do that -so no need to have a LD_LIBRARY_PATH- and IIRC some
>> distributions already have that.
> Interesting.
>
> Anyway, besides my immediate needs of building a working compiler
> including all the latest library-supported features, I'm more interested
> in seeing a "pattern" in the way such libraries are configured. For
> example, I can confirm that I have libppl, libcloog, and libelf built
> normally, that is shared versions too, and installed in /usr/local/lib
> and everything works fine (I have also older system libelf, that's why a
> need to pass --with-libelf=/usr/local, nothing else). I'm still a bit
> surprised mpc requires a different treatment (fwiw, gmp and mpfr come
> with the distro and are installed in /usr/lib64)

I guess you have both lto and graphite support disabled.  Check by
running ldd on cc1 and lto1.

Richard.

> Paolo.
>
>

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

* Re: MPC version 0.8 released!
  2009-11-06 18:16           ` Basile STARYNKEVITCH
@ 2009-11-06 18:37             ` Paolo Carlini
  2009-11-06 18:51               ` Richard Guenther
  0 siblings, 1 reply; 34+ messages in thread
From: Paolo Carlini @ 2009-11-06 18:37 UTC (permalink / raw)
  To: Basile STARYNKEVITCH; +Cc: Eric Botcazou, gcc, Kaveh R. GHAZI

Basile STARYNKEVITCH wrote:
> On many Linux distributions you could configure /etc/ld.so.conf to add
> /usr/local/lib (or lib64).
>
> I always do that -so no need to have a LD_LIBRARY_PATH- and IIRC some
> distributions already have that.
Interesting.

Anyway, besides my immediate needs of building a working compiler
including all the latest library-supported features, I'm more interested
in seeing a "pattern" in the way such libraries are configured. For
example, I can confirm that I have libppl, libcloog, and libelf built
normally, that is shared versions too, and installed in /usr/local/lib
and everything works fine (I have also older system libelf, that's why a
need to pass --with-libelf=/usr/local, nothing else). I'm still a bit
surprised mpc requires a different treatment (fwiw, gmp and mpfr come
with the distro and are installed in /usr/lib64)

Paolo.
 

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

* Re: MPC version 0.8 released!
  2009-11-06 17:53         ` Paolo Carlini
@ 2009-11-06 18:16           ` Basile STARYNKEVITCH
  2009-11-06 18:37             ` Paolo Carlini
  0 siblings, 1 reply; 34+ messages in thread
From: Basile STARYNKEVITCH @ 2009-11-06 18:16 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: Eric Botcazou, gcc, Kaveh R. GHAZI

Paolo Carlini wrote:
> Eric Botcazou wrote:
>> I don't think this will change anything, the shared libraries will be picked 
>> if they are present at link time.  You can configure gmp, mpfr, mpc, etc 
>> with --disable-shared in order not to build them or delete them afterwards.
>>   
> Right, ok. Indeed, your suggestion works fine. Now I have to double
> check what I did at the time for cloog, ppl, etc, because I don't
> remember having disabled shared anywhere, but anyway...


On many Linux distributions you could configure /etc/ld.so.conf to add /usr/local/lib (or lib64).

I always do that -so no need to have a LD_LIBRARY_PATH- and IIRC some distributions already have that.

Regards.


-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***

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

* Re: MPC version 0.8 released!
  2009-11-06 17:44       ` Eric Botcazou
@ 2009-11-06 17:53         ` Paolo Carlini
  2009-11-06 18:16           ` Basile STARYNKEVITCH
  0 siblings, 1 reply; 34+ messages in thread
From: Paolo Carlini @ 2009-11-06 17:53 UTC (permalink / raw)
  To: Eric Botcazou; +Cc: gcc, Kaveh R. GHAZI

Eric Botcazou wrote:
> I don't think this will change anything, the shared libraries will be picked 
> if they are present at link time.  You can configure gmp, mpfr, mpc, etc 
> with --disable-shared in order not to build them or delete them afterwards.
>   
Right, ok. Indeed, your suggestion works fine. Now I have to double
check what I did at the time for cloog, ppl, etc, because I don't
remember having disabled shared anywhere, but anyway...

Paolo.

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

* Re: MPC version 0.8 released!
  2009-11-06 17:38     ` Paolo Carlini
@ 2009-11-06 17:44       ` Eric Botcazou
  2009-11-06 17:53         ` Paolo Carlini
  0 siblings, 1 reply; 34+ messages in thread
From: Eric Botcazou @ 2009-11-06 17:44 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: gcc, Kaveh R. GHAZI

> Should --with-mpc-lib=/usr/local also work? I do use
> --with-libelf=/usr/local for libelf (the only non-trivial configure) and
> it works fine...

I don't think this will change anything, the shared libraries will be picked 
if they are present at link time.  You can configure gmp, mpfr, mpc, etc 
with --disable-shared in order not to build them or delete them afterwards.

-- 
Eric Botcazou

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

* Re: MPC version 0.8 released!
  2009-11-06 17:28   ` Eric Botcazou
@ 2009-11-06 17:38     ` Paolo Carlini
  2009-11-06 17:44       ` Eric Botcazou
  0 siblings, 1 reply; 34+ messages in thread
From: Paolo Carlini @ 2009-11-06 17:38 UTC (permalink / raw)
  To: Eric Botcazou; +Cc: gcc, Kaveh R. GHAZI

Eric Botcazou wrote:
> Delete the shared library and keep only the static one.
>   
Ah, that's more interesting, thanks Eric.

Should --with-mpc-lib=/usr/local also work? I do use
--with-libelf=/usr/local for libelf (the only non-trivial configure) and
it works fine...

Paolo.

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

* Re: MPC version 0.8 released!
  2009-11-06 17:13 ` Paolo Carlini
  2009-11-06 17:16   ` Richard Guenther
@ 2009-11-06 17:28   ` Eric Botcazou
  2009-11-06 17:38     ` Paolo Carlini
  1 sibling, 1 reply; 34+ messages in thread
From: Eric Botcazou @ 2009-11-06 17:28 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: gcc, Kaveh R. GHAZI

> Anyway, the issue is simple: I installed mpc under /usr/local and the
> configury properly recognized it and used it during the build. Then the
> latter fails when building libgcc like this:
>
> ......./trunk-build/./gcc/cc1: error while loading shared libraries:
> libmpc.so.2: cannot open shared object file: No such file or directory
>
> It looks like I should add /usr/local/lib to my LD_LIBRARY_PATH for mpc?
> I didn't expect that...

Delete the shared library and keep only the static one.

-- 
Eric Botcazou

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

* Re: MPC version 0.8 released!
  2009-11-06 17:16   ` Richard Guenther
@ 2009-11-06 17:21     ` Paolo Carlini
  0 siblings, 0 replies; 34+ messages in thread
From: Paolo Carlini @ 2009-11-06 17:21 UTC (permalink / raw)
  To: Richard Guenther; +Cc: Kaveh R. GHAZI, gcc

Richard Guenther wrote:
> That's expected and true for all other build dependencies as well.
>   
Humm, ok. Frankly, I'm not sure it's generally true, I should double
check, I mean, for cloog and ppl, which I also have in /usr/local, I can
build without...

Paolo.

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

* Re: MPC version 0.8 released!
  2009-11-06 17:13 ` Paolo Carlini
@ 2009-11-06 17:16   ` Richard Guenther
  2009-11-06 17:21     ` Paolo Carlini
  2009-11-06 17:28   ` Eric Botcazou
  1 sibling, 1 reply; 34+ messages in thread
From: Richard Guenther @ 2009-11-06 17:16 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: Kaveh R. GHAZI, gcc

On Fri, Nov 6, 2009 at 6:12 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> -- Kaveh,
>> Please test this version and report back in this thread (not to me
>> privately) the results of "make check".  Also include your target triplet,
>> and the versions of your compiler, gmp and mpfr.
>>
> I'm testing for the first time a complete build of the compiler itself
> with mpc, and I'm seeing something unexpected. I'm not sure if this
> discussion belongs here, probably this is only about the proper
> functioning of mpc itself, please correct me...
>
> Anyway, the issue is simple: I installed mpc under /usr/local and the
> configury properly recognized it and used it during the build. Then the
> latter fails when building libgcc like this:
>
> ......./trunk-build/./gcc/cc1: error while loading shared libraries:
> libmpc.so.2: cannot open shared object file: No such file or directory
>
> It looks like I should add /usr/local/lib to my LD_LIBRARY_PATH for mpc?
> I didn't expect that...

That's expected and true for all other build dependencies as well.

Richard.

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

* Re: MPC version 0.8 released!
  2009-11-05 15:54 Kaveh R. GHAZI
  2009-11-05 17:20 ` Rainer Orth
@ 2009-11-06 17:13 ` Paolo Carlini
  2009-11-06 17:16   ` Richard Guenther
  2009-11-06 17:28   ` Eric Botcazou
  2009-11-08 10:43 ` Janus Weil
  2009-11-08 22:57 ` Kaz Kojima
  3 siblings, 2 replies; 34+ messages in thread
From: Paolo Carlini @ 2009-11-06 17:13 UTC (permalink / raw)
  To: Kaveh R. GHAZI; +Cc: gcc

-- Kaveh,
> Please test this version and report back in this thread (not to me
> privately) the results of "make check".  Also include your target triplet,
> and the versions of your compiler, gmp and mpfr.
>   
I'm testing for the first time a complete build of the compiler itself
with mpc, and I'm seeing something unexpected. I'm not sure if this
discussion belongs here, probably this is only about the proper
functioning of mpc itself, please correct me...

Anyway, the issue is simple: I installed mpc under /usr/local and the
configury properly recognized it and used it during the build. Then the
latter fails when building libgcc like this:

......./trunk-build/./gcc/cc1: error while loading shared libraries:
libmpc.so.2: cannot open shared object file: No such file or directory

It looks like I should add /usr/local/lib to my LD_LIBRARY_PATH for mpc?
I didn't expect that...

Thanks,
Paolo.

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

* Re: MPC version 0.8 released!
  2009-11-05 19:06 ` Kaveh R. Ghazi
@ 2009-11-05 20:29   ` Mikael Pettersson
  0 siblings, 0 replies; 34+ messages in thread
From: Mikael Pettersson @ 2009-11-05 20:29 UTC (permalink / raw)
  To: Kaveh R. Ghazi; +Cc: dclarke, Rainer Orth, gcc

Kaveh R. Ghazi writes:
 > From: "Dennis Clarke" <dclarke@blastwave.org>
 > 
 > >>> > target GCC GMP MPFR
 > >>> >
 > >>> > sparc-sun-solaris2.11 4.1.1 4.2.1 2.3.2
 > >>> > i386-pc-solaris2.10 4.1.1 4.2.1 2.3.2
 > >>> > mips-sgi-irix6.5 3.4.5 4.3.0 2.3.2
 > >>> > alpha-dec-osf4.0f 3.4.4 4.2.1 2.3.2
 > >>> >
 > >>> > All tests passed everywhere.
 > >>>
 > >>> what about sparc-sun-solaris2.10 ? sparc-sun-solaris2.9 and 2.8 ?
 > 
 > I've done sparc-sun-solaris2.9, it passed.  See:
 > http://lists.gforge.inria.fr/pipermail/mpc-discuss/2009-November/000608.html
 > 
 > Since sparc-sun-solaris2.10 is our official "primary platform" solaris for 
 > gcc-4.5, it would be nice to have that checked as well.
 > http://gcc.gnu.org/gcc-4.5/criteria.html
 > 
 > Though I don't foresee any problems, if either of you have that box and can 
 > find time to run the test and report back, I would very much appreciate it.

sparc-sun-solaris2.10, gcc-4.4.2, gmp-4.3.1, mpfr-2.4.1, mpc-0.8
All 57 tests passed

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

* Re: MPC version 0.8 released!
  2009-11-05 18:16 Dennis Clarke
@ 2009-11-05 19:06 ` Kaveh R. Ghazi
  2009-11-05 20:29   ` Mikael Pettersson
  0 siblings, 1 reply; 34+ messages in thread
From: Kaveh R. Ghazi @ 2009-11-05 19:06 UTC (permalink / raw)
  To: dclarke, Rainer Orth; +Cc: dclarke, gcc

From: "Dennis Clarke" <dclarke@blastwave.org>

>>> > target GCC GMP MPFR
>>> >
>>> > sparc-sun-solaris2.11 4.1.1 4.2.1 2.3.2
>>> > i386-pc-solaris2.10 4.1.1 4.2.1 2.3.2
>>> > mips-sgi-irix6.5 3.4.5 4.3.0 2.3.2
>>> > alpha-dec-osf4.0f 3.4.4 4.2.1 2.3.2
>>> >
>>> > All tests passed everywhere.
>>>
>>> what about sparc-sun-solaris2.10 ? sparc-sun-solaris2.9 and 2.8 ?

I've done sparc-sun-solaris2.9, it passed.  See:
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2009-November/000608.html

Since sparc-sun-solaris2.10 is our official "primary platform" solaris for 
gcc-4.5, it would be nice to have that checked as well.
http://gcc.gnu.org/gcc-4.5/criteria.html

Though I don't foresee any problems, if either of you have that box and can 
find time to run the test and report back, I would very much appreciate it.

        Thanks,
        --Kaveh

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

* Re: MPC version 0.8 released!
@ 2009-11-05 18:16 Dennis Clarke
  2009-11-05 19:06 ` Kaveh R. Ghazi
  0 siblings, 1 reply; 34+ messages in thread
From: Dennis Clarke @ 2009-11-05 18:16 UTC (permalink / raw)
  To: Rainer Orth; +Cc: dclarke, Kaveh R. GHAZI, gcc


> Dennis Clarke writes:
>
>> > "Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> writes:
>> >
>> >> Please test this version and report back in this thread (not to me
>> >> privately) the results of "make check".  Also include your target
>> >> triplet,
>> >> and the versions of your compiler, gmp and mpfr.
>> >
>> > target			GCC	GMP	MPFR
>> >
>> > sparc-sun-solaris2.11	4.1.1	4.2.1	2.3.2
>> > i386-pc-solaris2.10	4.1.1	4.2.1	2.3.2
>> > mips-sgi-irix6.5	3.4.5	4.3.0	2.3.2
>> > alpha-dec-osf4.0f	3.4.4	4.2.1	2.3.2
>> >
>> > All tests passed everywhere.
>>
>> what about sparc-sun-solaris2.10 ? sparc-sun-solaris2.9 and 2.8 ?
>
> I don't have Solaris 8 anymore and no Solaris 9/SPARC system appropriate
> for GCC testing.  I don't expect differences between Solaris 10 and 11
> here, and frankly, I don't have the cycles (human, not machine) to do all
> this testing, so I'm relying on user reports should unexpected problems
> occur.
>
> 	Rainer

Thank you .. I have all that equipment here. I may not have the cycles
either but at least the servers are all here. If anyone in the GCC project
has the time .. I have the facilities.

-- 
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] 34+ messages in thread

* Re: MPC version 0.8 released!
  2009-11-05 15:54 Kaveh R. GHAZI
@ 2009-11-05 17:20 ` Rainer Orth
  2009-11-07 17:39   ` Kaveh R. Ghazi
  2009-11-06 17:13 ` Paolo Carlini
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 34+ messages in thread
From: Rainer Orth @ 2009-11-05 17:20 UTC (permalink / raw)
  To: Kaveh R. GHAZI; +Cc: gcc

"Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> writes:

> Please test this version and report back in this thread (not to me
> privately) the results of "make check".  Also include your target triplet,
> and the versions of your compiler, gmp and mpfr.

target			GCC	GMP	MPFR

sparc-sun-solaris2.11	4.1.1	4.2.1	2.3.2
i386-pc-solaris2.10	4.1.1	4.2.1	2.3.2
mips-sgi-irix6.5	3.4.5	4.3.0	2.3.2
alpha-dec-osf4.0f	3.4.4	4.2.1	2.3.2

All tests passed everywhere.

	Rainer

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

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

* MPC version 0.8 released!
@ 2009-11-05 15:54 Kaveh R. GHAZI
  2009-11-05 17:20 ` Rainer Orth
                   ` (3 more replies)
  0 siblings, 4 replies; 34+ messages in thread
From: Kaveh R. GHAZI @ 2009-11-05 15:54 UTC (permalink / raw)
  To: gcc

MPC version 0.8 has been released:
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2009-November/000608.html

You can download the tarball here:
http://www.multiprecision.org/index.php?prog=mpc&page=download

This release is for our purposes C99 feature-complete.  After some wider
portability testing, I will submit patches to make it mandatory for the
GCC bootstrap process.

Please test this version and report back in this thread (not to me
privately) the results of "make check".  Also include your target triplet,
and the versions of your compiler, gmp and mpfr.

		Thanks,
		--Kaveh

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

end of thread, other threads:[~2009-11-09  2:49 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-05 17:22 MPC version 0.8 released! Dennis Clarke
2009-11-05 17:53 ` Rainer Orth
2009-11-05 20:59 ` Eric Botcazou
  -- strict thread matches above, loose matches on Subject: below --
2009-11-05 18:16 Dennis Clarke
2009-11-05 19:06 ` Kaveh R. Ghazi
2009-11-05 20:29   ` Mikael Pettersson
2009-11-05 15:54 Kaveh R. GHAZI
2009-11-05 17:20 ` Rainer Orth
2009-11-07 17:39   ` Kaveh R. Ghazi
2009-11-07 19:38     ` Gerald Pfeifer
2009-11-08  2:33       ` Gerald Pfeifer
2009-11-07 22:06     ` Dave Korn
2009-11-08  4:40     ` Weddington, Eric
2009-11-09  2:49     ` John David Anglin
2009-11-06 17:13 ` Paolo Carlini
2009-11-06 17:16   ` Richard Guenther
2009-11-06 17:21     ` Paolo Carlini
2009-11-06 17:28   ` Eric Botcazou
2009-11-06 17:38     ` Paolo Carlini
2009-11-06 17:44       ` Eric Botcazou
2009-11-06 17:53         ` Paolo Carlini
2009-11-06 18:16           ` Basile STARYNKEVITCH
2009-11-06 18:37             ` Paolo Carlini
2009-11-06 18:51               ` Richard Guenther
2009-11-06 19:01                 ` Paolo Carlini
2009-11-06 19:04                 ` Paolo Carlini
2009-11-06 19:05                   ` Richard Guenther
2009-11-06 19:07                     ` Paolo Carlini
2009-11-06 19:24                       ` Ian Lance Taylor
2009-11-06 19:33                         ` Paolo Carlini
2009-11-06 21:58                           ` Kaveh R. Ghazi
2009-11-06 23:25                             ` Joseph S. Myers
2009-11-08 10:43 ` Janus Weil
2009-11-08 22:57 ` Kaz Kojima

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