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

Submitter:  -Deleted Account- <scandium>
Submitted:  Wed 28 Jul 2004 06:46:53 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Discussion

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

fixed in cvs

Richard Baumann <Rich333>
Group 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>

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

History

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-08-07 Rich333 StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.16-a7ba.
Corresponding source code