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

NetBSD: reference to compatibility clock_gettime() #82

Open
Bodigrim opened this issue Dec 9, 2022 · 0 comments
Open

NetBSD: reference to compatibility clock_gettime() #82

Bodigrim opened this issue Dec 9, 2022 · 0 comments

Comments

@Bodigrim
Copy link

Bodigrim commented Dec 9, 2022

NetBSD build compains that

ld: /tmp/.cabal/store/ghc-9.2.1/clock-0.8.3-4b48c3edfab7ad2b3252312f4cfd030ae5ed43f1376ac45c6857cce63715ddc8/lib/libHSclock-0.8.3-4b48c3edfab7ad2b3252312f4cfd030ae5ed43f1376ac45c6857cce63715ddc8.a(Clock.o): in function `clockzm0zi8zi3zm4b48c3edfab7ad2b3252312f4cfd030ae5ed43f1376ac45c6857cce63715ddc8_SystemziClock_getTimezuloc_info':
(.text+0x161): warning: warning: reference to compatibility clock_gettime(); include <time.h> to generate correct reference
ld: /tmp/.cabal/store/ghc-9.2.1/clock-0.8.3-4b48c3edfab7ad2b3252312f4cfd030ae5ed43f1376ac45c6857cce63715ddc8/lib/libHSclock-0.8.3-4b48c3edfab7ad2b3252312f4cfd030ae5ed43f1376ac45c6857cce63715ddc8.a(Clock.o): in function `clockzm0zi8zi3zm4b48c3edfab7ad2b3252312f4cfd030ae5ed43f1376ac45c6857cce63715ddc8_SystemziClock_getReszuloc_info':
(.text+0x3b9): warning: warning: reference to compatibility clock_getres(); include <time.h> to generate correct reference

Something is wrong indeed, because tasty (which uses clock under the hood) reports nonsensical durations of tests:

      t_head:                                     OK (2038468934121816000.00s)
        +++ OK, passed 100 tests.
      tl_head:                                    OK (7960522510754120000.00s)
        +++ OK, passed 100 tests.

Full log: https://cirrus-ci.com/task/5406405847416832?logs=main#L178

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

No branches or pull requests

2 participants