-
Notifications
You must be signed in to change notification settings - Fork 31
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
define stat wrappers depending on whether symbol is found #779
Conversation
@wangvsa , I'm hitting some link time errors when building on tioga due to missing symbols I'm building everything direct (no spack), which might be part of the problem. I did find that I needed to set some variables to pick up the Cray compilers instead of the system gcc: What's strange is that configure claims to find these functions, but then I hit the link errors when building some of the examples. I haven't tracked it down just yet. I did find there are some definitions for these in Also, I made a few changes to some of the wrapper code. Would you please review those changes (second commit)? |
I just tried on Tioga and got the same link issue (I also build everything directly). Adding the conditional check doesn't seem to solve the issue, since configure was able to find stat64/fstat64. Are there any other changes you made? |
No, I haven't figured it out yet, but it's useful to know that it's not just me. I had some other tests to run, so I just commented out those wrappers for now as a work around. I'm guessing it has something to do with the Cray compilers. Are you building directly or via spack? |
I'm building it directly (without spack). I also set CC=cc CXX=CC so that bootstrap and configure pick the cray compiler. |
Not sure if it's relevant or helpful, but when I'm building from source on Crusher/Frontier I have recently needed to set CC=craycc and CXX=crayCC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me
Description
Motivation and Context
How Has This Been Tested?
Types of changes
Checklist: