http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50149
Bug #: 50149 Summary: loader error with source containing common blocks Classification: Unclassified Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: riddl...@gmail.com Computer: MacBook Pro System Version: Mac OS X 10.6.8 (10K549) Kernel Version: Darwin 10.8.0 gcc/gfortran version 4.6.1 compiler options used when compiling: -c -Wall -fbacktrace -static-libgfortran -fcheck-array-temporaries \ -finit-local-zero -fno-automatic -fbounds-check -pg -fpic -fpie Error encountered: all modules compile as expected; however, if any two source routines contain COMMON statement, I encounter the following error immediately at load time: ld: duplicate symbol ___BLNK__ in obj/trajectory.o and obj/integral.o collect2: ld returned 1 exit status removing COMMON statements from sources will eliminate this error and all is good! I would appreciate a reply if/when this problem is fixed and a new version is available. Thanks very much.