[Gc] bad register name '%sil'

Stephane Epardaud Stephane.Epardaud at sophia.inria.fr
Fri Jan 27 00:31:34 PST 2006


Thanks, that was also the conclusion I came to based on your bug report, the
xchbl and gcc-asm docs.

Boehm, Hans wrote:
> (This applies only to gc7alpha.)
> 
> My version now uses "=q" for (oldval) in the AO_test_and_set_full implementation.  I'm not 100% sure that's correct, but it seems to be.  I just checked that change into the cvs tree.
> 
> Hans
> 
> 
>>-----Original Message-----
>>From: gc-bounces at napali.hpl.hp.com 
>>[mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Stephane Epardaud
>>Sent: Thursday, January 26, 2006 1:35 AM
>>To: gc at napali.hpl.hp.com
>>Subject: [Gc] bad register name '%sil'
>>
>>
>>Hello,
>>
>>I'm having trouble compiling libatomic_ops (required by the 
>>GC) with gcc 4.0.3 under Linux. I'm having an error message like:
>>
>> gcc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" 
>>-DPACKAGE_VERSION=\"7.0alpha5\" "-DPACKAGE_STRING=\"gc 
>>7.0alpha5\"" -DPACKAGE_BUGREPORT=\"Hans.Boehm at hp.com\" 
>>-DGC_VERSION_MAJOR=7 -DGC_VERSION_MINOR=0 
>>-DGC_ALPHA_VERSION=5 -DPACKAGE=\"gc\" -DVERSION=\"7.0alpha5\" 
>>-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
>>-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
>>-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
>>-DHAVE_UNISTD_H=1 -DGC_LURC_THREADS=1 -DHAVE_DLFCN_H=1 
>>-DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 
>>-DJAVA_FINALIZATION=1 -DATOMIC_UNCOLLECTABLE=1 -I./include 
>>-I/home/separdau/local/include -I/home/separdau/local/include 
>>-I ./libatomic_ops/src -I/home/separdau/local/include 
>>-I/home/separdau/local/include -I ./libatomic_ops/src -MT 
>>os_dep.lo -MD -MP -MF .deps/os_dep.Tpo -c os_dep.c -o os_dep.o
>>/tmp/ccJgtXrr.s: Assembler messages:
>>/tmp/ccJgtXrr.s:690: Error: bad register name `%sil'
>>
>>I found online a bug filed by Hans Boehm here:
>>
>>http://gcc.gnu.org/ml/gcc-bugs/2005-08/msg01416.html
>>
>>But I could not find any way to make this compile, should I 
>>really change the 'r' with 'q' ? Thanks for any help.
>>-- 
>>
>>Cheers,
>>
>>Stéphane Épardaud
>>INRIA Sophia-Antipolis
>>France, EU
>>_______________________________________________
>>Gc mailing list
>>Gc at linux.hpl.hp.com 
>>http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
>>
> 
> 
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/

-- 

Cheers,

Stéphane Épardaud
INRIA Sophia-Antipolis
France, EU


More information about the Gc mailing list