-
Notifications
You must be signed in to change notification settings - Fork 1
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
Gtest(?) Linking issue #32
Comments
Well, I checked that hypothesis I think. The build scripts are identical now but it still doesn't work. Can't figure out what's going on. The error is in linking at ln2026. It's an unresolved memcpy, which makes no sense to me. https://travis-ci.org/theochem/qcgrids/jobs/302864551. Moreover, conda-build works locally on my machine so I can't figure out what's going on. The build flags are different though somehow. Travis doesn't link against /lib? This is the offending line (with some stuff cleaned up).
Travis:
|
I'll look into this soon. A few other urgent things need to be taken care of... Sorry. |
I figured it out. When you use compiler(cxx) in Travis, it doesn't provide
the glibc library. You've got to provide compiler(c) as well. The best way
to prevent this kind of mistake in the future I think is to add an ldd/Mac
equivalent call in the test section.
On Thu, Nov 16, 2017 at 2:35 AM Toon Verstraelen ***@***.***> wrote:
I'll look into this soon. A few other urgent things need to be taken care
of... Sorry.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#32 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA_-NWXEhugZ_nQzK6Ijp60HGWpA1kgyks5s2-XVgaJpZM4QeihM>
.
--
Matt
…Sent from my phone
|
Another linking problem. At least it's on linux this time...
I don't know what's going on here. I think there's undefined symbols in some of these programs (although the error suggests there's some libraries compiled with debug symbols, there aren't. I checked with readelf).
The error is at ln 1621-1649. https://travis-ci.org/theochem/qcgrids/jobs/302337015
I'm not sure if we're getting this issue because we're using gtest in conda as opposed to gtest from the github repo. Cellcutoff works fine (and it uses gtest from github). Another possibility is that the gtest package in conda is borked, but that's somewhat unlikely. I did take a look at the meta.yml from the package though, and it's always using gcc/g++, and the versions aren't specified. There's a possibility that we're running into issues because anaconda gtest is linked with an old version of libstdc++. Anaconda was supposed to update their builds, but I guess not all of them switched over (Python did already, which was why we had to do all these rebuilds in the first place).
The text was updated successfully, but these errors were encountered: