[Gc] Fwd: Re: [libatomic_ops] Sparc v8 FTBS (#9)

Ivan Maidanski <ivmai-JGs/[email protected]> Sat, 21 Jun 2014 01:08:03 +0400
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <[email protected]>
Hi,

I think CFLAGS=-DAO_NO_SPARC_V9 should help you.
Of course, it would be good if someone (you?) contributed support of v8 (as said in TODO at tail of  https://github.com/ivmai/libatomic_ops/blob/master/src/atomic_ops/sysdeps/gcc/sparc.h ).

Fri, 20 Jun 2014 10:09:58 -0700 from cb88 <[email protected]>:
>Would it be possible to disable any features that currently depend on Sparc v8+/v9 or implement the missing v8 support code? 
>I'm building gentoo sparc32 stages and this is an issue I am running into. 
>>>> Unpacking source...
>>> ...
 * econf: updating gc-7.2alpha4/libatomic_ops/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=sparc-unknown-linux-gnu --host=sparc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib --disable-dependency-tracking
checking build system type... sparc-unknown-linux-gnu
...
checking for sparc-unknown-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of sparc-unknown-linux-gnu-gcc... none
checking whether sparc-unknown-linux-gnu-gcc and cc understand -c and -o together... yes
checking dependency style of sparc-unknown-linux-gnu-gcc... none
checking how to run the C preprocessor... sparc-unknown-linux-gnu-gcc -E
...
config.status: executing default commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/libatomic_ops-7.2_alpha4/work/gc-7.2alpha4/libatomic_ops ...
make -j32 AR=sparc-unknown-linux-gnu-ar
...
sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -fPIC -O2 -pipe -mcpu=v8 -DNDEBUG -c atomic_ops_malloc.c
atomic_ops_malloc.c: In function ‘msb’:
atomic_ops_malloc.c:223:2: warning: right shift count >= width of type [enabled by default]
{standard input}: Assembler messages:
{standard input}:35: Error: Architecture mismatch on "membar".
{standard input}:35:  (Requires v9|v9a|v9b; requested architecture is v8.)
{standard input}:36: Error: Architecture mismatch on "cas".
{standard input}:36:  (Requires v9|v9a|v9b; requested architecture is v8.)
...
make[3]: *** [atomic_ops_stack.o] Error 1
make[3]: *** Waiting for unfinished jobs....
...
>—
>Reply to this email directly or  view it on GitHub .

----------------------------------------------------------------------

_______________________________________________
bdwgc mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/bdwgc