On 19 February 2018 at 22:15, Jeffrey Walton via cfarm-users wrote:
>>> I used a GNUmakefile:
>>>
>>>     CXX=/opt/cfarm/gcc7rc2/bin/g++ make -j 20
>>>
>>> Nothing special, as far as I know. Just using the latest compiler.

That's not the latest compiler. It's not even an officially released
compiler, and it doesn't even seem to have been built for the right OS
(it predates the upgrade to CentOS).

> I'm trying to reproduce a problem under Fedora 28.

Then using GCC 7.0.1 RC2 on CentOS 7 doesn't make much sense. It's a
different GCC version and a different glibc version.

Using /opt/cfarm/gcc8-r257824/bin/g++ would be slightly better (which
it seems you have also tried).

> The problem is not present under the default compiler, which is GCC 4.8.5.



>> That is special.  /opt/cfarm is not installed as an alternate system
>> compiler.  It's not even the latest compiler.  If you choose to
>> override the defaults and refer to a random compiler whose origin you
>> don't know, you may encounter unintended consequences, as you have
>> discovered.
>
> Oh, my bad. I thought the latest stuff was installed in /opt/cfarm.
>
> So I am clear: we are _not_ supposed to use stuff in /opt/cfarm. Is
> that correct?

That's not what he said, he said "If you choose to override the
defaults and refer to a random compiler whose origin you don't know,
you may encounter unintended consequences".
_______________________________________________
cfarm-users mailing list
cfarm-users@lists.tetaneutral.net
https://lists.tetaneutral.net/listinfo/cfarm-users

Reply via email to