[LLVMbugs] [Bug 7298] New: undefined references in building several SPEC CPU2000 Fortran benchmarks

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 4 00:32:22 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7298

           Summary: undefined references in building several SPEC CPU2000
                    Fortran benchmarks
           Product: dragonegg
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: kenneth.hoste at ugent.be
                CC: llvmbugs at cs.uiuc.edu


Linkage problems are observed for various SPEC CPU2000 Fortran benchmarks on
Linux x86-64, using dragonegg-2.7 along with gcc-4.5.0.

Affected benchmarks: 173.applu, 301.apsi, 172.mgrid, 200.sixtrack, 171.swim .

Example of error messages (for 173.applu, others are similar):

/path/to/gcc-4.5.0/bin/gfortran -fplugin=/path/to/dragonegg-2.7/dragonegg.so
-L/path/to/gcc-4.5.0/lib64
-L/path/to/gcc-4.5.0/lib/gcc/x86_64-unknown-linux-gnu/4.5.0 -c -o applu.o      
    -O2     applu.f
/path/to/gcc-4.5.0/bin/gfortran -fplugin=/path/to/dragonegg-2.7/dragonegg.so
-L/path/to/gcc-4.5.0/lib64
-L/path/to/gcc-4.5.0/lib/gcc/x86_64-unknown-linux-gnu/4.5.0       -O2  applu.o 
   -o applu
applu.o: In function `main':
applu.f:(.text+0xf2): undefined reference to `cprcon_'
applu.f:(.text+0x1d1): undefined reference to `cprcon_'
applu.f:(.text+0x1e1): undefined reference to `cprcon_'
applu.f:(.text+0x2c0): undefined reference to `ctscon_'
applu.f:(.text+0x39f): undefined reference to `ctscon_'
applu.f:(.text+0x47e): undefined reference to `ctscon_'
applu.f:(.text+0x55d): undefined reference to `ctscon_'
applu.f:(.text+0x63c): undefined reference to `ctscon_'
applu.o:applu.f:(.text+0x64c): more undefined references to `ctscon_' follow
applu.o: In function `main':
applu.f:(.text+0x75b): undefined reference to `cgcon_'
applu.f:(.text+0x76b): undefined reference to `cgcon_'
applu.f:(.text+0x77b): undefined reference to `cgcon_'
applu.f:(.text+0x794): undefined reference to `cgcon_'
applu.f:(.text+0x7a3): undefined reference to `cgcon_'
applu.o:applu.f:(.text+0x7b2): more undefined references to `cgcon_' follow
applu.o: In function `main':
applu.f:(.text+0x984): undefined reference to `disp_'
applu.f:(.text+0x98b): undefined reference to `disp_'
applu.f:(.text+0x992): undefined reference to `disp_'
applu.f:(.text+0x999): undefined reference to `disp_'
applu.f:(.text+0x9a0): undefined reference to `disp_'
applu.o:applu.f:(.text+0x9a7): more undefined references to `disp_' follow
applu.o: In function `main':
applu.f:(.text+0xa12): undefined reference to `cexact_'
applu.f:(.text+0xa19): undefined reference to `cexact_'
applu.f:(.text+0xa24): undefined reference to `cexact_'
applu.f:(.text+0xa39): undefined reference to `cexact_'
applu.f:(.text+0xa4a): undefined reference to `cexact_'
applu.o:applu.f:(.text+0xa5b): more undefined references to `cexact_' follow
applu.o: In function `main':
applu.f:(.text+0xcaf): undefined reference to `ctscon_'
applu.f:(.text+0xcb4): undefined reference to `ctscon_'
applu.f:(.text+0xcb9): undefined reference to `ctscon_'
applu.o: In function `setbv_':
applu.f:(.text+0xd95): undefined reference to `cgcon_'
applu.f:(.text+0xdc9): undefined reference to `cgcon_'
applu.f:(.text+0xdd2): undefined reference to `cgcon_'
applu.f:(.text+0xe1c): undefined reference to `cvar_'
applu.f:(.text+0xe4c): undefined reference to `cgcon_'
applu.f:(.text+0xe61): undefined reference to `cvar_'
applu.f:(.text+0xea9): undefined reference to `cgcon_'
applu.f:(.text+0xedd): undefined reference to `cgcon_'
applu.f:(.text+0xef2): undefined reference to `cgcon_'
applu.f:(.text+0xf3c): undefined reference to `cvar_'
applu.f:(.text+0xf5d): undefined reference to `cgcon_'
applu.f:(.text+0xf81): undefined reference to `cvar_'
applu.f:(.text+0xfc9): undefined reference to `cgcon_'
applu.f:(.text+0xffd): undefined reference to `cgcon_'
applu.f:(.text+0x1012): undefined reference to `cgcon_'
applu.f:(.text+0x1062): undefined reference to `cvar_'
applu.f:(.text+0x1077): undefined reference to `cgcon_'
applu.f:(.text+0x10a7): undefined reference to `cvar_'
applu.o: In function `setiv_':
applu.f:(.text+0x1160): undefined reference to `cgcon_'
applu.f:(.text+0x1173): undefined reference to `cgcon_'
applu.f:(.text+0x11c4): undefined reference to `cvar_'
applu.f:(.text+0x11f3): undefined reference to `cgcon_'
applu.f:(.text+0x123e): undefined reference to `cvar_'
applu.f:(.text+0x124a): undefined reference to `cvar_'
applu.f:(.text+0x125d): undefined reference to `cvar_'
applu.o: In function `erhs_':
applu.f:(.text+0x23e7): undefined reference to `disp_'
applu.f:(.text+0x23ee): undefined reference to `cgcon_'
applu.f:(.text+0x2404): undefined reference to `cgcon_'
applu.f:(.text+0x2414): undefined reference to `cvar_'
applu.f:(.text+0x2422): undefined reference to `cgcon_'
applu.f:(.text+0x2499): undefined reference to `cgcon_'
applu.f:(.text+0x24d7): undefined reference to `cvar_'
applu.f:(.text+0x2510): undefined reference to `cgcon_'
applu.f:(.text+0x25d9): undefined reference to `cexact_'
applu.f:(.text+0x25e2): undefined reference to `cexact_'
applu.f:(.text+0x25ef): undefined reference to `cexact_'
applu.f:(.text+0x2600): undefined reference to `cexact_'
applu.f:(.text+0x2611): undefined reference to `cexact_'
applu.o:applu.f:(.text+0x2626): more undefined references to `cexact_' follow
applu.o: In function `erhs_':
applu.f:(.text+0x27db): undefined reference to `cgcon_'
applu.f:(.text+0x2844): undefined reference to `cgcon_'
applu.f:(.text+0x2bdb): undefined reference to `cgcon_'
applu.f:(.text+0x2be7): undefined reference to `disp_'
applu.f:(.text+0x2bef): undefined reference to `cgcon_'
applu.f:(.text+0x2c03): undefined reference to `disp_'
applu.f:(.text+0x2c0f): undefined reference to `disp_'
applu.f:(.text+0x2c1d): undefined reference to `disp_'
applu.f:(.text+0x2c25): undefined reference to `disp_'
applu.f:(.text+0x2dbb): undefined reference to `cgcon_'
applu.f:(.text+0x2df9): undefined reference to `cvar_'
applu.f:(.text+0x2e40): undefined reference to `cgcon_'
applu.f:(.text+0x2f09): undefined reference to `cexact_'
applu.f:(.text+0x2f12): undefined reference to `cexact_'
applu.f:(.text+0x2f1f): undefined reference to `cexact_'
applu.f:(.text+0x2f30): undefined reference to `cexact_'
applu.f:(.text+0x2f41): undefined reference to `cexact_'
applu.o:applu.f:(.text+0x2f56): more undefined references to `cexact_' follow
applu.o: In function `erhs_':
applu.f:(.text+0x310b): undefined reference to `cgcon_'
applu.f:(.text+0x3177): undefined reference to `cgcon_'
applu.f:(.text+0x351e): undefined reference to `cgcon_'
applu.f:(.text+0x352a): undefined reference to `disp_'
applu.f:(.text+0x3532): undefined reference to `cgcon_'
applu.f:(.text+0x3546): undefined reference to `disp_'
applu.f:(.text+0x3552): undefined reference to `disp_'
applu.f:(.text+0x3560): undefined reference to `disp_'
applu.f:(.text+0x3568): undefined reference to `disp_'
applu.f:(.text+0x36fa): undefined reference to `cgcon_'
applu.f:(.text+0x3711): undefined reference to `cgcon_'
applu.f:(.text+0x3799): undefined reference to `cvar_'
applu.f:(.text+0x3869): undefined reference to `cexact_'
applu.f:(.text+0x3872): undefined reference to `cexact_'
applu.f:(.text+0x387f): undefined reference to `cexact_'
applu.f:(.text+0x3890): undefined reference to `cexact_'
applu.f:(.text+0x38a1): undefined reference to `cexact_'
applu.o:applu.f:(.text+0x38b6): more undefined references to `cexact_' follow
applu.o: In function `erhs_':
applu.f:(.text+0x3a6a): undefined reference to `cgcon_'
applu.f:(.text+0x3ad7): undefined reference to `cgcon_'
applu.f:(.text+0x3e6c): undefined reference to `cgcon_'
applu.f:(.text+0x3e78): undefined reference to `disp_'
applu.f:(.text+0x3e80): undefined reference to `cgcon_'
applu.f:(.text+0x3e94): undefined reference to `disp_'
applu.f:(.text+0x3ea0): undefined reference to `disp_'
applu.f:(.text+0x3eae): undefined reference to `disp_'
applu.f:(.text+0x3eb6): undefined reference to `disp_'
applu.o: In function `exact_':
applu.f:(.text+0x406a): undefined reference to `cgcon_'
applu.f:(.text+0x4082): undefined reference to `cgcon_'
applu.f:(.text+0x409a): undefined reference to `cgcon_'
applu.f:(.text+0x40b9): undefined reference to `cexact_'
applu.f:(.text+0x40c2): undefined reference to `cexact_'
applu.f:(.text+0x40cf): undefined reference to `cexact_'
applu.f:(.text+0x40e0): undefined reference to `cexact_'
applu.f:(.text+0x40f1): undefined reference to `cexact_'
applu.o:applu.f:(.text+0x4106): more undefined references to `cexact_' follow
applu.o: In function `error_':
applu.f:(.text+0x4254): undefined reference to `ctscon_'
applu.f:(.text+0x4267): undefined reference to `cgcon_'
applu.f:(.text+0x42b3): undefined reference to `cgcon_'
applu.f:(.text+0x42f2): undefined reference to `cgcon_'
applu.f:(.text+0x4355): undefined reference to `cvar_'
applu.f:(.text+0x4377): undefined reference to `ctscon_'
applu.f:(.text+0x4380): undefined reference to `ctscon_'
applu.f:(.text+0x43bb): undefined reference to `cgcon_'
applu.f:(.text+0x43c1): undefined reference to `cgcon_'
applu.f:(.text+0x43ca): undefined reference to `cgcon_'
applu.f:(.text+0x43e5): undefined reference to `ctscon_'
applu.f:(.text+0x43f6): undefined reference to `ctscon_'
applu.f:(.text+0x4463): undefined reference to `ctscon_'
applu.o: In function `jacld_':
applu.f:(.text+0x4530): undefined reference to `cgcon_'
applu.f:(.text+0x4542): undefined reference to `cgcon_'
applu.f:(.text+0x4566): undefined reference to `cjac_'
applu.f:(.text+0x456b): undefined reference to `cvar_'
applu.f:(.text+0x4572): undefined reference to `cgcon_'
applu.f:(.text+0x45a4): undefined reference to `ctscon_'
applu.f:(.text+0x45ac): undefined reference to `cgcon_'
applu.f:(.text+0x45bd): undefined reference to `disp_'
applu.f:(.text+0x45db): undefined reference to `cgcon_'
applu.f:(.text+0x45ec): undefined reference to `disp_'
applu.f:(.text+0x4609): undefined reference to `cgcon_'
applu.f:(.text+0x461a): undefined reference to `disp_'
applu.f:(.text+0x46aa): undefined reference to `disp_'
applu.f:(.text+0x46ec): undefined reference to `disp_'
applu.f:(.text+0x4704): undefined reference to `disp_'
applu.f:(.text+0x471b): undefined reference to `disp_'
applu.o:applu.f:(.text+0x4755): more undefined references to `disp_' follow
applu.o: In function `jacld_':
applu.f:(.text+0x4a4a): undefined reference to `cgcon_'
applu.f:(.text+0x4b49): undefined reference to `cgcon_'
applu.f:(.text+0x4bf5): undefined reference to `cgcon_'
applu.o: In function `jacu_':
applu.f:(.text+0x6230): undefined reference to `cgcon_'
applu.f:(.text+0x6242): undefined reference to `cgcon_'
applu.f:(.text+0x6266): undefined reference to `cjac_'
applu.f:(.text+0x626b): undefined reference to `cvar_'
applu.f:(.text+0x6272): undefined reference to `cgcon_'
applu.f:(.text+0x62a4): undefined reference to `ctscon_'
applu.f:(.text+0x62b0): undefined reference to `cgcon_'
applu.f:(.text+0x62c5): undefined reference to `disp_'
applu.f:(.text+0x62d1): undefined reference to `cgcon_'
applu.f:(.text+0x631c): undefined reference to `disp_'
applu.f:(.text+0x6340): undefined reference to `disp_'
applu.f:(.text+0x6352): undefined reference to `disp_'
applu.f:(.text+0x6360): undefined reference to `disp_'
applu.f:(.text+0x6372): undefined reference to `cgcon_'
applu.f:(.text+0x6387): undefined reference to `disp_'
applu.f:(.text+0x6393): undefined reference to `cgcon_'
applu.f:(.text+0x63de): undefined reference to `disp_'
applu.f:(.text+0x63f0): undefined reference to `disp_'
applu.f:(.text+0x640b): undefined reference to `disp_'
applu.f:(.text+0x6419): undefined reference to `disp_'
applu.f:(.text+0x642b): undefined reference to `cgcon_'
applu.f:(.text+0x6440): undefined reference to `disp_'
applu.f:(.text+0x6448): undefined reference to `cgcon_'
applu.f:(.text+0x64a5): undefined reference to `disp_'
applu.f:(.text+0x64b7): undefined reference to `disp_'
applu.f:(.text+0x64e5): undefined reference to `disp_'
applu.f:(.text+0x64f7): undefined reference to `disp_'
applu.o: In function `pintgr_':
applu.f:(.text+0x7596): undefined reference to `cgcon_'
applu.f:(.text+0x75a2): undefined reference to `cgcon_'
applu.f:(.text+0x75b5): undefined reference to `cgcon_'
applu.f:(.text+0x75bc): undefined reference to `cgcon_'
applu.f:(.text+0x760e): undefined reference to `cvar_'
applu.f:(.text+0x7633): undefined reference to `cgcon_'
applu.f:(.text+0x7644): undefined reference to `cgcon_'
applu.f:(.text+0x7745): undefined reference to `cgcon_'
applu.f:(.text+0x7752): undefined reference to `cgcon_'
applu.f:(.text+0x7864): undefined reference to `cgcon_'
applu.o:applu.f:(.text+0x786c): more undefined references to `cgcon_' follow
applu.o: In function `pintgr_':
applu.f:(.text+0x7913): undefined reference to `cvar_'
applu.f:(.text+0x791b): undefined reference to `cvar_'
applu.f:(.text+0x7a46): undefined reference to `cgcon_'
applu.f:(.text+0x7a53): undefined reference to `cgcon_'
applu.f:(.text+0x7b64): undefined reference to `cgcon_'
applu.f:(.text+0x7be8): undefined reference to `cvar_'
applu.f:(.text+0x7c03): undefined reference to `cgcon_'
applu.f:(.text+0x7c12): undefined reference to `cgcon_'
applu.f:(.text+0x7e55): undefined reference to `ctscon_'
applu.f:(.text+0x7eab): undefined reference to `ctscon_'
applu.o: In function `rhs_':
applu.f:(.text+0x7f3d): undefined reference to `cgcon_'
applu.f:(.text+0x7f58): undefined reference to `cgcon_'
applu.f:(.text+0x7f6c): undefined reference to `cvar_'
applu.f:(.text+0x7f82): undefined reference to `cgcon_'
applu.f:(.text+0x8005): undefined reference to `cgcon_'
applu.f:(.text+0x803e): undefined reference to `cvar_'
applu.f:(.text+0x8053): undefined reference to `cgcon_'
applu.f:(.text+0x8066): undefined reference to `disp_'
applu.f:(.text+0x819b): undefined reference to `cgcon_'
applu.f:(.text+0x8204): undefined reference to `cgcon_'
applu.f:(.text+0x85a2): undefined reference to `cgcon_'
applu.f:(.text+0x85ae): undefined reference to `disp_'
applu.f:(.text+0x85b6): undefined reference to `cgcon_'
applu.f:(.text+0x85ca): undefined reference to `disp_'
applu.f:(.text+0x85d6): undefined reference to `disp_'
applu.f:(.text+0x85e2): undefined reference to `disp_'
applu.f:(.text+0x85ea): undefined reference to `disp_'
applu.f:(.text+0x878b): undefined reference to `cgcon_'
applu.f:(.text+0x87c4): undefined reference to `cvar_'
applu.f:(.text+0x87e3): undefined reference to `cgcon_'
applu.f:(.text+0x87f6): undefined reference to `disp_'
applu.f:(.text+0x893c): undefined reference to `cgcon_'
applu.f:(.text+0x89a7): undefined reference to `cgcon_'
applu.f:(.text+0x8d75): undefined reference to `cgcon_'
applu.f:(.text+0x8d81): undefined reference to `disp_'
applu.f:(.text+0x8d89): undefined reference to `cgcon_'
applu.f:(.text+0x8d9d): undefined reference to `disp_'
applu.f:(.text+0x8da9): undefined reference to `disp_'
applu.f:(.text+0x8db5): undefined reference to `disp_'
applu.f:(.text+0x8dbd): undefined reference to `disp_'
applu.f:(.text+0x8f71): undefined reference to `cgcon_'
applu.f:(.text+0x8f88): undefined reference to `cgcon_'
applu.f:(.text+0x8fec): undefined reference to `cvar_'
applu.f:(.text+0x900c): undefined reference to `disp_'
applu.f:(.text+0x913f): undefined reference to `cgcon_'
applu.f:(.text+0x91ad): undefined reference to `cgcon_'
applu.f:(.text+0x9573): undefined reference to `cgcon_'
applu.f:(.text+0x957f): undefined reference to `disp_'
applu.f:(.text+0x9587): undefined reference to `cgcon_'
applu.f:(.text+0x959b): undefined reference to `disp_'
applu.f:(.text+0x95a7): undefined reference to `disp_'
applu.f:(.text+0x95b3): undefined reference to `disp_'
applu.f:(.text+0x95bb): undefined reference to `disp_'
applu.o: In function `ssor_':
applu.f:(.text+0x9804): undefined reference to `ctscon_'
applu.f:(.text+0x9836): undefined reference to `ctscon_'
applu.f:(.text+0x983e): undefined reference to `cvar_'
applu.f:(.text+0x9848): undefined reference to `cgcon_'
applu.f:(.text+0x984e): undefined reference to `cgcon_'
applu.f:(.text+0x9854): undefined reference to `cgcon_'
applu.f:(.text+0x9869): undefined reference to `cprcon_'
applu.f:(.text+0x9973): undefined reference to `ctscon_'
applu.f:(.text+0x99a7): undefined reference to `ctscon_'
applu.f:(.text+0x99e3): undefined reference to `cprcon_'
applu.f:(.text+0x99f1): undefined reference to `cprcon_'
applu.f:(.text+0x9a84): undefined reference to `cgcon_'
applu.f:(.text+0x9a96): undefined reference to `cgcon_'
applu.f:(.text+0x9ab3): undefined reference to `cvar_'
applu.f:(.text+0x9ac2): undefined reference to `cgcon_'
applu.f:(.text+0x9ae4): undefined reference to `ctscon_'
applu.f:(.text+0x9b49): undefined reference to `cjac_'
applu.f:(.text+0x9b5a): undefined reference to `cjac_'
applu.f:(.text+0x9b6b): undefined reference to `cjac_'
applu.f:(.text+0x9b79): undefined reference to `cjac_'
applu.f:(.text+0x9b82): undefined reference to `cvar_'
applu.f:(.text+0x9b8a): undefined reference to `ctscon_'
applu.f:(.text+0x9b98): undefined reference to `cgcon_'
applu.f:(.text+0x9ba1): undefined reference to `cgcon_'
applu.f:(.text+0x9ba7): undefined reference to `cgcon_'
applu.f:(.text+0x9bcb): undefined reference to `cjac_'
applu.f:(.text+0x9bd4): undefined reference to `cvar_'
applu.f:(.text+0x9bdc): undefined reference to `ctscon_'
applu.f:(.text+0x9bea): undefined reference to `cgcon_'
applu.f:(.text+0x9bf3): undefined reference to `cgcon_'
applu.f:(.text+0x9bf9): undefined reference to `cgcon_'
applu.f:(.text+0x9c04): undefined reference to `cgcon_'
applu.f:(.text+0x9c16): undefined reference to `cgcon_'
applu.f:(.text+0x9c33): undefined reference to `cvar_'
applu.f:(.text+0x9c42): undefined reference to `cgcon_'
applu.f:(.text+0x9cd8): undefined reference to `cprcon_'
applu.f:(.text+0x9cf5): undefined reference to `cvar_'
applu.f:(.text+0x9d03): undefined reference to `cgcon_'
applu.f:(.text+0x9d0b): undefined reference to `cgcon_'
applu.f:(.text+0x9d13): undefined reference to `cgcon_'
applu.f:(.text+0x9d21): undefined reference to `cprcon_'
applu.f:(.text+0x9de2): undefined reference to `cprcon_'
applu.f:(.text+0x9dec): undefined reference to `ctscon_'
applu.f:(.text+0x9dfb): undefined reference to `ctscon_'
applu.f:(.text+0x9e03): undefined reference to `cvar_'
applu.f:(.text+0x9e11): undefined reference to `cgcon_'
applu.f:(.text+0x9e19): undefined reference to `cgcon_'
applu.f:(.text+0x9e21): undefined reference to `cgcon_'
applu.f:(.text+0x9e2f): undefined reference to `cprcon_'
applu.f:(.text+0x9e94): undefined reference to `ctscon_'
applu.f:(.text+0x9ec3): undefined reference to `ctscon_'
applu.f:(.text+0x9ecb): undefined reference to `ctscon_'
applu.f:(.text+0x9ed5): undefined reference to `ctscon_'
applu.f:(.text+0x9edd): undefined reference to `ctscon_'
applu.o:applu.f:(.text+0x9ee7): more undefined references to `ctscon_' follow
applu.o: In function `verify_':
applu.f:(.text+0xa2a3): undefined reference to `cgcon_'
applu.f:(.text+0xa2c6): undefined reference to `cgcon_'
applu.f:(.text+0xa2d3): undefined reference to `cgcon_'
applu.f:(.text+0xa469): undefined reference to `cgcon_'
applu.f:(.text+0xa476): undefined reference to `cgcon_'
applu.o:applu.f:(.text+0xa8cf): more undefined references to `cgcon_' follow
collect2: ld returned 1 exit status

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list