Comments (5)
Hey @kirbyfan64 ,
That's great to know, and IIRC the __int128
code is where that statement originated. Since I wrote that, I reworked the code which used it (the file "UUID" code for detecting symlink cycles), so that's likely why it now works again under x86-32. I'll remove the __int128
stuff in the repo.
I'm a bit wary of removing that line from the README.md
though. Currently I'm doing the majority of the development on Fedora 25, and I don't have a test/CI setup to regularly check if it even compiles for 32-bit. ATM I have Travis CI, but that's only Linux/x86-64 and 64-bit OS X, and I end up doing *BSD tests (again all 64-bit) manually. I occasionally send a tarball to the OpenSUSE Build System, but for whatever reason (e.g. requires valid packaging for one thing) I find that pretty cumbersome. If you or anyone else have any ideas on how I can easily expand the number of platforms I test against, please let me know.
from ucg.
Couldn't you just pass -m32
to the cflags? That's what I do for testing ReJit.
from ucg.
Couldn't you just pass -m32 to the cflags? That's what I do for testing ReJit.
Hmm, apparently I can't:
$ ../configure CXXFLAGS=-m32
[...]
## ------------------------------ ##
## Checking for library functions ##
## ------------------------------ ##
checking for working strnlen... no
checking whether C++ library supports std::to_string... no
checking whether C++ library supports std::make_unique... no
checking for sched_setaffinity... no
checking for get_current_dir_name... no
checking for openat... no
checking for fstatat... no
checking for aligned_alloc... no
checking for posix_memalign... no
configure: error: cannot find an aligned memory allocator.
I'm probably missing chunks of the 32-bit dev environment.
from ucg.
...yep, installing all the proper devel
packages seems to be the trick. ;-) I'll see if Travis supports -m32
.
from ucg.
It doesn't, but I was able to build 32-bit both locally and via OBS, with "make check" passing on both. There is a speed hit going to 32-bit, but in most cases not as much as I was suspecting (one benchmark takes way longer though for some reason). Also, make dist
was broken, so I fixed that, and updated the README.md to indicate that I'm at least occasionally checking 32-bit functionality.
So for the moment anyway, 32-bit ucg
is back in action! Thanks for the report @kirbyfan64.
from ucg.
Related Issues (20)
- Command-line-options section of website looks...crappy HOT 5
- Compile error with clang++ 4.0.0 vs. DirTree HOT 3
- UCG may refuse to open read-only file
- Update the performance benchmark results HOT 2
- 0.3.3 does not compile
- [bug] HEAD does not compile in ARM
- HEAD does not containg configure script HOT 1
- Update ucg to >= C++20
- Convert build system from Autoconf to CMake
- Migrate off travis-ci.org for CI builds/testing HOT 4
- DoubleCheckedLock.hpp isn't including the correct headers, breaks build. HOT 1
- Update to optionparser-1.7
- More constexpr in ArgParse.
- Revisit directory traversal
- Fix std::is_literal_type warning
- Consider removing PCRE1 support HOT 1
- Change std::string -> std::string_view where applicable.
- Queue of std::shared_ptr to queue of std::unique_ptr?
- Update README.md
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 ucg.