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

Random compilation failures, _vgPlain_get_thread_out_of_syscall #26

Closed
real-or-random opened this issue Jan 14, 2021 · 3 comments
Closed
Labels
10.15 bug Something isn't working compilation question Further information is requested

Comments

@real-or-random
Copy link

I sometimes see this on Catalina (on Cirrus CI):

==> Installing louisbrunner/valgrind/valgrind --HEAD
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/valgrind/HEAD-adaae87 --enable-only64bit --build=amd64-darwin
==> make
==> make install
Last 15 lines from /Users/anka/Library/Logs/Homebrew/valgrind/04.make:
ld: warning: object file (../VEX/libvex-amd64-darwin.a(libvex_amd64_darwin_a-ir_match.o)) was built for newer macOS version (10.9) than being linked (10.6)
ld: warning: object file (../coregrind/libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-mig_strncpy.o)) was built for newer macOS version (10.9) than being linked (10.6)
ld: warning: object file (../coregrind/libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-tinfl.o)) was built for newer macOS version (10.9) than being linked (10.6)
ld: warning: object file (../coregrind/libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-sched-lock-generic.o)) was built for newer macOS version (10.9) than being linked (10.6)
ld: warning: object file (../coregrind/libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-macho.o)) was built for newer macOS version (10.9) than being linked (10.6)
ld: warning: object file (../coregrind/libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-script.o)) was built for newer macOS version (10.9) than being linked (10.6)
ld: warning: object file (../coregrind/libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-sema.o)) was built for newer macOS version (10.9) than being linked (10.6)
Undefined symbols for architecture x86_64:
  "_thread_abort", referenced from:
      _vgPlain_get_thread_out_of_syscall in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-scheduler.o)
ld: symbol(s) not found for architecture x86_64

See full log here: https://cirrus-ci.com/task/6123684844797952?command=brew#L73

This happens only rarely (maybe once in 30 runs). Restarting the Cirrus CI task then usually just helps, so there's some non-deterministic thing going on.

I can't say for sure that this is unrelated to the CI infrastructure but I believe it is: The VM image should be exactly the same in each run, and this really does not look like an issue caused by externai resources (e.g., network failure).

@LouisBrunner LouisBrunner added bug Something isn't working question Further information is requested labels Jan 16, 2021
@LouisBrunner
Copy link
Owner

Thanks for your report!

I have no clue where this could be coming from. I use GitHub actions to build and test valgrind, and while the tests are far from deterministic, I have never seen such a build failure.

If you can make sure there are absolutely no changes between two builds (even order of the step if you are doing parallel builds, etc), I can dig further but it looks fairly normal/straightforward to me (scheduler.c).

@real-or-random
Copy link
Author

Ok, thanks for the quick reply. I don't think it's worth the time for me to dig in this further currently but I'll watch out for more of these failures.

@LouisBrunner
Copy link
Owner

Closing this due to age. Please reopen if it happens again and/or if you have a reproducible method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.15 bug Something isn't working compilation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants