SUMMARY: bad ELF flags value: [EF_SPARC_32PLUS]

From: Jim Seymour <jseymour_at_linxnet.com>
Date: Thu Feb 15 2007 - 15:48:13 EST
The problem, in short:
> 
> System:
>     Sun Sparc 20, model 712 (sun4m)
>     Solaris 8, 117350-11
> 
[snip]
> 
> Trying to run a (shared) old version of Mozilla or the newly-installed
> (shared) version of acroread, I get
> 
>     ld.so.1: <progname>: fatal: <path_to_some.so>:
> 	bad ELF flags value: [EF_SPARC_32PLUS]
[snip]

> From: Casper.Dik@Sun.COM
[snip]
> 
> This tells you that the specific library was compiled for the
> "SPARCV8+" target; it means that it can use 64 bit registers
> and other instructions specific to SPARCv9 insofar possible in
> 32 bit mode.
> 
> These binaries will not work on a Sun4m system; only on UltraSPARC 1
> and later. (sun4u)

I was also asked if the executable and library were 32-bit or 64-bit.
Well, they're 32-bit

$ file /opt/Adobe/Acrobat7.0/Reader/sparcsolaris/bin/acroread      
/opt/Adobe/Acrobat7.0/Reader/sparcsolaris/bin/acroread: ELF 32-bit MSB
  executable SPARC Version 1, dynamically linked, not stripped
$ file /opt/Adobe/Acrobat7.0/Reader/sparcsolaris/lib/libCoolType.so
/opt/Adobe/Acrobat7.0/Reader/sparcsolaris/lib/libCoolType.so:   ELF 32-bit
  MSB dynamic lib SPARC32PLUS Version 1, V8+ Required, dynamically linked, 
  stripped

But some things (a lib, in this case) were compiled with v8 support.
(See Casper's comments, above.)

Meanwhile, a colleague, who does have the requisite SunSolve account,
ran the same search term I did and found the same thing Casper told
me.

I'd like the thank Casper Dik, Darren Dunham and "francisco" for taking
the time to address this.

Jim
-- 
Note: My mail server employs *very* aggressive anti-spam
filtering.  If you reply to this email and your email is
rejected, please accept my apologies and let me know via my
web form at <http://jimsun.linxnet.com/scform.php>.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Feb 15 15:49:08 2007

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:04 EST