I'm seeing the exact same issue on multiple version of Fedora. See here:

http://openvswitch.org/pipermail/dev/2014-December/049833.html

Regards,
Stephen

> When building OVS (the latest master) under Ubuntu 12.04, it stuck at the
> unit test "test atomic operations” and never finishes (or it could just be
> unbearably slow). This problem doesn’t happen in Ubuntu 14.04, however.
> 
> library unit tests
> 
>  21: test flow extractor                             ok
>  22: test TCP/IP checksumming                        ok
>  23: test hash functions                             ok
>  24: test hash map                                   ok
>  25: test hash index                                 ok
>  26: test cuckoo hash                                ok
>  27: test atomic operations                          <stuck here forever>
> 
> This could be because gcc in Ubuntu 12.04 is too old that it can’t handle
> atomic operations very well. Please see more details below about two
> environments I experimented. Is this a known issue?
> 
> vagrant@precise64:~$ lsb_release -a
> No LSB modules are available.
> Distributor ID:       Ubuntu
> Description:  Ubuntu 12.04.1 LTS
> Release:      12.04
> Codename:     precise
> vagrant@precise64:~$ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
> 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --
> enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-
> suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --
> libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --
> with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --
> with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-
> libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-
> objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-
> checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --
> target=x86_64-linux-gnu
> Thread model: posix
> gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
> vagrant@precise64:~$
> 
> 
> vagrant@ubuntu-14:~/ovs$ lsb_release -a
> No LSB modules are available.
> Distributor ID:       Ubuntu
> Description:  Ubuntu 14.04 LTS
> Release:      14.04
> Codename:     trusty
> vagrant@ubuntu-14:~/ovs$ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
> Target: x86_64-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-
> 19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --
> enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --
> program-suffix=-4.8 --enable-shared --enable-linker-build-id --
> libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --
> with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --
> with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-
> libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --
> enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-
> awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-
> 4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-
> 1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-
> 4.8-amd64 --with-arch-directory=amd64 --with-ecj-
> jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --
> disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-
> list=m32,m64,mx32 --with-tune=generic --enable-checking=release --
> build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
> vagrant@ubuntu-14:~/ovs$
> 
> 
> —
> Motonori Shindo
> 
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to