dmtcp: 2.4.0 linux version: 2.6.37 libc 2.8 armv7l (TI8148 - core cortex a8)
You can get the toolchain I use here: https://developer.ridgerun.com/wiki/index.php/Code_Sourcery_ARM_toolchain_2009q1-203 http://www.mentor.com/company/news/mentor-integrated-development-environment-gnu-toolchain We use an arago Open Embedded rootfs, customized for our device. I came to the same conclusion about the eventfd and signalfd. Seems I am missing a library? Thanks, Craig ________________________________________ From: Rohan Garg <rohg...@ccs.neu.edu> Sent: Monday, August 10, 2015 11:46 AM To: Craig Matsuura Cc: Dmtcp-forum@lists.sourceforge.net Subject: Re: [Dmtcp-forum] cross compiling with gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) Hi Craig, I have had to use gcc-4.8 with the `-march=native` compiler flag for compiling and testing on ARMv7 (Raspberry Pi 2) . Is it possible for you to test with that? Also, it seems like some of the eventfd and signalfd related functionality is missing in your environment or is in a non-standard path. Could you provide some more details about your environment? In particular, it’d be great if you can provide the following bits: - DMTCP version; - Linux kernel version; - Libc version; and - CPU architecture Thanks, Rohan > On Aug 7, 2015, at 5:49 PM, Craig Matsuura <cmatsu...@vivint.com> wrote: > > Did the following, had to comment out some test in the configure. Added the > gcc_s to get around a __aeabi_unwind_cpp_pr0 and __aeabi_unwind_cpp_pr1 > errors. > > arm-none-linux-gnueabi-gcc -I../../include -I. -g -O2 > -DMTCP_SYS_ERRNO_ON_STACK -c -o mtcp_restart.o -DPIC -fPIC > -fno-stack-protector -g -O0 mtcp_restart.c > arm-none-linux-gnueabi-gcc -g -O2 -DMTCP_SYS_ERRNO_ON_STACK -c syscall-arm.S > arm-none-linux-gnueabi-gcc -g -O2 -DMTCP_SYS_ERRNO_ON_STACK -o > ./../bin/mtcp_restart -fPIC -g -O0 -nodefaultlibs mtcp_restart.o syscall-arm.o > /opt/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/usr/lib/crti.o:(.ARM.exidx+0x0): > undefined reference to `__aeabi_unwind_cpp_pr0' > /opt/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/usr/lib/crtn.o:(.ARM.exidx.init+0x0): > undefined reference to `__aeabi_unwind_cpp_pr0' > /opt/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/usr/lib/crtn.o:(.ARM.exidx.fini+0x0): > undefined reference to `__aeabi_unwind_cpp_pr0' > /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/crtbegin.o:(.ARM.exidx+0x0): > undefined reference to `__aeabi_unwind_cpp_pr0' > mtcp_restart.o:(.ARM.exidx+0x0): undefined reference to > `__aeabi_unwind_cpp_pr1' > mtcp_restart.o:(.ARM.exidx+0x8): undefined reference to > `__aeabi_unwind_cpp_pr0' > collect2: ld returned 1 exit status > > Using this config I get the following: > > ./configure --build=i686-pc-linux-gnu --host=arm-linux --disable-openmp > --disable-test-suite LDFLAGS="-lgcc_s" > > arm-none-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I../../include > -I../../include -I../../jalib -I./ipc -fPIC -g -O2 -c -o > ipc/event/i-eventconnection.o `test -f 'ipc/event/eventconnection.cpp' || > echo './'`ipc/event/eventconnection.cpp > In file included from ipc/event/eventconnection.h:61, > from ipc/event/eventconnection.cpp:42: > /opt/CodeSourcery/Sourcery_G++_Lite/bin/../arm-none-linux-gnueabi/libc/usr/include/sys/signalfd.h:54: > error: expected initializer before 'throw' > ipc/event/eventconnection.cpp: In member function 'virtual void > dmtcp::EventFdConnection::drain()': > ipc/event/eventconnection.cpp:137: error: 'EFD_SEMAPHORE' was not declared in > this scope > ipc/event/eventconnection.cpp: In member function 'virtual void > dmtcp::SignalFdConnection::postRestart()': > ipc/event/eventconnection.cpp:236: error: 'signalfd' was not declared in this > scope > ipc/event/eventconnection.cpp:236: error: invalid type in declaration before > '=' token > ipc/event/eventconnection.cpp:236: error: '({...})' cannot be used as a > function > make[2]: *** [ipc/event/i-eventconnection.o] Error 1 > make[2]: Leaving directory `/home/craig/git/dmtcp/src/plugin' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/craig/git/dmtcp/src' > make: *** [dmtcp] Error 2 > > Does anyone have an ideas? > > Thanks, > Craig > > ------------------------------------------------------------------------------ > _______________________________________________ > Dmtcp-forum mailing list > Dmtcp-forum@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dmtcp-forum ------------------------------------------------------------------------------ _______________________________________________ Dmtcp-forum mailing list Dmtcp-forum@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dmtcp-forum