Skip to content
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

x86_64 build failing #157

Closed
tuliom opened this issue Jan 29, 2021 · 0 comments
Closed

x86_64 build failing #157

tuliom opened this issue Jan 29, 2021 · 0 comments
Labels

Comments

@tuliom
Copy link
Member

tuliom commented Jan 29, 2021

A recent libdfp build for Fedora failed:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1681835

I think it was the first build with gcc 11, more specifically: gcc-11.0.0-0.17.fc34.

In file included from /builddir/build/BUILD/libdfp-1.0.15/libbid/bid_decimal_globals.c:24:
/builddir/build/BUILD/libdfp-1.0.15/libbid/bid_internal.h:2487:6: error: size of array element is not a multiple of its alignment
 2487 |      extern UINT192 midpoint192[];
      |      ^~~~~~
/builddir/build/BUILD/libdfp-1.0.15/libbid/bid_internal.h:2487:6: error: size of array element is not a multiple of its alignment
/builddir/build/BUILD/libdfp-1.0.15/libbid/bid_internal.h:2506:6: error: size of array element is not a multiple of its alignment
 2506 |      extern UINT192 ten2mk192truncM[];
      |      ^~~~~~
/builddir/build/BUILD/libdfp-1.0.15/libbid/bid_internal.h:2506:6: error: size of array element is not a multiple of its alignment
/builddir/build/BUILD/libdfp-1.0.15/libbid/bid_internal.h:2511:6: error: size of array element is not a multiple of its alignment
 2511 |      extern UINT192 ten2mk192M[];
      |      ^~~~~~
/builddir/build/BUILD/libdfp-1.0.15/libbid/bid_internal.h:2511:6: error: size of array element is not a multiple of its alignment
/builddir/build/BUILD/libdfp-1.0.15/libbid/bid_internal.h:2539:6: error: size of array element is not a multiple of its alignment
 2539 |      extern UINT192 Kx192[];
      |      ^~~~~~
/builddir/build/BUILD/libdfp-1.0.15/libbid/bid_internal.h:2539:6: error: size of array element is not a multiple of its alignment
/builddir/build/BUILD/libdfp-1.0.15/libbid/bid_internal.h:2543:6: error: size of array element is not a multiple of its alignment
 2543 |      extern UINT192 ten2mxtrunc192[];
      |      ^~~~~~
/builddir/build/BUILD/libdfp-1.0.15/libbid/bid_internal.h:2543:6: error: size of array element is not a multiple of its alignment
@tuliom tuliom added the bug label Jan 29, 2021
pmur pushed a commit to pmur/libdfp that referenced this issue Jan 29, 2021
This brings in a fix for libdfp#157, an alignment
issue with newer toolchains, and some minor
cleanup.  See Changelog for details.
pmur pushed a commit to pmur/libdfp that referenced this issue Jan 29, 2021
This brings in a fix for libdfp#157, an alignment
issue with newer toolchains, and some minor
cleanup.  See Changelog for details.

Signed-off-by: Paul E. Murphy <murphyp@linux.ibm.com>
pmur pushed a commit that referenced this issue Jan 29, 2021
This brings in a fix for #157, an alignment
issue with newer toolchains, and some minor
cleanup.  See Changelog for details.

Signed-off-by: Paul E. Murphy <murphyp@linux.ibm.com>
@pmur pmur closed this as completed Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants