Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 162109

Summary: app-admin/cpu-1.4.3-r1 doesn't compile with gcc-4.1.1
Product: Gentoo Linux Reporter: Fabian Groffen <grobian>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED DUPLICATE    
Severity: normal CC: grobian
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/tracker/index.php?func=detail&aid=1577304&group_id=45948&atid=444580
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: updated gcc4 patch

Description Fabian Groffen gentoo-dev 2007-01-14 21:26:23 UTC
ld.c: In function 'getlGid':
ld.c:806: error: subscripted value is neither array nor pointer
make[4]: *** [ld.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .libs/ldap.lo ldap.lo

Attached patch solves this problem in a similar way like it's done in the rest of the file.
Comment 1 Fabian Groffen gentoo-dev 2007-01-14 21:28:46 UTC
Created attachment 107000 [details, diff]
updated gcc4 patch

patch which makes cpu compile on x86 and amd64 (not keyworded)
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-01-14 21:29:40 UTC
*** This bug has been marked as a duplicate of bug 142329 ***

*** This bug has been marked as a duplicate of bug 142329 ***