diff options
author | Jon Ringle <jringle@gridpoint.com> | 2019-02-12 13:39:33 -0500 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-13 08:56:45 +0100 |
commit | 97727e2fdab395969a97f3ec3853380ec5253f99 (patch) | |
tree | 333d7b7547e0baf055a6092a8bc7ea48a0857f38 /rules | |
parent | ec68c09beaae9bca2b0fba86ed20fdfece07f6ea (diff) | |
download | ptxdist-97727e2fdab395969a97f3ec3853380ec5253f99.tar.gz ptxdist-97727e2fdab395969a97f3ec3853380ec5253f99.tar.xz |
f2fs-tools: version bump 1.8.0 => 1.12.0
f2fs-tools-1.8.0 fails to build with OSELAS.Toolchain-2018.12.0 due to
changes done in glibc-2.28 that moved 'major', 'minor' and 'makedev'.
The failure is this:
libf2fs.c: In function 'get_rootdev':
libf2fs.c:508:3: warning: implicit declaration of function 'major' [-Wimplicit-function-declaration]
major(sb.st_dev), minor(sb.st_dev));
^~~~~
libf2fs.c:508:21: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration]
major(sb.st_dev), minor(sb.st_dev));
^~~~~
mknod
libf2fs.c: In function 'get_device_info':
libf2fs.c:794:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
MSG(0, " %lu blocks per zone\n",
^~~~
CCLD libf2fs.la
make[3]: Leaving directory `/home/local/GRIDPOINT/jringle/git/linux-initramfs/platform-EC1K/build-target/f2fs-tools-1.8.0/lib'
Making all in mkfs
make[3]: Entering directory `/home/local/GRIDPOINT/jringle/git/linux-initramfs/platform-EC1K/build-target/f2fs-tools-1.8.0/mkfs'
CC f2fs_format_main.o
CC libf2fs_format_la-f2fs_format_utils.lo
CC libf2fs_format_la-f2fs_format.lo
CC f2fs_format.o
CC libf2fs_format_la-f2fs_format_main.lo
CC f2fs_format_utils.o
CCLD mkfs.f2fs
/opt/OSELAS.Toolchain-2018.12.0/arm-v5te-linux-gnueabi/gcc-8.2.1-glibc-2.28-binutils-2.31.1-kernel-4.19-sanitized/lib/gcc/arm-v5te-linux-gnueabi/8.2.1/../../../../arm-v5te-linux-gnueabi/bin/ld: ../lib/.libs/libf2fs.so: undefined reference to `minor'
/opt/OSELAS.Toolchain-2018.12.0/arm-v5te-linux-gnueabi/gcc-8.2.1-glibc-2.28-binutils-2.31.1-kernel-4.19-sanitized/lib/gcc/arm-v5te-linux-gnueabi/8.2.1/../../../../arm-v5te-linux-gnueabi/bin/ld: ../lib/.libs/libf2fs.so: undefined reference to `major'
collect2: error: ld returned 1 exit status
Upstream commit fixes the issue:
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/commit/?id=191a60fb4b3a761aea0877d02c0ee8d86baf1e93
Signed-off-by: Jon Ringle <jringle@gridpoint.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/f2fs-tools.make | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/f2fs-tools.make b/rules/f2fs-tools.make index 3df61c6f8..84a835a18 100644 --- a/rules/f2fs-tools.make +++ b/rules/f2fs-tools.make @@ -18,8 +18,8 @@ endif # # Paths and names # -F2FS_TOOLS_VERSION := 1.8.0 -F2FS_TOOLS_MD5 := d4132ab388d30da729cb270aeac32bf1 +F2FS_TOOLS_VERSION := 1.12.0 +F2FS_TOOLS_MD5 := 52d8ab4d6b6e7b8d416cb1c0da518fb0 F2FS_TOOLS := f2fs-tools-$(F2FS_TOOLS_VERSION) F2FS_TOOLS_SUFFIX := tar.xz F2FS_TOOLS_URL := git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git;tag=v$(F2FS_TOOLS_VERSION) |