-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Description
| Bugzilla Link | 9692 |
| Resolution | FIXED |
| Resolved on | May 25, 2011 16:45 |
| Version | trunk |
| OS | MacOS X |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
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.