{"push_id":792422408,"size":1,"distinct_size":1,"ref":"refs/heads/next","head":"29f7916b3a8687488cce26ab85ad3f9a8b349375","before":"262bdae0330e1c6832197f3f449e82fe3e1378b5","commits":[{"sha":"29f7916b3a8687488cce26ab85ad3f9a8b349375","author":{"email":"a0b4a0fd3bfaf31f573c89a9a5452161f1e3113d@orcon.net.nz","name":"Michael Cree"},"message":"tests: Fix test-suite failure on Alpha\n\nPulseaudio fails to build on the Alpha architecture due to a failure\nin the volume-test of the test suite.  I had reported this to the\nDebian bug tracker [1] but the maintainer has asked that I forward the\npatch to this mail list.  The failure in volume-test occurs because it\nis compiled with -ffast-math which implies -ffinite-math-only of which\nthe gcc manual states that it optimizes for floating-point arithmetic\nwith the assumption that arguments and results are not NaNs or\n+/-infinity, and futher notes that it may result in incorrect output.\nOn the Alpha platform that is somewhat an understatement as the use of\nnon-finite floating-point arithmetic with -ffinite-math-only results in\na floating-point exception and the termination of the program.\n\nThe volume-test converts volumes into decibels (so a zero volume\nbecomes a negative infinity) and proceeds to add two volumes (in\ndecibels), thus does arithmetic with non-finite floating point numbers\ndespite being compiled with -ffast-math!\n\nI attach a patch that protects against the arithmetic with non-finite\nnumbers for your consideration.  With that patch the test-suite passes\non Alpha.\n\nCheers\nMichael.\n\n[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798248","distinct":true,"url":"https://api.github.com/repos/pulseaudio/pulseaudio/commits/29f7916b3a8687488cce26ab85ad3f9a8b349375"}]}