Comments (5)
just remove -lrt in test/Makefile
Original comment by [email protected]
on 8 Dec 2013 at 10:45
from ulib.
[deleted comment]
from ulib.
I removed it, but then ->
-e GEN atomic.test
In file included from atomic.cpp:3:
../include/ulib/os_atomic_intel64.h:125:1: error: ambiguous instructions
require an explicit suffix (could
be 'btsw', 'btsl', or 'btsq')
DEFINE_ATOMICS(64, int64_t, "q")
^
../include/ulib/os_atomic_intel64.h:73:31: note: expanded from macro
'DEFINE_ATOMICS'
__asm__ __volatile__("lock\n\tbts %2,%1\n\t" \
^
<inline asm>:2:2: note: instantiated into assembly here
bts $0,-8(%rbp)
^
In file included from atomic.cpp:3:
../include/ulib/os_atomic_intel64.h:125:1: error: ambiguous instructions
require an explicit suffix (could
be 'btsw', 'btsl', or 'btsq')
DEFINE_ATOMICS(64, int64_t, "q")
^
../include/ulib/os_atomic_intel64.h:73:31: note: expanded from macro
'DEFINE_ATOMICS'
__asm__ __volatile__("lock\n\tbts %2,%1\n\t" \
^
<inline asm>:2:2: note: instantiated into assembly here
bts $1,-8(%rbp)
^
2 errors generated.
make[1]: *** [atomic.test] Error 1
make: *** [all] Error 2
Original comment by [email protected]
on 23 Dec 2013 at 9:47
from ulib.
[deleted comment]
from ulib.
Screw what I previously wrote, I forked it on Github. It's on a branch called
"osx" here: https://github.com/BrianBarker/ULib/tree/osx
Original comment by [email protected]
on 10 Mar 2014 at 4:27
from ulib.
Related Issues (10)
- add gtest.h HOT 4
- ulib on OSX HOT 2
- AES_cbc_decrypt seems not working when in/out are the same (overlap) HOT 1
- aligned_hash HOT 3
- error during the test execution HOT 2
- os_spinlock.h does not compile HOT 5
- 3 tests failed HOT 10
- open_hash_map's operation execution time is too long sometimes HOT 1
- Error on make in ubuntu 13.04 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulib.