-
-
Notifications
You must be signed in to change notification settings - Fork 568
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
link-editor thinks ECL library contains non-pic code on *all* Solaris/OpenSolaris releases - causes problems on 64-bit #9840
Comments
This comment has been minimized.
This comment has been minimized.
Attachment: complete-log-of-OpenSolaris-86-built.txt.gz Build log on OpenSolaris, when using debugging options to show text relocations. |
comment:2
It should be noted this problem exists on every combination of Solaris/OpenSolaris system tested
However, on 32-bit builds, the text relocation issues are not actually causing any problems, so we can live with that. On 64-bit builds, it completely screws things up. Similar issues with text relocation has been observed with:
So it's only R and ECL which have this problem outstanding. Dave |
comment:3
This has ben fixed upstream, and is the result of using a GCC extension (computed gotos), which don't seem to work properly on Solaris. As yet, I am unaware what the fix is, though I've been told its been fixed. Dave |
comment:4
This problem was fixed by #10766, so can be closed as fixed in sage-4.7.alpha1 |
Upstream: Fixed upstream, in a later stable release. |
Reviewer: David Kirkby |
As noted at #9099, Maxima fails to build properly on OpenSolaris x64. The ticket then went onto discuss specific doctest failures on 32-bit Solaris n x86.
However, the reason Maxima was not working on OpenSolaris is totally unrelated and much wider. It has nothing to do with Maxima, but is almost certainly an issue with ECL.
Hence it seemed wise to open a ticket specific for this.
The problem is that the link-editor thinks the ecl shared library contains text relocations, which is why there was an error like
There's a command given on this Sun blog
http://blogs.sun.com/rie/entry/my_relocations_don_t_fit
which will show libraries with this problem.
== OpenSolaris on x64 ==
I built the latest ECL snapshot outside of Sage, and run the suggested command on the ECL library. Note, this a different version of ECL built at a later date.
then the all important:
which indicates a problem - there should be no output from that.
It's also suggested to compile with some debugging information:
A full log is attached of that.
Upstream: Fixed upstream, in a later stable release.
Component: porting: Solaris
Reviewer: David Kirkby
Issue created by migration from https://trac.sagemath.org/ticket/9840
The text was updated successfully, but these errors were encountered: