Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282915 - sys-libs/glibc-2.9_p20081201-r2 fails w/undefined reference to `__mremap' when building in parallel
Summary: sys-libs/glibc-2.9_p20081201-r2 fails w/undefined reference to `__mremap' whe...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 14:31 UTC by James Watt
Modified: 2011-03-20 21:37 UTC (History)
1 user (show)

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


Attachments
cpu info (cpuinfo.txt,2.60 KB, text/plain)
2009-08-30 22:54 UTC, James Watt
Details
emerge info (emergeinfo.txt,3.54 KB, text/plain)
2009-08-30 22:55 UTC, James Watt
Details
make.conf (make.conf,901 bytes, text/plain)
2009-08-30 22:55 UTC, James Watt
Details
build.log (build.log.bz2,113.09 KB, application/octet-stream)
2009-08-31 01:28 UTC, James Watt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Watt 2009-08-27 14:31:04 UTC
My original bug: http://bugs.gentoo.org/show_bug.cgi?id=282714

Because the problem seems to lay in glibc/gcc I am submitting an new bug.

When I try to build glibc, it fails. Error:

make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed"'

Complete log file (using --debug): http://gtwy.net/temp/bin/build.log

Reproducible: Always

Steps to Reproduce:
1. emerge glibc
Actual Results:  
glibc fails to build: "make for x86 failed"

Expected Results:  
glibc is built and installed

Other info from my box:

cpuinfo: http://gtwy.net/temp/bin/cpuinfo.txt

emerge --info (and also emerge -pv glibc): http://gtwy.net/temp/bin/emergeinfo.txt

make.conf: http://gtwy.net/temp/bin/make.conf

I added the -march=nocona as an attempt to resolve this. I initially did NOT have any march set.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2009-08-30 17:21:53 UTC
I assign this bug to maintainer.
Tried to find out if its some trivial breakage but I cannot see anything, so toolchain please tell him what to do to get the error more precised. 
Comment 2 SpanKY gentoo-dev 2009-08-30 22:32:28 UTC
do not post external URLs.  include all info as attachments to your report.
Comment 3 James Watt 2009-08-30 22:54:44 UTC
Created attachment 202750 [details]
cpu info
Comment 4 James Watt 2009-08-30 22:55:03 UTC
Created attachment 202752 [details]
emerge info
Comment 5 James Watt 2009-08-30 22:55:14 UTC
Created attachment 202754 [details]
make.conf
Comment 6 James Watt 2009-08-30 22:57:45 UTC
The file you are trying to attach is 7396 kilobytes (KB) in size. Non-patch attachments cannot be more than 2000 KB. 
We recommend that you store your attachment elsewhere on the web, and then insert a link to it in a comment, or in the URL field for this bug. Alternately, if your attachment is an image, you could convert it to a compressible format like JPG or PNG and try again. 


This is why I left a URL. Not really sure why this deems marking the bug RESOLVED when all of the information was still available.

Here is the build log again: http://gtwy.net/temp/bin/build.log
Comment 7 SpanKY gentoo-dev 2009-08-31 00:04:32 UTC
linux has plenty of standard compression programs like bzip2
Comment 8 James Watt 2009-08-31 01:28:25 UTC
Created attachment 202761 [details]
build.log
Comment 9 James Watt 2009-09-03 15:56:14 UTC
Is there anymore information I can provide? Have not heard anything on this.
Comment 10 SpanKY gentoo-dev 2009-09-04 03:29:34 UTC
http://bugs.gentoo.org/282714#c15
Comment 11 James Watt 2009-09-20 14:20:52 UTC
Do we have anything else on this I should be trying? I would really appreciate some help, my main production box is just stuck and has been for weeks.
Comment 12 James Watt 2009-09-20 17:11:46 UTC
Changing MAKEOPTS to -j1 resolved the problem. This should still be fixed.