[PATCH] opal: fix build error on Ubuntu 12.04 i386 with gcc 4.6.3
Alex Hung
alex.hung at canonical.com
Fri Jul 14 08:13:10 UTC 2017
On Fri, Jul 14, 2017 at 12:49 AM, Colin Ian King
<colin.king at canonical.com> wrote:
> On 14/06/17 07:36, Colin King wrote:
>> From: Colin Ian King <colin.king at canonical.com>
>>
>> For some reason we need to also include inttypes.h for 32 bit
>> builds with gcc 4.6.3 on Ubuntu 12.04 to build correctly.
>>
>> Signed-off-by: Colin Ian King <colin.king at canonical.com>
>> ---
>> src/opal/reserv_mem.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/src/opal/reserv_mem.c b/src/opal/reserv_mem.c
>> index 4199448c..60f8c212 100644
>> --- a/src/opal/reserv_mem.c
>> +++ b/src/opal/reserv_mem.c
>> @@ -21,6 +21,7 @@
>> #include <fcntl.h>
>> #include <stdlib.h>
>> #include <sys/ioctl.h>
>> +#include <inttypes.h>
>>
>> #include "fwts.h"
>>
>>
>
> I know we don't support 12.04, but I'd like to have this change added as
> we do have users who build fwts on other (older) systems and this
> breakage is biting them.
>
> Plus it fixes the recipe build failures:
> https://launchpadlibrarian.net/328735518/buildlog_ubuntu-precise-armhf.fwts_17.07.00-0ubuntu1+201707140646~ubuntu12.04.1_BUILDING.txt.gz
Sounds good.
>
> Colin
>
> --
> fwts-devel mailing list
> fwts-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/fwts-devel
--
Cheers,
Alex Hung
More information about the fwts-devel
mailing list