<br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 8:15 AM, Mathieu Desnoyers <span dir="ltr"><<a href="mailto:mathieu.desnoyers@efficios.com" target="_blank">mathieu.desnoyers@efficios.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I notice the following build failure here<br>
<br>
<a href="https://buildd.debian.org/status/package.php?p=liburcu" target="_blank">https://buildd.debian.org/status/package.php?p=liburcu</a><br>
<br>
Tail of log for liburcu on sparc:<br>
<br>
urcu/static/wfqueue.h:84:2: warning: implicit declaration of function 'CMM_STORE_SHARED' [-Wimplicit-function-declaration]<br>
urcu/static/wfqueue.h: In function '___cds_wfq_node_sync_next':<br>
urcu/static/wfqueue.h:99:2: warning: implicit declaration of function 'CMM_LOAD_SHARED' [-Wimplicit-function-declaration]<br>
urcu/static/wfqueue.h:99:15: warning: assignment makes pointer from integer without a cast [enabled by default]<br>
urcu/static/wfqueue.h:104:4: warning: implicit declaration of function 'caa_cpu_relax' [-Wimplicit-function-declaration]<br>
urcu/static/wfqueue.h: In function '___cds_wfq_dequeue_blocking':<br>
urcu/static/wfqueue.h:126:55: warning: comparison between pointer and integer [enabled by default]<br>
make[3]: *** [wfqueue.lo] Error 1<br>
make[3]: Leaving directory `/build/buildd-liburcu_0.7.6-1-sparc-GySyug/liburcu-0.7.6'<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory `/build/buildd-liburcu_0.7.6-1-sparc-GySyug/liburcu-0.7.6'<br>
make[1]: *** [all] Error 2<br>
make[1]: Leaving directory `/build/buildd-liburcu_0.7.6-1-sparc-GySyug/liburcu-0.7.6'<br>
dh_auto_build: make -j1 returned exit code 2<br>
make: *** [build-arch] Error 2<br>
<br>
One main question I have: what sparc architectures are supported by<br>
Debian's "sparc" architecture ? Userspace RCU only supports Sparcv9 and<br>
onward, because it requires some atomic instructions.<br>
<br></blockquote><div><br></div><div>Debian definitely only supports[1] SPARCv9 compatible CPUs (sun4u, sun4v). I've heard that Linux on 32-bit SPARC (i.e. sparc <= v8) is shoddy now, but I certainly haven't tried it.</div>
<div> </div><div>[1] <a href="http://www.debian.org/ports/sparc/">http://www.debian.org/ports/sparc/</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As documented in the urcu README file, building a package that includes<br>
sparcv9 isntructions for 32-bit sparc can be done with:<br>
<br>
CFLAGS="-m32 -Wa,-Av9a -g -O2" ./configure<br></blockquote><div><br></div><div>"v9a" includes VIS instruction set, which is an extension of SPARCv9. I think only some early Fujitsu SPARC CPUs (pre 2000) are missing it -- the original UltraSPARC from Sun does include it. Probably safe to turn on, but technically extends requirements to use the program.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
But if Debian sparc needs to support pre-v9 sparcs, then I guess it<br>
would not be appropriate to use v9 instructions for urcu sparc build.<br>
<br>
Thoughts ?<br>
<br>
Thanks,<br>
<br>
Mathieu<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Mathieu Desnoyers<br>
EfficiOS Inc.<br>
<a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a><br>
<br>
<br>
--<br>
To UNSUBSCRIBE, email to <a href="mailto:debian-sparc-REQUEST@lists.debian.org">debian-sparc-REQUEST@lists.debian.org</a><br>
with a subject of "unsubscribe". Trouble? Contact <a href="mailto:listmaster@lists.debian.org">listmaster@lists.debian.org</a><br>
Archive: <a href="http://lists.debian.org/20130222141551.GB22156@Krystal" target="_blank">http://lists.debian.org/20130222141551.GB22156@Krystal</a><br>
<br>
</font></span></blockquote></div><br>