-
Notifications
You must be signed in to change notification settings - Fork 5
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
Multlib support in 3.5 #74
Comments
Steven, when we build the runtime, we iterate through various options and build the libraries for each of them - packed/struct/../ Would it be possible to detect multilib and build m32 libraries the same way? We just add 'm32' in their names. |
It should be possible. Do we want to have it before or after the other library options? Also, do we want upc-s-l-m32.a or just upc-s-l-32.a? |
Or we could be more explicit and use i686 v x86_64. |
libc++ looks like it's designed to use separate directories. i.e. lib32/ lib64/ |
32 is fine, gcc does the same. On 3/10/15 1:22 PM, swatanabe wrote:
|
Maybe keep current directories as is and create '32' directory with the On 3/10/15 1:24 PM, swatanabe wrote:
|
FYI: If you look at MIPS you will find two 32-bit ABIs ("32" and "n32"), and one "64" ABI. There is also a lesser-known |
Last night builds on Mnt Lion - MacOSx failed.
These are the 32-bit builds on 64 bit machine. I think that '-m32' is passed in as an option for the C/C++ compiler when compiler was built. I rebuilt my centos 32 bit compiler and noticed that upc CRT files are under '32' directories. I don't think they should be there as this is a 32 bit machine. |
Nightly 32 bit tester is being built with this comand:
|
AMDG On 03/16/2015 10:00 AM, Nenad Vukicevic wrote:
How important is this? It's much easier In Christ, |
AMDG On 03/16/2015 12:26 PM, Nenad Vukicevic wrote:
This is no longer needed. The link script should work now.
I forgot to handle this option when
In Christ, |
Ok. To build UPC library with both 64 and 32 bits I have to do something like this:
If I do just 32 then I don't get 64 bit default libraries and only -m32 option works. I wonder if it is possible to determine the need for multilib from the info gathered from '-print-multi-lib' compiler option. If it supports 32 bits then we build 32bits libraries. |
As of 3.5 multilib support for clang was improved (at least, printing of multilib options is). Now, the print something like this:
Almost a match for gcc that prints something like this:
3.4 version of the compiler reported only m64 option, even though -m32 was functional.
Clang UPC runtime does not support 32 bit compilation on 64 bit machines.
Some of our test suites traverse the multilib support and try to apply appropriate switches. And they fail for -m32 option as there are no appropriate runtime libraries.
There are few options:
The text was updated successfully, but these errors were encountered: