Summary: | sys-fs/mdadm-2.6.4-r2 fails with both gcc-4.2.3 and gcc-4.3.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Duncan <1i5t5.duncan> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | jackdachef |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Duncan
2008-03-30 15:35:08 UTC
Created attachment 147695 [details]
emerge --info
On the errors in the originating comment, yes, that's how they were spit out; it said the previous declaration was "here" but didn't say where "here" was.
Oops! CFLAGS related, CFLAGS="-march=k8 -O2 -pipe" emerge -1 mdadm works (with both gcc-4.2.3 and 4.3.0). So marking invalid. I'll note which one it was when I figure it out, in case anyone else comes across the problem. It was -combine. Should have known to try removing that one first! Sorry for the noise. (It'd still be nice to have USE flag control over mdassemble, however.) Duncan (In reply to comment #3) > It was -combine. Should have known to try removing that one first! Sorry for > the noise. > > (It'd still be nice to have USE flag control over mdassemble, however.) > > Duncan > I today got a similar problem with net-fs/samba-client just in case someone uses -combine too and gets the following error: >>> Compiling source in /var/tmp/portage/net-fs/samba-client-3.3.7/work/samba-3.3.7/source ... In file included from /usr/include/sys/time.h:31, from client/mtab.c:34: /usr/include/sys/select.h:109: error: conflicting types for ‘select’ /usr/include/sys/select.h:109: note: previous declaration of ‘select’ was here /usr/include/sys/select.h:121: error: conflicting types for ‘pselect’ /usr/include/sys/select.h:121: note: previous declaration of ‘pselect’ was here thanks |