Git Product home page Git Product logo

Comments (5)

gvansickle avatar gvansickle commented on September 22, 2024

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.

refi64 avatar refi64 commented on September 22, 2024

Couldn't you just pass -m32 to the cflags? That's what I do for testing ReJit.

from ucg.

gvansickle avatar gvansickle commented on September 22, 2024

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.

gvansickle avatar gvansickle commented on September 22, 2024

...yep, installing all the proper devel packages seems to be the trick. ;-) I'll see if Travis supports -m32.

from ucg.

gvansickle avatar gvansickle commented on September 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.