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

Enable test coverage for armv8-linux-musleabihf #3312

Merged
merged 2 commits into from Sep 25, 2019

Conversation

andrewrk
Copy link
Member

@andrewrk andrewrk commented Sep 25, 2019

  • this branch includes a patch that nsz from #musl IRC came up with, planned to be merged into musl master
  • fix libc prototypes of offsets to have correct integer sizes and
    signedness. This gets all behavior tests to pass for
    armv8-linux-musleabihf
  • fix linux mmap syscall to have correct integer size and signedness
    for offset
  • disable failing armv8-linux-musleabihf std lib tests. See std lib tests failing on arm 32-bit #3289. I
    suspect compiler-rt issue. Note these tests fail with this target
    triple regardless of whether musl is actually linked (-lc). After these tests are disabled, the rest of std lib passes.

From: Szabolcs Nagy <szabolcs.nagy@arm.com>

armv8 removed the coprocessor instructions other than cp14, so
on an armv8 system the related hwcaps should never be set.

new llvm complains about the use of coprocessor instructions in
armv8-a mode (even though they are never executed at runtime),
so ifdef them out when musl is built for armv8.

<dalias> i think the patch looks ok
 * fix libc prototypes of offsets to have correct integer sizes and
   signedness. This gets all behavior tests to pass for
   armv8-linux-musleabihf
 * fix linux mmap syscall to have correct integer size and signedness
   for offset
 * disable failing armv8-linux-musleabihf std lib tests. See 3289. I
   suspect compiler-rt issue. Note these tests fail with this target
   triple regardless of whether musl is actually linked (-lc).
@andrewrk andrewrk merged commit f112e8a into master Sep 25, 2019
@andrewrk andrewrk deleted the armv8-linux-musleabihf branch September 25, 2019 21:04
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

Successfully merging this pull request may close these issues.

None yet

1 participant