Port-arm archive

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

Re: Having trouble bilding src tools on NetBSD-5.2 for arm platform -- any ideas?



	hello.  Ok, in answer to my own question, I think I have a fix.  I'm
not entirely sure it's the right fix, but it seems to be working.  I'll
post another message if  it doesn't fix the problem.  If folks think there
should be another fix, let me know.  If this, in fact, lets me build the
tree fully, I'll commit the change below so others don't run into this
problem.
-thanks
-brian

Index: elf32-arm.c
===================================================================
RCS file: /cvsroot/src/external/gpl3/binutils/dist/bfd/elf32-arm.c,v
retrieving revision 1.10
diff -u -r1.10 elf32-arm.c
--- elf32-arm.c	26 Oct 2016 18:42:52 -0000	1.10
+++ elf32-arm.c	27 Dec 2016 01:11:11 -0000
@@ -3207,7 +3207,7 @@
 #endif
 }
 
-#ifndef __NetBSD__
+#if !defined (__NetBSD__) || (__NetBSD_Version__ < 600000000) 
 static inline int
 popcount (unsigned int mask)
 {


Home | Main Index | Thread Index | Old Index