Re: Running Clang 3.7 on Current....

2016-03-11 Thread Dimitry Andric
On 11 Mar 2016, at 10:27, Willem Jan Withagen  wrote:
> 
> CURRENT has recently received the upgrade to Clang 3.8.
> 
> Now I run into the problem that some of the tests with Ceph are all of a
> sudden failing
> Mainly manifesting itself because of access errors thru pointers in
> very complex records structs. (Which is almost always in C++ :) )
> Either pointers are 0x0, or to invalid memory.
> 
> This can be attributed to a few things, some of them:
>  - changes in the Ceph code
>   Which is possible since I rebased since I started using 3.8.
>  - Subtle difference in corner cases, and overlaping structs get written
>   wrongly.
>  - A compiler bug
>  - other issues 
> 
> Ceph is run thru extensive tests while building, after which there is another
> large QA testset run by the Ceph-team in their openstack with even more and
> complexer tests. So real programming "errors" would be caught in this process.
> 
> To exclude the compiler I'd like to run a compile/build/test run with 3.7
> Can I just install the ports 3.7 version without endangering my 3.8 current
> installation. Then it'll just be set 'CC=clang37 C++=clang37++ make' and
> see what comes of it.

Yes, that should work without any problems.

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail


Running Clang 3.7 on Current....

2016-03-11 Thread Willem Jan Withagen

Hi,

CURRENT has recently received the upgrade to Clang 3.8.

Now I run into the problem that some of the tests with Ceph are all of a
sudden failing
Mainly manifesting itself because of access errors thru pointers in
very complex records structs. (Which is almost always in C++ :) )
Either pointers are 0x0, or to invalid memory.

This can be attributed to a few things, some of them:
  - changes in the Ceph code
Which is possible since I rebased since I started using 3.8.
  - Subtle difference in corner cases, and overlaping structs get written
wrongly.
  - A compiler bug
  - other issues 

Ceph is run thru extensive tests while building, after which there is 
another

large QA testset run by the Ceph-team in their openstack with even more and
complexer tests. So real programming "errors" would be caught in this 
process.


To exclude the compiler I'd like to run a compile/build/test run with 3.7
Can I just install the ports 3.7 version without endangering my 3.8 current
installation. Then it'll just be set 'CC=clang37 C++=clang37++ make' and
see what comes of it.

Thanx,
--WjW


___
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"