Summary: | xfsprogs breaks with gcc 3.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Lee <clee> |
Component: | [OLD] Core system | Assignee: | Brad Cowan (RETIRED) <bcowan> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | gcc-porting, lostlogic |
Priority: | High | ||
Version: | 1.4_rc4 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patches include/platform_def.h.in to add "#include <locale.h>" |
Description
Chris Lee
2003-06-11 03:45:39 UTC
Created attachment 13095 [details, diff]
Patches include/platform_def.h.in to add "#include <locale.h>"
This patch fixes this bug for me. Test?
xfs_bmap.c: In function 'main: xfs_bmap.c:60: warning: implicit declaration of function 'setlocale" xfs_bmap.c:60: 'LC_ALL' undeclared (first use in this function) xfs_bmap.c:60: (Each undeclared identifier is reported only once xfs_bmap.c:60: for each function it appears in.) make[1]: *** [xfs_bmap.o] Error 1 make: *** [default] Error 2 !!! ERROR: sys-apps/xfsprogs-2.3.9 failed. !!! Function src_compile, Line 46, Exitcode 2 !!! (no error message) ----------------------------------------------------------------- I have this problem with xfsprogs 2.3.9 and gcc3.2.3 maybe this applies to the same bug. For what it's worth, this problem doesnt seem to exist on my system with gcc 3.3.1 ayanami root # emerge xfsprogs -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-apps/xfsprogs-2.3.9 ayanami root # gcc --version gcc (GCC) 3.3.1 (Gentoo Linux 3.3.1, propolice) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. has always worked here |