bugDotGNU Portable.NET - Bugs: bug #8751, Pnet does not compile with GCC 3.4

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #8751: Pnet does not compile with GCC 3.4

Submitter:  Marcus Urban <mathpup>
Submitted:  Sat 01 May 2004 08:52:46 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Mon 24 May 2004 09:16:06 AM UTC, comment #4: 

Norbert's patch #3032 has been applied.

Rhys Weatherley <rweather>
Group administrator
Fri 14 May 2004 05:23:51 PM UTC, comment #3: 

t3rmin4t0r is right that this is a gcc bug. However it's possible for us to work around it.  Here's a patch:

https://savannah.gnu.org/patch/?func=detailitem&item_id=3032

Norbert Bollow <nb>
Group Member
Sat 01 May 2004 09:22:16 AM UTC, comment #2: 

With --disable-optimizations, I instead get this error:

gcc -I../libffi/include -fno-gcse -fno-inline-functions -I../include -I../libffi/include -I. -DBUILD_PROFILE_NAME="\"full\"" -g -Wall   -o ilrun  ilrun.o libILEngine.a ../dumpasm/libILDumpAsm.a ../image/libILImage.a ../support/libILSupport.a ../libffi/.libs/libffi.a ../libgc/.libs/libgc.a  -ltermcap -lz -lnsl -ldl -lm  -lpthread
libILEngine.a(cvm.o)(.data+0x400): In function `LUShiftRight':
/home/marcus/src/pnet/engine/cvm_arith.c:337: undefined reference to `.L369'
libILEngine.a(cvm.o)(.data+0x588): In function `_ILAllocCallFrame':
/home/marcus/src/pnet/engine/cvm_call.c:74: undefined reference to `.L369'

Marcus Urban <mathpup>
Sat 01 May 2004 09:00:38 AM UTC, comment #1: 

This is a GCC optimiser issue ... and not a Pnet problem.

Gopal.V <t3rmin4t0r>
Group administrator
Sat 01 May 2004 08:52:46 AM UTC, original submission:  

Pnet fails with the following error when compilation is attempted with GCC 3.4:

ake[1]: Entering directory `/home/marcus/src/pnet/engine'
/bin/sh ./mklabel.sh "gawk" ./cvm.h >cvm_labels.h
gcc -DHAVE_CONFIG_H -I. -I. -I../include    -I../libffi/include -fno-gcse -fno-inline-functions -I../include -I../libffi/include -I. -DBUILD_PROFILE_NAME="\"full\"" -O2 -march=athlon-tbird -mtune=athlon-tbird -Wall -c `test -f 'cvm.c' || echo './'`cvm.c
cvm.c: In function `_ILCVMInterpreter':
cvm.c:317: error: unable to find a register to spill in class `GENERAL_REGS'
cvm.c:317: error: this is the insn:
(insn:HI 9126 9114 9130 433 cvm.c:77 (parallel [
            (set (reg/v:DI 2110 [ <anonymous> ])
                (ashift:DI (reg/v:DI 2110 [ <anonymous> ])
                    (subreg:QI (reg/v:SI 2106 [ shiftBy ]) 0)))
            (clobber (scratch:SI))
            (clobber (reg:CC 17 flags))
        ]) 277 {ashldi3_1} (insn_list 9104 (insn_list 9114 (nil)))
    (expr_list:REG_DEAD (reg/v:SI 2106 [ shiftBy ])
        (expr_list:REG_UNUSED (reg:CC 17 flags)
            (expr_list:REG_UNUSED (scratch:SI)
                (nil)))))
cvm.c:317: confused by earlier errors, bailing out
make[1]: * [cvm.o] Error 1
make[1]: Leaving directory `/home/marcus/src/pnet/engine'

Marcus Urban <mathpup>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-05-24 rweather StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.12