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

Submitted by:  Marcus Urban <mathpup>
Submitted on:  Sat 01 May 2004 08:52:46 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned 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>
Project 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>
Project 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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 24 May 2004 09:16:06 AM UTCrweatherStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1