bugDotGNU Portable.NET - Bugs: bug #9804, pnet-0.6.7 (28th July) fails to...

 
 

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

bug #9804: pnet-0.6.7 (28th July) fails to compile on amd64 at thread.c

Submitted by:  -Deleted Account- <scandium>
Submitted on:  Wed 28 Jul 2004 06:46:53 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 07 Aug 2004 05:13:54 AM UTC, comment #4:

fixed in cvs

Richard Baumann <Rich333>
Project Member
Fri 06 Aug 2004 01:58:11 PM UTC, comment #3:

Changing
#if defined(CONFIG_X86_SSE2)
to
#if defined(_SSE2_)
in pnet/support/interlocked_x86.h also solved the problem for me.

Thanks again to Gopal :)

-Deleted Account- <scandium>
Sat 31 Jul 2004 09:50:08 AM UTC, comment #2:

Using -DCONFIG_X86_SSE2 does solve the problem, it compiles and runs fine then.

-Deleted Account- <scandium>
Fri 30 Jul 2004 11:27:55 AM UTC, comment #1:

make CFLAGS="-DCONFIG_X86_SSE2" should work.

x86_64 should also use "mfence" instead of "lock".

need to figure out if the ifdef in interlocked_x86.h should be something other than && defined(X86_64) .

any comments tum ?

Anonymous
Wed 28 Jul 2004 06:46:53 PM UTC, original submission:

pnet-0.6.7 as of 28th July fails to build on amd64 with the following error message:

gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../libgc/include -I../include -DCSCC_LIB_PREFIX=\"/home/scandium/install/lib\" -DCSCC_BIN_PREFIX=\"/home/scandium/install/bin\" -DCSCC_DATA_PREFIX=\"/home/scandium/install/share\" -DCSCC_HOST_TRIPLET=\"x86_64-unknown-linux-gnu\" -g -O2 -Wall -c thread.c
/tmp/ccSQa8bb.s: Assembler messages:
/tmp/ccSQa8bb.s:2479: Error: `0(%esp)' is not a valid 64 bit base/index expression
make[1]: *** [thread.o] Error 1
make[1]: Leaving directory `/home/scandium/install/pnet/support'
make: *** [all-recursive] Error 1

The problem was introduced some time after 0.6.6 because 0.6.6 + patch #3109 (that patch was added to 0.6.7 one day after the 0.6.6 release, just a typo in the 64bit related code) compiles and runs fine.

-Deleted Account- <scandium>

 

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
Sat 07 Aug 2004 05:13:54 AM UTCRich333StatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1