[MDEV-9000] storage/xtradb/fil/fil0pagecompress.cc fails to compile on i686-linux Created: 2015-10-23  Updated: 2015-10-28  Resolved: 2015-10-28

Status: Closed
Project: MariaDB Server
Component/s: Compiling, Storage Engine - InnoDB, Storage Engine - XtraDB
Affects Version/s: 10.1.8
Fix Version/s: 10.1.9

Type: Bug Priority: Critical
Reporter: Vladimír Čunát Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

Nix(OS)



 Description   

When compiling for i686-linux, 10.1.8 gives errors like mariadb-10.1.8/storage/xtradb/fil/fil0pagecompress.cc:280:94: error: invalid conversion from 'ulint* {aka long unsigned int*}' to 'size_t* {aka unsigned int*}' [-fpermissive] That's a regression in comparison with 10.0.21 (for example).

You can inspect a full build log on http://hydra.nixos.org/build/26786301/nixlog/1/raw



 Comments   
Comment by Elena Stepanova [ 2015-10-24 ]

vcunat, thanks for the report.


Reproducible for example on Jessie, too – possibly everywhere when snappy (libsnappy-dev or alike) is installed.

Comment by Jan Lindström (Inactive) [ 2015-10-28 ]

commit f2ab9abbd621e3b261146d7bb769d6b844b5fb10
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Wed Oct 28 09:14:22 2015 +0200

MDEV-9000: storage/xtradb/fil/fil0pagecompress.cc fails to compile on i686-linux

Incorrect parameter type was used. Fixed by casting data types to correct
ones.

Generated at Thu Feb 08 07:31:23 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.