pkgsrc-Bulk archive

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

Re: pkgsrc 2005Q4 NetBSD 2.0.2_STABLE/sparc64 bulk build results 2006-02-18



> > www/zope25                 39      tech-pkg%NetBSD.org@localhost
>
> Havard, please set ALLOW_VULNERABLE_PACKAGES=yes.

Oh, we're supposed to do that?  That's not mentioned in

http://www.netbsd.org/Documentation/pkgsrc/binary.html#setting-up-a-sandbox

> > math/cln                   6       adam%NetBSD.org@localhost
>
> Please try patch-ac.

(was attached)

Well, that exposed another problem, apparently a missing newline
at the end of an umul:

        umul %g2,%g3,%g1sub %g5,%g1,%g1

and there were a few occurrances of that.  New patch-ac candidate
diff attached below.

There's also a bunch of warnings related to redefinition of
cl_word_alignment:

In file included from ../include/cln/string.h:6,
                 from ../include/cln/symbol.h:6,
                 from base/symbol/cl_symbol.cc:9:
../include/cln/object.h:29:1: warning: "cl_word_alignment" redefined
../include/cln/object.h:26:1: warning: this is the location of the previous 
definition

The reason is that both __sparc__ and __sparc64__ is defined.

It's the __sparc64__ define which takes effect, so this appears
to be benign.  New suggested patch-ad attached below.

With that diff in place it continues the build for a long time (I got
tired of waiting for it to complete before sending this message).

> > fonts/acroread5-font-share 4       tech-pkg-ja%jp.NetBSD.org@localhost
>
> ===> acroread5-5.10nb1 requires Solaris libraries - see compat_svr4_32(8)

So am I supposed to fix this myself?  I don't think I have those libs.

> Do you have the NetBSD sources installed in /usr/src?

Ah, no, I didn't.  (And that *is* in the instructions...) Fixed now.

Regards,

- Håvard
$NetBSD$

In parameterized __asm__ statements, literal % must be doubled.

--- src/base/cl_low.h.orig      2006-02-18 12:56:13.000000000 +0100
+++ src/base/cl_low.h   2006-02-18 12:56:23.000000000 +0100
@@ -238,7 +238,7 @@
   #define mulu32(x,y,hi_zuweisung,lo_zuweisung)  \
     ({ var register uint64 _hi;                                        \
        var register uint64 _lo;                                        \
-       __asm__("umul %2,%3,%1\n\trd %y,%0"                     \
+       __asm__("umul %2,%3,%1\n\trd %%y,%0"                    \
               : "=r" (_hi), "=r" (_lo)                         \
               : "r" ((uint32)(x)), "r" ((uint32)(y))           \
              );                                                \
@@ -429,7 +429,7 @@
       __asm__ __volatile__ (       \
         "wr %%g0,%%g0,%%y\n\t"     \
         "udiv %2,%3,%0\n\t"        \
-        "umul %0,%3,%1"            \
+        "umul %0,%3,%1\n\t"        \
         "sub %2,%1,%1"             \
         : "=&r" (__q), "=&r" (__r) \
         : "r" (__x), "r" (__y));   \
@@ -518,7 +518,7 @@
       __asm__ __volatile__ (       \
         "wr %%g0,%%g0,%%y\n\t"     \
         "udiv %2,%3,%0\n\t"        \
-        "umul %0,%3,%1"            \
+        "umul %0,%3,%1\n\t"        \
         "sub %2,%1,%1"             \
         : "=&r" (__q), "=&r" (__r) \
         : "r" (__x), "r" (__y));   \
@@ -568,7 +568,7 @@
       __asm__ __volatile__ (       \
         "wr %%g0,%%g0,%%y\n\t"     \
         "udiv %2,%3,%0\n\t"        \
-        "umul %0,%3,%1"            \
+        "umul %0,%3,%1\n\t"        \
         "sub %2,%1,%1"             \
         : "=&r" (__q), "=&r" (__r) \
         : "r" (__x), "r" (__y));   \
@@ -680,7 +680,7 @@
       __asm__ __volatile__ (       \
         "wr %2,%%g0,%%y\n\t"       \
         "udiv %3,%4,%0\n\t"        \
-        "umul %0,%4,%1"            \
+        "umul %0,%4,%1\n\t"        \
         "sub %3,%1,%1"             \
         : "=&r" (__q), "=&r" (__r) \
         : "r" (__xhi), "r" (__xlo), "r" (__y)); \
$NetBSD$

--- include/cln/object.h.orig   2004-09-27 22:14:42.000000000 +0200
+++ include/cln/object.h        2006-02-18 16:15:06.000000000 +0100
@@ -22,7 +22,7 @@
 #if defined(__m68k__)
   #define cl_word_alignment  2
 #endif
-#if defined(__i386__) || defined(__mips__) || defined(__mipsel__) || 
defined(__sparc__) || defined(__hppa__) || defined(__arm__) || 
defined(__rs6000__) || defined(__m88k__) || defined(__convex__) || 
defined(__s390__)
+#if defined(__i386__) || defined(__mips__) || defined(__mipsel__) || 
(defined(__sparc__) && !defined(__sparc64__)) || defined(__hppa__) || 
defined(__arm__) || defined(__rs6000__) || defined(__m88k__) || 
defined(__convex__) || defined(__s390__)
   #define cl_word_alignment  4
 #endif
 #if defined(__alpha__) || defined(__mips64__) || defined(__sparc64__) || 
defined(__ia64__) || defined(__x86_64__)


Home | Main Index | Thread Index | Old Index