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
ATLAS libs fail to build on Open Solaris 64 bit due to wrong LDFLAG -melf_x86_64 #8039
Comments
comment:2
What has been changed? I can't find the changed file? You should not change the ATLAS source code, but create a patch, which gets applied with spkg-install. |
comment:3
PS, you should also report this failure upstream. |
comment:4
Replying to @sagetrac-drkirkby:
See the patch. Jaap |
comment:5
This will not work for me, as I believe there is a syntax error in your script. This might be an example of things that work on one shell do not on another.
This is line 94 of the script, which is causing the problem.
I believe there should be a space after the '=' sign. I'd make a couple of other points tests in general, I've gleaned from studying the shell more, and from things from comp.unix.shell.
Hence the following is the safest test sort of test, and does not contain any unnecessary quotes. Quoting xNO will not hurt, but it is unnecessary as you know xNO will have no spaces, but you don't know that about FOOBAR.
I leave you to convert it to what is needed here. Otherwise I become an author and can't review it! I would also
Better would be
or perhaps uses Make.inc.$$, which will create a file with the PID appended. Also, the description is inaccurate, as it says "As a workaround I changed -melf_x86_64 in -64 in Make.inc". I think you mean you changed it 'too -64. So with
then I think this should be ok. But now, there is a syntax error so it will not build at all for me. Dave |
comment:6
Attachment: atlas-3.8.3.p11.patch.gz Mostly done as you wrote above. Reported upstream: Jaap |
Upstream: Workaround found; Bug reported upstream. |
comment:7
I'm a bit worried about this one:
Dave |
comment:8
It also fails on my machine
|
Reviewer: David Kirkby |
comment:9
This is on your machine too:
What's wrong? Jaap |
comment:10
Dave, Did you try again? Still no reaction from upstream. Jaap |
comment:11
Given
I am going to give this is a positive review. |
comment:12
Sage 4.3.2 includes |
Work Issues: Increase patch level |
comment:13
Replying to @qed777:
Maybe now, but not on the moment I wrote the patch! There is a real danger that tickets with positive review are not merged for a long time and bitrot. Jaap |
comment:14
I think I've merged all the other Solaris-related tickets at {32} into a candidate 4.3.3.alpha0. |
comment:15
Replying to @qed777:
Look at 'porting' to see some more! Jaap |
comment:16
Yes, I've already those. |
Changed work issues from Increase patch level to Rebase vs. #7827 |
Attachment: atlas-3.8.3.p12.patch.gz Updated patch |
This comment has been minimized.
This comment has been minimized.
comment:18
Rebased and increased patch level. New spkg: http://boxen.math.washington.edu/home/jsp/ports/atlas-3.8.3.p12.spkg
Jaap |
Changed work issues from Rebase vs. #7827 to none |
comment:19
That looks good. It would be nice to find out exactly what -melf_x86_64 is supposed to do, but on a practical level, this allows ATLAS to build on OpenSolaris. Some more changees may be needed once Sage builds and we can run the doctests. But at least this builds, only effects Solaris and allows progress to be made. |
Merged: sage-4.3.4.alpha0 |
comment:20
Merged atlas-3.8.3.p12.spkg in the standard spkg repository. |
in src/CONFIG/src/SpewMakeInc.c LDFLAGS are set for inclusion in Make.inc. This file is included in all Makefiles.
As a workaround I changed -melf_x86_64 in -64 in Make.inc in the directory where the libraries are built.
This is SunOS with SAGE64="yes" only.
An spkg can be found here:
http://boxen.math.washington.edu/home/jsp/ports/atlas-3.8.3.p12.spkg
Upstream: Workaround found; Bug reported upstream.
Component: porting
Keywords: building
Author: Jaap Spies
Reviewer: David Kirkby
Merged: sage-4.3.4.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8039
The text was updated successfully, but these errors were encountered: