Compilation fails with gcc 4
Brought to you by:
robennals
I have the following error compiling lockfree-lib on an
Intel machine, with gcc 4.0.1-5 from binary package on
Fedora Core 4 Linux system:
$ make
gcc -O3 -DINTEL -fomit-frame-pointer -march=i686 -Wall
-DNDEBUG -DFAT_MTX -c -o skip_lock_perlist.o skip_lock.c
In file included from skip_lock.c:62:
portable_defns.h: In function 'strong_ll':
portable_defns.h:119: error: memory input 3 is not
directly addressable
portable_defns.h: In function 'strong_sc':
portable_defns.h:148: error: memory input 3 is not
directly addressable
make: *** [skip_lock_perlist.o] Error 1
$
I hope it helps.
Regards,
Duilio Protti.
Logged In: YES
user_id=1651837
Originator: NO
I added patch 1667233 to address this on OSX Intel platforms.