-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
32-bit build failure #221
Comments
It appears that github actions no longer support 32-bit machines; see Do you know of a way to get the cppad gitub actions to test a 32 bit machine ? |
I tried to create a container for this case using to docker library i686/ubuntu; see The version of cmake was so old that I installed cmake-3.5 using section B of But that did not help because the version of g++ is so old that C++11 support it is only experimental: Do you know of a newer 32-bit docker container I can use for testing ? |
I'm packaging CppAD for Debian, so I'm also interested in getting this resolved. @bradbell |
@barak Thanks for the suggestion. I tried the -m32 approach, but ran into a problem (on my machine); see The same approach inside a ubuntu container worked and gave similar errors to above:
|
As it turned out the -m32 flag problem was a problem with my system and has been fixed. This makes it easier to test before future commits. |
@barak I added the -m32 option to the CppAD cmake command; see -m32 on @AdrianBunk I think your bug was fixed by the change to player.hpp in |
I made the same changes as in stable/2025 using the cppad fedora spec file and the build results went from So I am confident that this has fixed the problem and will create the new release. |
The new release is now linked to the documentation for both the stable and latest versions: see Versions on @AdrianBunk Please close this issue if the new release works for you. |
@barak It appears from the link below that you were having the same problem: Feel free to reopen this issue and leave a comment if the following release does not fix it for you |
https://buildd.debian.org/status/fetch.php?pkg=cppad&arch=armhf&ver=2025.00.00.0-1&stamp=1736795682&raw=0
size_t
isunsigned int
on 32-bit architectures.@bradbell I suspect this is caused by commit e52559d.
The text was updated successfully, but these errors were encountered: