#16 DMTCP 1.2.5 would not build on RHEL5

closed-fixed
DMTCP (6)
2012-07-28
2012-06-01
Netvope
No

It builds correctly in RHEL6 but not on RHEL5.

Error message from "g++" (during "make"):

g++ -DHAVE_CONFIG_H -I. -fPIC -g -O2 -MT dmtcp_checkpoint.o -MD -MP -MF .deps/dmtcp_checkpoint.Tpo -c -o dmtcp_checkpoint.o dmtcp_checkpoint.cpp
mv -f .deps/dmtcp_checkpoint.Tpo .deps/dmtcp_checkpoint.Po
g++ -fPIC -g -O2 -fPIC -o dmtcp_checkpoint dmtcp_checkpoint.o libdmtcpinternal.a libjalib.a libnohijack.a -ldl -lpthread
libnohijack.a(nosyscallsreal.o): In function `_real_signalfd':
/dev/shm/dmtcp-1.2.5/dmtcp/src/nosyscallsreal.c:454: undefined reference to `signalfd'
libnohijack.a(nosyscallsreal.o): In function `_real_eventfd':
/dev/shm/dmtcp-1.2.5/dmtcp/src/nosyscallsreal.c:449: undefined reference to `eventfd'
collect2: ld returned 1 exit status

The automatically generated "config.log" is attached

Discussion

  • Netvope

    Netvope - 2012-06-01

    config.log

     
  • Netvope

    Netvope - 2012-06-01

    FYI: DMTCP 1.2.4 builds correctly on RHEL5

     
  • Lee Iverson

    Lee Iverson - 2012-06-15

    The issue is that eventfd and signalfd don't appear until kernel 1.6.22 (and some claim don't work until 2.6.27). The code implementing this support needs to be conditionalized like that for epoll_pwait

     
  • Kapil Arya

    Kapil Arya - 2012-06-22
    • assigned_to: nobody --> karya
     
  • Kapil Arya

    Kapil Arya - 2012-06-22

    Thanks for the bug report. We will address this issue over the next few days and I will write back once we have done that.

     
  • Kapil Arya

    Kapil Arya - 2012-07-28

    This problem has been fixed in the DMTCP svn and will be part of the next release.

     
  • Kapil Arya

    Kapil Arya - 2012-07-28
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks