[Bug 1330099] Re: gfortran 4.8.2-19ubuntu1 miscompiles CASTEP
Miguel Martinez
el.quark at gmail.com
Sun Jun 15 18:30:51 UTC 2014
The relevant GCC bugzilla report is pr61173:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61173
Compiling the test case fails when using gfortran-4.8 in the two ubuntu
14.04 machines I have access to.
** Bug watch added: GCC Bugzilla #61173
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61173
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1330099
Title:
gfortran 4.8.2-19ubuntu1 miscompiles CASTEP
Status in “gcc-defaults” package in Ubuntu:
New
Bug description:
The current gfortran-4.8 package in Trusty (4.8.2-19ubuntu1 as of
today) miscompiles CASTEP to a useless state, regardless of compile
flags. Even -O0 will result in a useless binary. The main problem is
the binary misreads values stored in between blocks, such as
%block lattice_cart
2.6954645 2.6954645 0.0
2.6954645 0.0 2.6954645
0.0 2.6954645 2.6954645
%endblock lattice_cart
This regression is apparently caused by a patch in GCC 4.9 backported
into Debian/Ubuntu. It certainly does not affect Macports' gfortran
4.8.2, nor in the gfortran 4.8.x compilation at archer.ac.uk. I'll try
to find out if a gcc regression has been filed about this, and post it
later, so it is easier to revert the patch or otherwise fix the issue.
In any case, CASTEP is proprietary source code, and won't be able to
share the source in order to further diagnose the issue.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gfortran 4:4.8.2-1ubuntu6
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: GNOME
Date: Sat Jun 14 17:29:19 2014
InstallationDate: Installed on 2011-12-21 (906 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: gcc-defaults
UpgradeStatus: Upgraded to trusty on 2014-04-17 (58 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1330099/+subscriptions
More information about the foundations-bugs
mailing list