bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/12987] gold doesn't build on Solaris 11


From: ro at CeBiTec dot Uni-Bielefeld.DE
Subject: [Bug gold/12987] gold doesn't build on Solaris 11
Date: Tue, 12 Jul 2011 18:47:26 +0000

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

--- Comment #2 from Rainer Orth <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-07-12 
18:47:23 UTC ---
One issue I forgot: when build a 64-bit gold to perform 64-bit testing
(which otherwise fails in many ways, e.g. due to trying to link
libgold.a), I had to remove the static from the posix_fallocate
replacement to avoid the following error:

/vol/gnu/src/binutils/binutils/local/gold/output.cc: In function 'int
posix_fallocate(int, off_t, off_t)':
/vol/gnu/src/binutils/binutils/local/gold/output.cc:119:47: error: 'int
posix_fallocate(int, off_t, off_t)' was declared 'extern' and later 'static'
[-fpermissive]
/usr/include/fcntl.h:136:12: error: previous declaration of 'int
posix_fallocate(int, off_t, off_t)' [-fpermissive]

    Rainer

-- 
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]