dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bugs #8751] Pnet does not compile with GCC 3.4


From: Norbert Bollow
Subject: [Pnet-developers] [bugs #8751] Pnet does not compile with GCC 3.4
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040501

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

/**************************************************************************/
[bugs #8751] Latest Modifications:

Changes by: 
                Norbert Bollow <address@hidden>
'Date: 
                Fri 05/14/04 at 17:23 (Europe/Zurich)

------------------ Additional Follow-up Comments ----------------------------
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






/**************************************************************************/
[bugs #8751] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8751>
Project: DotGNU Portable.NET
Submitted by: Marcus Urban
On: Sat 05/01/04 at 08:52

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


Summary:  Pnet does not compile with GCC 3.4

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'


Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 05/14/04 at 17:23         By: nb
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

-------------------------------------------------------
Date: Sat 05/01/04 at 09:22         By: mathpup
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'


-------------------------------------------------------
Date: Sat 05/01/04 at 09:00         By: t3rmin4t0r
This is a GCC optimiser issue ... and not a Pnet problem.












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8751>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]