Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Marc Glisse
On Mon, 28 Aug 2017, Niels Möller wrote: To clarify, I'd expect libgmpxx to depend on the C++ standard library supplied with the compiler used to build gmp. Then, I guess there are different ways to resolve that dependency, the GNU C++ compiler uses a shared library, named libstdc++, the Oracle

Re: GNU MP 6.1.2 error undefined symbol __gmpn_invert_limb in test t-constants

2017-08-28 Thread Vincent Lefevre
On 2017-08-28 23:33:03 +0200, Niels Möller wrote: > Vincent Lefevre writes: > > This only works if the user is root. If a non-root user wants to > > install libraries in his home directory, the right solution is to > > use LD_LIBRARY_PATH (since GCC doesn't use a run path by default). > > You'd e

Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Dennis Clarke
On 8/28/17 5:44 PM, Niels Möller wrote: Dennis Clarke writes: somedays I don't include details and I get railed at .. other days I do and I get railed at .. life goes on. I'm verbose. Social skills of the average gnat. I don't mean ada :-) Including details is nice and helpful, just don

Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Niels Möller
Dennis Clarke writes: > somedays I don't include details and I get railed at .. other days I > do and I get railed at .. life goes on. Including details is nice and helpful, just don't expect everyone to digest all of the details at once. If I spot a single small problem in what you report, I mi

Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Torbjörn Granlund
Dennis Clarke writes: I'm just trying to figure out how to squeeze some performance out of a few weird processor types. You have my sympathy there, and I am willing to help, time permitting. :-) -- Torbjörn Please encrypt, key id 0xC8601622 ___

Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Dennis Clarke
On 8/28/17 5:36 PM, Torbjörn Granlund wrote: Dennis Clarke writes: somedays I don't include details and I get railed at .. other days I do and I get railed at .. life goes on. Did Niels rail you? I think that's a quite unfair assessment. He's no ... I jsut know that I can be verbo

Re: GNU MP 6.1.2 error undefined symbol __gmpn_invert_limb in test t-constants

2017-08-28 Thread Dennis Clarke
On 8/28/17 5:33 PM, Niels Möller wrote: Vincent Lefevre writes: This only works if the user is root. If a non-root user wants to install libraries in his home directory, the right solution is to use LD_LIBRARY_PATH (since GCC doesn't use a run path by default). I never build things as root.

Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Torbjörn Granlund
Dennis Clarke writes: somedays I don't include details and I get railed at .. other days I do and I get railed at .. life goes on. Did Niels rail you? I think that's a quite unfair assessment. He's pointing out a central issue here, your snub is the attitude problem here, if any. (To it

Re: GNU MP 6.1.2 error undefined symbol __gmpn_invert_limb in test t-constants

2017-08-28 Thread Niels Möller
Vincent Lefevre writes: > This only works if the user is root. If a non-root user wants to > install libraries in his home directory, the right solution is to > use LD_LIBRARY_PATH (since GCC doesn't use a run path by default). You'd either use LD_LIBRARY_PATH, which is going to be a bit brittle

Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Dennis Clarke
On 8/28/17 5:21 PM, Niels Möller wrote: Dennis Clarke writes: On 8/28/17 4:41 PM, Niels Möller wrote: Dennis Clarke writes: The compiler sees that file gcd_1.asm as something unknown. That command is bogus. I think you missed the point. Then please enlighten me? I'm trying to help,

Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Dennis Clarke
On 8/28/17 5:01 PM, Marc Glisse wrote: On Sun, 27 Aug 2017, Dennis Clarke wrote: I have been trying to get gmp-6.1.2 to build while avoiding the use of "disable-assembly" in the configure stage. I think I may have tripped on something here.  So I isolated everything into my home dir and gave it

Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Niels Möller
Dennis Clarke writes: > On 8/28/17 4:41 PM, Niels Möller wrote: >> Dennis Clarke writes: >> > >>> The compiler sees that file gcd_1.asm as something unknown. >> >> That command is bogus. > > I think you missed the point. Then please enlighten me? I'm trying to help, even though I have to admit

Re: GNU MP 6.1.2 error undefined symbol __gmpn_invert_limb in test t-constants

2017-08-28 Thread Vincent Lefevre
On 2017-08-28 22:50:23 +0200, Niels Möller wrote: > Dennis Clarke writes: > > > In some manner the pre-existing libs were getting in the way likely > > because LD_LIBRARY_PATH=/usr/local/lib and thus the new libs in the > > build_dir/.libs were not used. > > LD_LIBRARY_PATH tends to override any

Re: GNU MP 6.1.2 error undefined symbol __gmpn_invert_limb in test t-constants

2017-08-28 Thread Vincent Lefevre
On 2017-08-28 13:28:33 -0400, Dennis Clarke wrote: > In some manner the pre-existing libs were getting in the way likely > because LD_LIBRARY_PATH=/usr/local/lib and thus the new libs in the > build_dir/.libs were not used. Either way a symbol seems to have > appeared because of the assembly files.

Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Marc Glisse
On Sun, 27 Aug 2017, Dennis Clarke wrote: I have been trying to get gmp-6.1.2 to build while avoiding the use of "disable-assembly" in the configure stage. I think I may have tripped on something here. So I isolated everything into my home dir and gave it a try. Mostly trying to get some decen

Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Dennis Clarke
On 8/28/17 4:41 PM, Niels Möller wrote: Dennis Clarke writes: The compiler sees that file gcd_1.asm as something unknown. That command is bogus. I think you missed the point. That libgmpxx depends on libstdc++ is perfectly normal .. Yes, if gcc is used then you end up with these depe

Re: GNU MP 6.1.2 error undefined symbol __gmpn_invert_limb in test t-constants

2017-08-28 Thread Niels Möller
Dennis Clarke writes: > In some manner the pre-existing libs were getting in the way likely > because LD_LIBRARY_PATH=/usr/local/lib and thus the new libs in the > build_dir/.libs were not used. LD_LIBRARY_PATH tends to override anything else. Don't use that for anything but to run specific bina

Re: assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Niels Möller
Dennis Clarke writes: > Just going into mpn directory and re-running that last compile command > gives me an obvious error : > > v9_7++ $ c99 -c -DHAVE_CONFIG_H -I. -I.. \ >> -D__GMP_WITHIN_GMP -DOPERATION_gcd_1 \ >> -I/export/home/dclarke/local/include \ >> -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS

assembly files on Solaris SPARC can only be processed with gcc

2017-08-28 Thread Dennis Clarke
I have been trying to get gmp-6.1.2 to build while avoiding the use of "disable-assembly" in the configure stage. I think I may have tripped on something here. So I isolated everything into my home dir and gave it a try. Mostly trying to get some decent performance. Configure looks fine thus :

GNU MP 6.1.2 error undefined symbol __gmpn_invert_limb in test t-constants

2017-08-28 Thread Dennis Clarke
This feels like a build test sequence issue as opposed to a bug of any real sort. I have pre-existing gmp libs installed in /usr/local from yesterday and am doing a reconfigure and rebuild today. On a Debian 8.8 system 3.16.0-4-powerpc64 with gcc Debian 4.9.2-10 I see a complete configure and co