bugGNU patch - Bugs: bug #44483, patch-2.7.4 does not compile on...

 
 

bug #44483: patch-2.7.4 does not compile on IRIX 6.5 / Solaris10 and all other *X OS'es

Submitted by:  None
Submitted on:  Sun 08 Mar 2015 12:32:54 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 08 Mar 2015 07:11:28 PM UTC, comment #1:

For faccessat, please try patch-2.7.5, this has been fixed already.

For SIZE_MAX, could you please try ftp://alpha.gnu.org/gnu/patch/patch-2.7.5.1-6a55.tar.gz?

Andreas Gruenbacher <agruen>
Project Administrator
Sun 08 Mar 2015 12:32:54 PM UTC, original submission:

faccessat() in safe.c is missing on the named operating systems.
preprocessor warning for safe.c:
CC safe.o
"safe.c", line 462: warning: implicit function declaration: faccessat
link error:
CCLD patch
Undefined first referenced
symbol in file
faccessat safe.o
ld: fatal: symbol referencing errors. No output written to patch

Solaris10 env:
cc -Version
cc: Sun C 5.12 SunOS_i386 Patch 148918-08 2013/10/18
I know it's not the newest patch.
IRIX 6.5.22m env:
gcc (GCC) 4.7.4
configure flags: --disable-xattr --prefix=/opt/sfw

BTW. IRIX 6.5 needs to have a patch for pch.c to compile:
--- src/pch.c.orig 2015-01-22 20:23:31.000000000 +0000
+++ src/pch.c 2015-03-08 11:27:39.672576671 +0000
@@ -18,6 +18,10 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */

+#ifdef __sgi
+#define SIZE_MAX _SIZE_MAX_
+#endif
+
#define XTERN extern
#include <common.h>
#include <dirname.h>

mailto: -unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by agruen (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 08 Mar 2015 07:11:28 PM UTCagruenStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1