[LLVMbugs] [Bug 9692] New: -O2 -fplugin-arg-dragonegg-enable-gcc-optzns fails to link induct.f90

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 12 18:02:16 PDT 2011


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

           Summary: -O2 -fplugin-arg-dragonegg-enable-gcc-optzns fails to
                    link induct.f90
           Product: dragonegg
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: howarth at nitro.med.uc.edu
                CC: llvmbugs at cs.uiuc.edu


Dragonegg svn fails to link induct.f90 on x86_64 darwin when using -O2
-fplugin-arg-dragonegg-enable-gcc-optzns with the error...

[MacPro:~/de_bug4] howarth% /sw/lib/gcc4.5/bin/gfortran
-fplugin=/sw/lib/gcc4.5/lib/dragonegg.so -O2
-fplugin-arg-dragonegg-enable-gcc-optzns induct.f90 -o induct
Undefined symbols for architecture x86_64:
  "_cexpi", referenced from:
      ___mcc_m_MOD_mutual_ind_cir_cir_coils in ccmceubx.o
      ___mcr_m_MOD_mutual_ind_cir_rec_coils in ccmceubx.o
      ___mqc_m_MOD_mutual_ind_quad_cir_coil in ccmceubx.o
      _induct_ in ccmceubx.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status

which shows...

[MacPro:~/de_bug4] howarth% nm induct.* | grep cexpi
                 U _cexpi

when -fplugin-arg-dragonegg-enable-gcc-optzns is not used the induct.o contains
no symbols
for _cexpi.

-- 
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