[SERVER-9890] Solaris/SmartOS client program "authTest" fails with "relocation error: R_AMD64_PC32" Created: 10/Jun/13 Updated: 11/Jul/16 Resolved: 17/Jun/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | 2.5.1 |
| Fix Version/s: | 2.4.5, 2.5.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tad Marshall | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
SmartOS Buildbot slave |
||
| Issue Links: |
|
||||||||
| Operating System: | Solaris | ||||||||
| Participants: | |||||||||
| Description |
This could be related to recent changes for creating a shared client library, or it may be related to the recent addition of blockCheckSupported features to Solaris. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 17/Jun/13 ] | |||||||||||||||
|
The relevant tests passed on the Solaris buildbots on both master and v2.4 over the weekend. | |||||||||||||||
| Comment by auto [ 14/Jun/13 ] | |||||||||||||||
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}Message: | |||||||||||||||
| Comment by auto [ 13/Jun/13 ] | |||||||||||||||
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}Message: | |||||||||||||||
| Comment by Andrew Morrow (Inactive) [ 10/Jun/13 ] | |||||||||||||||
|
The problem is that on solaris, SCons wants to build shared libraries with the -G flag, which is the shared library for the Solaris linker, not the binutils linker. This is probably due to SCons picking up the sunlink tool in preference to the gnulink tool. We will need to educate SCons that we always use GCC on 'nix. Until we do this work, I will ask Ernie to disable the --sharedclient flag on Solaris/SmartOS. | |||||||||||||||
| Comment by Tad Marshall [ 10/Jun/13 ] | |||||||||||||||
|
There is a nice explanation of what the error means at https://groups.google.com/forum/?fromgroups#!topic/comp.unix.programmer/-IVBzZ2kwx0 :
|