Skip to content
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

openindiana blead build failure #15097

Closed
p5pRT opened this issue Dec 18, 2015 · 1 comment
Closed

openindiana blead build failure #15097

p5pRT opened this issue Dec 18, 2015 · 1 comment
Labels

Comments

@p5pRT
Copy link
Collaborator

@p5pRT p5pRT commented Dec 18, 2015

Migrated from rt.perl.org#126958 (status was 'resolved')

Searchable as RT126958$

@p5pRT
Copy link
Collaborator Author

@p5pRT p5pRT commented Dec 18, 2015

From @jhi

...
./perl -Ilib -f pod/buildtoc -q
Can't load 'lib/auto/re/re.so' for module re​: ld.so.1​: perl​: fatal​: relocation error​: file lib/auto/re/re.so​: symbol PL_localizing​: referenced symbol not found at lib/XSLoader.pm line 71.
at lib/re.pm line 88.

Already resolved with 68bcb86, creating this ticket for reference. Pasting 68bcb86 commit message here​:

  Explicitly build the shared Perl library in Solaris and variants.
 
  Symptom of failure​: in openindiana "make" fails​:
 
  ...
  ./perl -Ilib -f pod/buildtoc -q
  Can't load 'lib/auto/re/re.so' for module re​: ld.so.1​: perl​: fatal​:
  relocation error​: file lib/auto/re/re.so​: symbol PL_localizing​:
  referenced symbol not found at lib/XSLoader.pm line 71.
  at lib/re.pm line 88.
  ...
 
  Running the above command with 'env LD_DEBUG=files ...' shows that
  there are many other symbol lookup failures, the one above is just
  the last one before bailing.
 
  If configured explicitly with -Duseshrplib, openindiana build succeeds.
 
  Curiously, while the hints/solaris_2.sh (which openindiana uses) does
  not specify useshrplib, Oracle/Sun builds/has been building their perl
  with useshrplib since Perl 5.6.1 or thereabouts (source​: Alan Burlison).
  Using shared libraries is strongly recommended in Solaris in general
  (source​: the same).
 
  Tested in​:
  - Solaris 5.10/i386 with solstudio 12.2 and gcc 4.8.0
  - Solaris 5.10/sparc with solarisstudio 12.3 and gcc 4.9.2
  - OpenIndiana 5.11/i386 with solarisstudio 12.3 and gcc 4.5.0

@p5pRT p5pRT closed this Dec 18, 2015
@p5pRT p5pRT added the Severity Low label Oct 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.