From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1001 invoked by alias); 24 Nov 2008 16:21:56 -0000 Received: (qmail 28900 invoked by uid 48); 24 Nov 2008 16:20:18 -0000 Date: Mon, 24 Nov 2008 16:21:00 -0000 Message-ID: <20081124162018.28899.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/38248] Fatal Error: Reading module mmm: Expected left parenthesis In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg02067.txt.bz2 ------- Comment #2 from burnus at gcc dot gnu dot org 2008-11-24 16:20 ------- The error message looks as if you are mixing a gfortran 4.3 compiled .mod file with a gfortran 4.4 compiler (or vice versa). While the gfortran 4.3 compiled *.o/*.so/*.a files are supposed to be compatible with 4.4's libgfortran.so, for .mod files this is not the case. (.mod files are not like *.h files compiler independent, but simply a "binary" dump of the interfaces of a single module.) I think a solution would be to create a version number for the .mod data and add a checking. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38248