Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"make test" makes 64-bit Linux incredibly slow #30

Closed
mavam opened this issue Jul 9, 2012 · 4 comments
Closed

"make test" makes 64-bit Linux incredibly slow #30

mavam opened this issue Jul 9, 2012 · 4 comments

Comments

@mavam
Copy link
Collaborator

mavam commented Jul 9, 2012

When running make test on a 64-bit Fedora Linux box with GCC 4.7, the system becomes unusable (and requires a reboot) when entering the spawn test case. The last output is:

run test__spawn ... 

How could I debug this further?

@Neverlord
Copy link
Member

Hm, libcppa works like a charm on Ubuntu and Debian. Do you have any valgrind output? I'll setup a Fedora to investigate this issue.

@mavam
Copy link
Collaborator Author

mavam commented Jul 24, 2012

Do use --disable-context-switching on Linux? I get normal test results if I do so.

@Neverlord
Copy link
Member

No, I'm not using --disable-context-switching on Linux. Neither can I reproduce the bug:

[neverlord@localhost libcppa]$ cat /etc/fedora-release 
Fedora release 17 (Beefy Miracle)

[neverlord@localhost libcppa]$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.7.0/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --disable-build-with-cxx --disable-build-poststage1-with-cxx --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) 

[neverlord@localhost libcppa]$ make test
make[1]: Entering directory `/home/neverlord/libcppa/build'
Running tests...
Test project /home/neverlord/libcppa/build
    Start 1: unit_tests
1/1 Test #1: unit_tests .......................   Passed    3.87 sec

100% tests passed, 0 tests failed out of 1

Total Test time (real) =   3.88 sec
make[1]: Leaving directory `/home/neverlord/libcppa/build'

@mavam
Copy link
Collaborator Author

mavam commented Jul 26, 2012

Seems to work for me since upgrading to the latest unstable:

100% tests passed, 0 tests failed out of 15

Total Test time (real) =   5.05 sec

@mavam mavam closed this as completed Jul 26, 2012
Neverlord added a commit that referenced this issue Apr 21, 2022
Integrate additional review feedback to BASP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants