Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213440 - sys-fs/zfs-fuse-0.4.0_beta1-r2 doesn't compile w/ gcc-4.2 (patch)
Summary: sys-fs/zfs-fuse-0.4.0_beta1-r2 doesn't compile w/ gcc-4.2 (patch)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Parpart (RETIRED)
URL: http://groups.google.com/group/zfs-fu...
Whiteboard:
Keywords:
: 194575 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-14 20:28 UTC by larstobi
Modified: 2008-10-04 04:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Support for gcc4.2. (zfs-fuse-0.4.0_beta1-gcc4.2.patch,6.72 KB, patch)
2008-03-14 20:30 UTC, larstobi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description larstobi 2008-03-14 20:28:26 UTC
sys-fs/zfs-fuse-0.4.0_beta1-r2 fails with gcc4.2:

gcc -o lib/libzpool/build-user/dmu.o -c -pipe -Wall -Werror -std=c99
-Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized
-fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT
-DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -O2 -Ilib/libavl/include
-Ilib/libnvpair/include -Ilib/libzfscommon/include -Ilib/libumem/include
-Ilib/libzpool/include -Ilib/libsolcompat/include lib/libzpool/build-user/dmu.c
cc1: warnings being treated as errors
lib/libzpool/build-user/dmu.c: In function 'dmu_write':
lib/libzpool/build-user/dmu.c:422: warning: passing argument 6 of
'dmu_buf_hold_array' discards qualifiers from pointer target type

The patch from Michał Kowalczuk allows it to compile with gcc4.2.
Comment 1 larstobi 2008-03-14 20:30:11 UTC
Created attachment 146156 [details, diff]
Support for gcc4.2.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-15 06:49:44 UTC
*** Bug 194575 has been marked as a duplicate of this bug. ***
Comment 3 Christian Parpart (RETIRED) gentoo-dev 2008-10-04 04:23:14 UTC
as we have zfs-fuse 0.5.0 in tree already, this seems to compile with gcc 4.2.4 (p1).
The 0.4* ebuilds will be removed soon. So please update as soon as you can.