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

static_assert on m68k-buildroot-linux-uclibc #1901

Closed
bkuhls opened this issue Aug 12, 2019 · 2 comments
Closed

static_assert on m68k-buildroot-linux-uclibc #1901

bkuhls opened this issue Aug 12, 2019 · 2 comments

Comments

@bkuhls
Copy link

bkuhls commented Aug 12, 2019

Building harfbuzz 2.5.3 fails:

hb-pool.hh: In instantiation of ‘struct hb_pool_t<hb_serialize_context_t::object_t>’:
hb-serialize.hh:460:23:   required from here
hb-pool.hh:80:3: error: static assertion failed
   static_assert (alignof (T) % sizeof (void *) == 0, "");

using this toolchain

$ /home/buildroot/br4/output/host/bin/m68k-linux-g++ -v
Target: m68k-buildroot-linux-uclibc
gcc version 7.4.0 (Buildroot 2019.05.1) 

The error was caught by the buildroot autobuilders:
http://autobuild.buildroot.net/?reason=harfbuzz-2.5.3
http://autobuild.buildroot.net/results/121/121891c54f1f6ba3661bacdeb054aab56129d3e5/build-end.log

@behdad
Copy link
Member

behdad commented Aug 13, 2019

I pushed a change. Please test and confirm if it fixes. Thanks.

@behdad behdad closed this as completed in aade9b7 Aug 13, 2019
@bkuhls
Copy link
Author

bkuhls commented Aug 14, 2019

Bug is solved, thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants