Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306945 - sys-devel/gcc-4.4: emerge of app-arch/cpio hangs
Summary: sys-devel/gcc-4.4: emerge of app-arch/cpio hangs
Status: RESOLVED DUPLICATE of bug 289757
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 11:37 UTC by Richard Connon
Modified: 2011-04-06 17:53 UTC (History)
0 users

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


Attachments
build.log (build.log,10.80 KB, text/plain)
2010-02-26 11:41 UTC, Richard Connon
Details
emerge --info (emerge-info,3.94 KB, text/plain)
2010-02-26 11:41 UTC, Richard Connon
Details
emerge -pqv (emerge-pqv,50 bytes, text/plain)
2010-02-26 11:41 UTC, Richard Connon
Details
environment (environment,102.56 KB, text/plain)
2010-02-26 11:41 UTC, Richard Connon
Details
config.log (config.log,160.60 KB, text/plain)
2010-02-26 11:42 UTC, Richard Connon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Connon 2010-02-26 11:37:53 UTC
emerge hangs on this line:

checking whether getcwd (NULL, 0) allocates memory for result... 

I seem to recall someone suggesting this was somehow to do with having my prefix on NFS.

Reproducible: Always

Steps to Reproduce:
Comment 1 Richard Connon 2010-02-26 11:41:09 UTC
Created attachment 221301 [details]
build.log
Comment 2 Richard Connon 2010-02-26 11:41:21 UTC
Created attachment 221303 [details]
emerge --info
Comment 3 Richard Connon 2010-02-26 11:41:32 UTC
Created attachment 221305 [details]
emerge -pqv
Comment 4 Richard Connon 2010-02-26 11:41:46 UTC
Created attachment 221307 [details]
environment
Comment 5 Richard Connon 2010-02-26 11:42:55 UTC
Created attachment 221309 [details]
config.log
Comment 6 Richard Connon 2010-02-26 11:48:49 UTC
Similarly to my other gcc-4.4 bug using -std=c99 gets around this but it fails later since cpio is obviously gnu source.
Comment 7 Richard Connon 2010-02-26 11:52:02 UTC
and... adding -fgnu89-inline (as suggested by heiko on IRC) works.
Comment 8 Richard Connon 2010-02-26 14:25:47 UTC
I also had to do this for m4
Comment 9 SpanKY gentoo-dev 2010-06-10 03:33:20 UTC
getcwd() is a bitch on sandbox, so try disabling it (if it is enabled at all)
Comment 10 Fabian Groffen gentoo-dev 2011-04-06 17:53:07 UTC

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