[LLVMdev] gfortran front end

Duncan Sands baldrick at free.fr
Mon Nov 16 23:48:35 PST 2009


Hi Jan,

> This is OS X 10.6. I can build llvm-gcc and llvm-g++ just fine,
> but the gfortran front end cannot find a symbol. Where would it
> normally be defined ?
...
> Undefined symbols:
>   "_gt_ggc_r_gt_darwin_c_h", referenced from:
>       _gt_ggc_rtab in f95-lang.o

these are garbage collector symbols, automatically generated by gengtype.
Perhaps the library/object file defining _gt_ggc_r_gt_darwin_c_h is not
being linked with?  The darwin build has had lots of modifications that I
don't understand, and probably this broke Fortran (no-one off linux ever
seems to build it, which is bad).  I suggest you search in the generated
object files and libraries to find where the symbol is defined.

Ciao,

Duncan.



More information about the llvm-dev mailing list