[gmx-developers] GCC 4.8

Alexey Shvetsov alexxy at omrb.pnpi.spb.ru
Wed Apr 3 14:49:33 CEST 2013


Hi Mark

I uploaded patch https://gerrit.gromacs.org/#/c/2311/
That should fix most of warnings on gmxlib for release-4-6 not 
including kernels part.

I will upload separate patches for kernels, mdlib, and tools.

Mark Abraham писал 03-04-2013 16:30:
> Agree a gcc-4.8 would be a good thing, and a good first step is
> fixing (at least) the warnings that arise moving from earlier gcc to
> 4.8.
> 
> Mark
> 
> On Wed, Apr 3, 2013 at 10:23 AM, Alexey Shvetsov
> <alexxy at omrb.pnpi.spb.ru> wrote:
> 
>> Sure I'll upload a patch series for 4-6 branch that can be then 
>> merged to master.
>> After that I'll fix all outstanding master warnings related to 
>> gcc-4.8
>> 
>> Roland Schulz писал 01-04-2013 04:04:
>> 
>>> Hi,
>>> 
>>> I think we should add gcc 4.8 to Jenkins. But currently Jenkins is
>>> down for hardware repair and we should first fix first all warnings.
>>> If you could upload a patch to Gerrit which fixes all or some of the
>>> warnings that would be great.
>>> 
>>> Roland
>>> 
>>> On Sat, Mar 30, 2013 at 3:10 PM, Alexey Shvetsov
>>> <alexxy at omrb.pnpi.spb.ru> wrote:
>>> 
>>>> Hi all!
>>>> 
>>>> Recently I tryed to build release-4-6 and master branch with newly 
>>>> released
>>>> gcc-4.8 compiler. All builds fine and passes tests, but there was 
>>>> many new
>>>> warnings most of them are about unused variables. But there some 
>>>> about array
>>>> subscripts above array bounds like
>>>> 
>>>> /home/alexxy/Src/gromacs/src/programs/grompp/grompp.c:900:51: 
>>>> warning: array
>>>> subscript is above array bounds [-Warray-bounds]
>>>>                                  xp[i][j] += invbox[k][j]*xp[i][k];
>>>>                                                    ^
>>>> /home/alexxy/Src/gromacs/src/programs/grompp/grompp.c:921:37: 
>>>> warning: array
>>>> subscript is above array bounds [-Warray-bounds]
>>>>                      com[j] += invbox[k][j]*com[k];
>>>>                                      ^
>>>> 
>>>> Are there any plans to add gcc-4.8 to jenkins?
>>>> --
>>>> Best Regards,
>>>> Alexey 'Alexxy' Shvetsov
>>>> Petersburg Nuclear Physics Institute, NRC Kurchatov Institute,
>>>> Gatchina, Russia
>>>> Department of Molecular and Radiation Biophysics
>>>> Gentoo Team Ru
>>>> Gentoo Linux Dev
>>>> mailto:alexxyum at gmail.com
>>>> mailto:alexxy at gentoo.org
>>>> mailto:alexxy at omrb.pnpi.spb.ru
>>>> --
>>>> gmx-developers mailing list
>>>> gmx-developers at gromacs.org
>>>> http://lists.gromacs.org/mailman/listinfo/gmx-developers [1] [1]
>>>> 
>>>> Please don't post (un)subscribe requests to the list. Use the
>>>> www interface or send it to gmx-developers-request at gromacs.org.
>>> 
>>> --
>>> ORNL/UT Center for Molecular Biophysics cmb.ornl.gov [2] [2]
>>> 
>>> 865-241-1537 [3], ORNL PO BOX 2008 MS6309
>>> 
>>> Links:
>>> ------
>>> [1] http://lists.gromacs.org/mailman/listinfo/gmx-developers [1]
>>> [2] http://cmb.ornl.gov [2]
>> 
>> --
>> Best Regards,
>> Alexey 'Alexxy' Shvetsov
>> Petersburg Nuclear Physics Institute, NRC Kurchatov Institute, 
>> Gatchina, Russia
>> Department of Molecular and Radiation Biophysics
>> Gentoo Team Ru
>> Gentoo Linux Dev
>> mailto:alexxyum at gmail.com
>> mailto:alexxy at gentoo.org
>> mailto:alexxy at omrb.pnpi.spb.ru
>> --
>> gmx-developers mailing list
>> gmx-developers at gromacs.org
>> http://lists.gromacs.org/mailman/listinfo/gmx-developers [1]
>> Please don't post (un)subscribe requests to the list. Use the www 
>> interface or send it to gmx-developers-request at gromacs.org.
> 
> 
> 
> Links:
> ------
> [1] http://lists.gromacs.org/mailman/listinfo/gmx-developers
> [2] http://cmb.ornl.gov
> [3] tel:865-241-1537

-- 
Best Regards,
Alexey 'Alexxy' Shvetsov
Petersburg Nuclear Physics Institute, NRC Kurchatov Institute, 
Gatchina, Russia
Department of Molecular and Radiation Biophysics
Gentoo Team Ru
Gentoo Linux Dev
mailto:alexxyum at gmail.com
mailto:alexxy at gentoo.org
mailto:alexxy at omrb.pnpi.spb.ru



More information about the gromacs.org_gmx-developers mailing list