FS#72044 - [libaio] Check fails with gcc 11
Attached to Project:
Arch Linux
Opened by Michal Wojdyla (micwoj92) - Monday, 06 September 2021, 01:30 GMT
Last edited by David Runge (dvzrv) - Thursday, 07 April 2022, 21:16 GMT
Opened by Michal Wojdyla (micwoj92) - Monday, 06 September 2021, 01:30 GMT
Last edited by David Runge (dvzrv) - Thursday, 07 April 2022, 21:16 GMT
|
Details
Description: taken from upstream commit:
Test 3.t exercises io_submit() with invalid addresses, and one test attempted to pass in "-1" as an invalid pointer. But gcc-11 realizes you cannot take an offset from an invalid pointer, making it impossible to compile or run this test: Additional info: * package version(s) 0.3.112-2 * link to upstream bug report, if any https://pagure.io/libaio/issue/9 Steps to reproduce: 1. makepkg -si 2. Check error in case 3 fix was made upstream in commit https://pagure.io/libaio/c/696a5e6483baa3a9e4eb83e5db5838d571c90ec9?branch=master After adding this change test passes successfully. |
This task depends upon
Closed by David Runge (dvzrv)
Thursday, 07 April 2022, 21:16 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with libaio 0.3.112-3
Thursday, 07 April 2022, 21:16 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with libaio 0.3.112-3
I've opted for removing the use of -Werror instead.