Summary: | sys-fs/squashfs-tools with gcc-5: git/squashfs-tools/mksquashfs.c:897: undefined reference to `get_inode_no' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ncahill_alt |
Component: | Current packages | Assignee: | Gentoo LiveCD Package Maintainers <livecd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 536984 |
Description
ncahill_alt
2016-09-27 15:44:19 UTC
This bug occurs on my machine as well, and is resolved by the patch provided by Neil Cahill. As mentioned in the link to the original patch, this only occurs when compiling with -O0, so setting eg. -O2 is a possible work around while the patch is being assessed. Here's a clean version of that patch. https://raw.githubusercontent.com/openembedded/openembedded-core/master/meta/recipes-devtools/squashfs-tools/squashfs-tools/0001-mksquashfs.c-get-inline-functions-work-with-C99.patch commit dad0ac9a3fe3d4a2ad54b8e31e74cc6101ce78dc Author: David Seifert <soap@gentoo.org> Date: Tue Dec 20 22:34:07 2016 +0100 sys-fs/squashfs-tools: Fix building with GCC 5 Gentoo-bug: 595290 |