bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/12525] gold SEGV linking libgcc_s.so.1 on Solaris 11/x86


From: ian at airs dot com
Subject: [Bug gold/12525] gold SEGV linking libgcc_s.so.1 on Solaris 11/x86
Date: Thu, 3 Mar 2011 16:39:17 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12525

--- Comment #7 from Ian Lance Taylor <ian at airs dot com> 2011-03-03 16:39:12 
UTC ---
The intention of the code is that the file is guaranteed to be large enough by
the call to posix_fallocate in Output_file::map_no_anonymous.  Does Solaris
have posix_fallocate?  If it does, does it actually grow the file?

If Solaris does not have posix_fallocate, the configure script should detect
that, and cause gold to provide a simple implementation, at the top of
output.cc, which calls ftruncate and hopes for the best.  Does Solaris provide
ftruncate?  If it does, does it actually grow the file?

If Solaris does not have ftruncate, there are various implementations provided
in ftruncate.c.  Which one of those winds up getting used?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]