On 22/11/13 19:57, Chris Mason wrote: > Quoting Martin (2013-11-22 14:50:17) >> On 22/11/13 13:40, Chris Mason wrote: >>> Quoting Martin (2013-11-22 04:03:41) >> >>>> * QA Notice: Package triggers severe warnings which indicate that it >>>> * may exhibit random runtime failures. >>>> * disk-io.c:91:5: warning: dereferencing type-punned pointer will break >>>> strict-aliasing rules [-Wstrict-aliasing] >>>> * volumes.c:1930:5: warning: dereferencing type-punned pointer will >>>> break strict-aliasing rules [-Wstrict-aliasing] >>>> * volumes.c:1931:6: warning: dereferencing type-punned pointer will >>>> break strict-aliasing rules [-Wstrict-aliasing] >>> >>> Does gentoo modify the optimizations from the Makefile? We actually >>> have many strict-aliasing warnings, but I didn't think they came up >>> until -O2. >> >> For that system, I have -Os set in the Gentoo "make.conf". >> >> >>> At any rate, I'm adding -fno-strict-aliasing just to be sure. >> >> Good to catch to avoid unexpectedness, > > Ok, please try with the current master to make sure the options are > being picked up properly. If you're overriding the > -fno-strict-aliasing, please don't ;)
No changes my side for that system and... btrfs-progs now compiles with no warnings given. That looks like a "fixed". # emerge -vD btrfs-progs These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R *] sys-fs/btrfs-progs-9999 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-fs/btrfs-progs-9999 >>> Unpacking source... GIT update --> repository: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git at the commit: 8116550e16628794b76051b6b8ea503055c08d6f branch: master storage directory: "/usr/portage/distfiles/egit-src/btrfs-progs.git" checkout type: bare repository Cloning into '/var/tmp/portage/sys-fs/btrfs-progs-9999/work/btrfs-progs-9999'... done. Checking connectivity... done Branch branch-master set up to track remote branch master from origin. Switched to a new branch 'branch-master' ... And then a clean compile. No warnings. Thanks, Martin -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html