[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] condor_compile with math lib fails for RHEL 7.3



Folks,

Has anyone else run into this issue?  If a fortran code contains math functions (sin, cos, etc.), then, while it can be compiled just fine (even statically) without condor_compile but condor_compile fails at the link stage with:

/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libm.a(s_sin.o): In function `__cos':
(.text+0x4682): undefined reference to `_dl_x86_cpu_features'
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libm.a(s_sin.o): In function `__sin':
(.text+0x46b2): undefined reference to `_dl_x86_cpu_featuresâ

and so on for each math function.  Fortran codes without math functions compile just fine with condor_compile.  This worked without issue at RHEL 7.2.

This is for:
  condor-8.4.9-1.el7.x86_64
  gcc-gfortran-4.8.5-11.el7.x86_64
  redhat-release-server-7.3-7.el7.x86_64

Is there a known solution?

Andy

Andy Feldt
Senior System Support Programmer
Affiliate Assistant Professor
Homer L. Dodge Department of Physics & Astronomy
The University of Oklahoma